| | |
how can I get a root of some number
Please support our C# advertiser: Intel Parallel Studio Home
Thread Solved |
In addition to that : a root of a number cannot only refer to the square root, but also the cube root,... Nth root.
To do this in C# you can do something like:
To do this in C# you can do something like:
C# Syntax (Toggle Plain Text)
double num = 8.0; double power = 1.0 / 3; Console.WriteLine("Cube root of {0} is {1}.", num, Math.Pow(num, power));
Today is a gift, that's why it is called "The Present".
Make love, no war. Cave ab homine unius libri.
Danny
Make love, no war. Cave ab homine unius libri.
Danny
![]() |
Similar Threads
- PLZ Some one help me , How i can convert a HEXA number to binary number using emu8086 (Assembly)
- program to find the square root of a given number (C)
- to find the square root of a number (C)
- Code Snippet: Find any root of a number (C)
- Trying To Find The Square Root Of Each Number Of A Array (C++)
Other Threads in the C# Forum
- Previous Thread: Nested Data Source Binding error only when List is empty
- Next Thread: Showing Control Events In CheckedListBox
| Thread Tools | Search this Thread |
algorithm algorithms angle array bitmap c# c++ cambridge codes conversion cuil decimal degrees development drawing enum equation form function gdi+ google grade iteration javascript mandelbrot math mathematics method news numbers operator physics picturebox plotting polynomial prime primenumbersinrange programs radians recursion recursive round search statistics stephenhawking technology time usb vb vbnet web wolframalpha







