Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
y root of x
« previous
next »
Print
Pages: [
1
]
Author
Topic: y root of x (Read 682 times)
Electrk
May 03, 2012, 10:19:16 PM
How would you do y root of x?
Like square root but any number instead of 2
Ad Bot
Advertisement
Treynolds416
May 03, 2012, 10:30:28 PM
mPow(%var,0.5) is square root
mPow(%var,1/3) is cube root
etc
roots are actually just exponents
Edit for more clarity:
mPow(4,0.5) = 2
mPow(8,1/3) = 2
mPow(16,0.25) = 2
mPow(32,0.2) = 2
«
Last Edit: May 03, 2012, 10:33:32 PM by Treynolds416
»
Electrk
May 03, 2012, 10:35:36 PM
thanks
elm
May 03, 2012, 11:44:42 PM
mSqrt(int);
????
Ipquarx
May 03, 2012, 11:49:32 PM
mPow(%x, 1/%n);
Gets the nth root of x,
because in terms of exponents,
x^(b/n) is the nth root of x, to the power of b.
«
Last Edit: May 03, 2012, 11:51:46 PM by Ipquarx
»
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
y root of x