|
-
Nov 12th, 2004, 04:33 PM
#1
Thread Starter
Frenzied Member
alternative calculation for sin(x) [resolved]
I have been given an excercise when I have to work out the sin value for x without using the inbuilt one. I was given this function:
sin(x) ~= x- x3/3! + x5/5!
The further on you keep going the more accurate the thing becomes. I was also told that x should be in radians.
Now, I couldn't get this thing working. I have 360 degrees, where I know sin(36) = 0. 360 degrees is roughly 6.28 radians. This gives:
6.28 - 248/24 + 9768/120
=6.28 - 10.32 + 81.4
=77.36
Now that's just WAY off.
Am I somehow using the formula badly or was I given an incorrect one? If it was the wrong one, does anyone know what we were most likely meant to be given?
Last edited by Acidic; Nov 15th, 2004 at 01:32 PM.
Have I helped you? Please Rate my posts. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|