Derivatives for trig functions
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Gary Moorer
am 14 Jul. 2020
Beantwortet: Star Strider
am 14 Jul. 2020
I am a college student new to Matlab. How do I find the derivative of y with respect to x:
y=sec^-1*(3x^2+1), x>0
0 Kommentare
Akzeptierte Antwort
Star Strider
am 14 Jul. 2020
Start with the Symbolic Math Toolbox:
syms x positive real
y(x) = asec(3*x^2+1);
then use the appropriate function to calculate the symbolic derivative.
If ‘x’ is a vector, use the gradient function to calculate the numeric derivative, and remember to use element-wise exponentiation in the asec argument.
I leave the details to you.
.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Calculus finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!