Was trying to send you a message of thanks but couldn't find the option. Thank you very much for taking the time to read the code, it did fix it. Cheers! Thanks to Grumpy and anybody else who gave it...
Type: Posts; User: timsdeece
Was trying to send you a message of thanks but couldn't find the option. Thank you very much for taking the time to read the code, it did fix it. Cheers! Thanks to Grumpy and anybody else who gave it...
Thank you! excellent spot! Will try see if this fixes it!
I did a full re check of dfactorial and mypow and they are both working fine. So it must be mysine, I just can't see where. In theory if you input x and 1 iteration value nmax = 1 you should get back...
Basically I'm not sure where it is going wrong, it gives me ridiculous values! I made the x^n and n! programs in a sepearte exercise, then we were told to use them together to make the sine one by...
/*
A program to compute the sine of an angle using sine's series expansion and without the use of the maths library
David Tims 10319139 [email protected]
*/
#include <stdio.h>