![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
|
Math problem
Well im trying to implement a math formula, the difficult part is understanding it.
I would like to know why: 1000 / (pi ( 500 / pi )^(2/3) ) = 2( 500/pi)^(1/3) i want to know why it equals = 2(500/pi)^(1/3) if anyone can explain this i'd greatly appreciate it. To all the cynics: This is not homework as many of you might be thinking! (i've read alot of posts) I just want to know how it works, thats all. I just want an explanation, not the answer. |
|
|
|
|
|
#2 |
|
Programmer
|
ah,this is realy a simple math problem:
(1) (500/pi)^(2/3)=(500^(2/3))*pi^(-2/3) (2)pi*(500/pi)^(2/3)=pi*(500^(2/3))*pi^(-2/3)=(500^(2/3))*pi^(1/3) (3)1000 / (pi ( 500 / pi )^(2/3) )=(2*500^(1))/((500^(2/3))*pi^(1/3))=2*(500^(1-2/3))*pi^(0-1/3) =2*(500^(1/3))*(pi^(-1/3))=2*(500/pi)^(1/3)=2( 500/pi)^(1/3) if you write it down on a paper and deduce it ,you will get the result.; -) |
|
|
|
|
|
#3 | |
|
Hobbyist Programmer
Join Date: Oct 2005
Location: Melbourne, Australia
Posts: 126
Rep Power: 4
![]() |
Quote:
I still don't get it. :p
__________________
it's ironic considerate rarity patron of love higher knowledge engulfs me... |
|
|
|
|
|
|
#4 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 6
![]() |
yeah, in 2 or three steps i got it down to 1000=1000 which satisfied me.
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
|
|
#5 |
|
Programmer
|
just use these rules:
A^(x)*A^(y)=A^(x+y) A^(x)=(1/A)^(-x) A^(x)/A^(y)=A^(x-y) (A*B)^(x)=A^(x)*B^(x) (A/B)^(x)=A^(x)/B^(x) use these foundamental rules,you'll get the result. |
|
|
|
|
|
#6 | |
|
Professional Programmer
|
Quote:
EDIT: Your second post helps ![]()
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;} |
|
|
|
|
|
|
#7 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 6
![]() |
we start with 1000/(pi(500/pi)^2/3)=s(500/pi)^1/3
multiply both sides by the denominator of the left expression and we get: 1000=2pi(500/pi) the pi's cancel and we get: 1000=2(500) which is 1000=1000 which is true.
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
|
|
#8 | |
|
Hobbyist Programmer
Join Date: Oct 2005
Location: Melbourne, Australia
Posts: 126
Rep Power: 4
![]() |
Quote:
__________________
it's ironic considerate rarity patron of love higher knowledge engulfs me... |
|
|
|
|
|
|
#9 | |
|
Professional Programmer
|
Quote:
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;} |
|
|
|
|
|
|
#10 |
|
Newbie
|
thaks alot for clearing this math problem up, i really apprieciate it
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|