Question

Find the second and third derivatives of the following functions by using Matlab

1. f(x) = 3cosx-2sinx x² 2. f(x) = ln(x) - 1 3. f(x) = 5x3 - 2x2 + 7x + 10

0 0
Add a comment Improve this question Transcribed image text
Answer #1

eig.mx mdof.mx partCQ2.mx 1 4 clc syms x f = (3* cos(x)-2*sin(x))/(x^2); % second derivative d2 = diff(f,2) % third derivativ

+ eig.mx mdot.mx partCQ2.mx - 3 1 4 1 clc 2 syms x f = log(x)-1; % second derivative d2 = diff(f,2) % third derivative 7 - d3

1 clc 2 syms x 3 f = 5*x^3-2*x^2+7*x+10; 4 % second derivative 5 d2 = diff(f,2) % third derivative 7 d3 = diff(f,3) 8 COMMAND

Feel free to ask for further clarification.

please up-vote if you liked this solution. As it will encourage me to solve more and more problems and help students.

Thank you,

Add a comment
Know the answer?
Add Answer to:
Find the second and third derivatives of the following functions by using Matlab 1. f(x) =...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT