TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Calculate n'th root of a number using Math.Pow function
Midhun Tp
Aug 04
2016
Code
4.4
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
double
rootval1 = Math.Pow(125, (1.0 / 3.0));
//cube root of 125
double
rootval2 = Math.Pow(125, (1.0 / 4.0));
//4th root of 125
double
rootval3 = Math.Pow(125, (1.0 / 10.0));
//10th root of 125
C#
ASP.net