0

d/dX(Cos²x)

Can I use coding to differentiate (find derivative) of this???

25th Jan 2022, 4:35 PM
Dev 188
2 odpowiedzi
+ 6
Yes
25th Jan 2022, 4:52 PM
Lisa
Lisa - avatar
0
Dev 188 try the derivative formula with a small value for h. (f(x+h) - f(x))/h In digital floating point there is a minimal value that can be stored, so h cannot really be infinitessimally small. ----- Of further interest, in a study of computer numerical methods it was found that you will get better accuracy if you use a balanced derivative formula, like this: (f(x+h) - f(x-h))/(2*h) It would be interesting to find out your results. Let us know!
25th Jan 2022, 8:04 PM
Brian
Brian - avatar