943,608 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 830
  • C RSS
Nov 5th, 2008
0

mathematic

Expand Post »
hi everyone,

I'm trying to write a program that calculates the the fourth sqrt() of an int ..., can someone help me
thnxx
Similar Threads
Reputation Points: 7
Solved Threads: 1
Newbie Poster
Beginner+597 is offline Offline
24 posts
since Sep 2007
Nov 5th, 2008
0

Re: mathematic

hi everyone,

I'm trying to write a program that calculates the the fourth sqrt() of an int ..., can someone help me
thnxx
And where is the product of your efforts?
Remember classics: I'm trying to write a program to hop on the Moon...
Reputation Points: 1234
Solved Threads: 347
Postaholic
ArkM is offline Offline
2,001 posts
since Jul 2008
Nov 5th, 2008
0

Re: mathematic

Click to Expand / Collapse  Quote originally posted by ArkM ...
And where is the product of your efforts?
Remember classics: I'm trying to write a program to hop on the Moon...

well, i know that i can use the library function double sqrt(double x) to get the sqrt of x, but i don't know how to get the fourth sqrt() of x .
Reputation Points: 7
Solved Threads: 1
Newbie Poster
Beginner+597 is offline Offline
24 posts
since Sep 2007
Nov 6th, 2008
0

Re: mathematic

Is your "fourth sqrt()" equal to 1/4 of square root or it's a quadratic root?
Reputation Points: 1234
Solved Threads: 347
Postaholic
ArkM is offline Offline
2,001 posts
since Jul 2008
Nov 6th, 2008
0

Re: mathematic

Click to Expand / Collapse  Quote originally posted by ArkM ...
Is your "fourth sqrt()" equal to 1/4 of square root or it's a quadratic root?

it equals to to 1/4 sqrt()...
Reputation Points: 7
Solved Threads: 1
Newbie Poster
Beginner+597 is offline Offline
24 posts
since Sep 2007
Nov 6th, 2008
0

Re: mathematic

I do not think so, it could be sqrt(sqrt(x)) , or else if it 1/4sqrt(x) , you are supposed to use some iteration formula to calculate an approximate square root of x and then divide it by 4.
Last edited by ithelp; Nov 6th, 2008 at 4:45 am.
Reputation Points: 769
Solved Threads: 128
Banned
ithelp is offline Offline
1,910 posts
since May 2006
Nov 8th, 2008
0

Re: mathematic

I think it's:

pow(number, power)

pow(10, 0.4);

I'm not sure so check it out. It's in <math.h>
Last edited by minas1; Nov 8th, 2008 at 2:48 am.
Reputation Points: 13
Solved Threads: 8
Junior Poster in Training
minas1 is offline Offline
81 posts
since Nov 2008
Nov 8th, 2008
0

Re: mathematic

I can't understand your troubles. Evidently it's 0.25*sqrt(x) or sqrt(sqrt(x)) . Or what else? What's a problem?
Reputation Points: 1234
Solved Threads: 347
Postaholic
ArkM is offline Offline
2,001 posts
since Jul 2008
Nov 8th, 2008
0

Re: mathematic

Click to Expand / Collapse  Quote originally posted by ArkM ...
I can't understand your troubles. Evidently it's 0.25*sqrt(x) or sqrt(sqrt(x)) . Or what else? What's a problem?
I agree: the fourth root of a number, x, is sqrt(sqrt(x)), or pow(x, 0.25).
Last edited by DavidB; Nov 8th, 2008 at 6:22 pm.
Reputation Points: 33
Solved Threads: 9
Junior Poster
DavidB is offline Offline
188 posts
since Jul 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: NEW operating system design
Next Thread in C Forum Timeline: sorting structure





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC