thank you very much guys, i solved the problem after your assistances, i changed the line ;
if(fabs(term<0.0001) < 0.00001)
with
if(fabs(term<0.0001) < sum/10000)
by doing this
it is not...
Type: Posts; User: yunusyesil
thank you very much guys, i solved the problem after your assistances, i changed the line ;
if(fabs(term<0.0001) < 0.00001)
with
if(fabs(term<0.0001) < sum/10000)
by doing this
it is not...
cursor continues blinking, and it keeps going, nothing happening, after waiting alot, i am getting segmentation error.
i tried but same problem arising again,
thank you anyway.
indeed, it is entering the if statement, as the term increase, it is decreasing alot, that's why we are ignoring high terms while using approximations, and the code find quite good results until...
I am trying to write a program which should calculate, e^x with taylor series expansion, but when i tried big numbers like e^70, i got segmentation fault error, Can you please help me. Code is like...