+ 1
Cos function
Hey 👋, Please im trying to use taylor series to calculate the cos(x), But every time i pass number 20 or even cos(15) it gives me a wrong answer, Notice: even first number it gives the correct fractions, but it always 1 i don’t know how to make it 0 This is my code, any help will be appreciated https://code.sololearn.com/chBdGYvgtYQ4/?ref=app
1 ответ
0
Hope this link helps you
https://www.inchcalculator.com/cosine-calculator