MATLAB Assignment 2.pdf - MATLAB DIGITAL ASSIGNMENT-2 Name...

This preview shows page 1 - 13 out of 13 pages.

MATLAB DIGITAL ASSIGNMENT-2 Name.: Kaustubh Singh Reg. No.: 18BCE0722
1. Write a MatLab code to find the tangent to the curve i) y = x^2 at x = 2 and show graphically. ii) y = sin ( x/2) at the origin and show graphically Solution (i)
Solution (ii)
2. Write a MatLab code to verify Rolle’s theorem for the function i) x^2 in the interval [=3, 3] ii) (x+ 2)^3*(x − 3)^4 in the interval [-2,3]. Plot the curve along with the secant joining the end points and the tangents at points which satisfy

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture