You can use:
Math.Pow(14,(1/33)) to get the result of 14^{1/33). There are also other math functions such as Math.Abs(..), Math.Sqrt(..) functions (methods of the class) in this Math class.
Don't know if it's an issue, but worth mentioning:
Make sure that your 1/33 is of type double. In C++ you had to make sure of this; I don't know if .NET handles the conversion for you... but if it doesn't, you may end up with x^0 every time... not many things more frustrating to figure out than that...
Ben
A programmer was drowning. Lots of people watched but did nothing. They couldn't understand why he yelled "F1!"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.