how can i derive sin(x) ?

13 vues (au cours des 30 derniers jours)
mohammad imad
mohammad imad le 20 Mar 2018
hello there I have problem with derivation of sin(x)
syms x
diff(sin(x))
ans
cos(x)
but I want the answer to be xdot*cos(x), can you tell me how can i do it? ,please

Réponse acceptée

Walter Roberson
Walter Roberson le 20 Mar 2018
syms x(t)
diff(sin(x))

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by