Displaying a more precise answer when using diff()
Mostra commenti meno recenti
Hi guys, I'm doing this in MATLAB
syms x
f = (cos(cos(cos(cos(cos(cos(cos(cos(cos(cos(cos(cos(cos(cos(cos(cos(x)))))))))))))))));
c = sym('1');
diff(c)
And it gives me ans = 0. But I know the answer is not 0. How can I get a more exact answer? Specifically the answer to this derivative is 0.00178818.
Thank you!
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Numeric Solvers in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!