Professional Documents
Culture Documents
Name: M Puneeth REG NO: 19MID0069: Assignment - 1
Name: M Puneeth REG NO: 19MID0069: Assignment - 1
NAME: M PUNEETH
REG NO: 19MID0069
Exercise:
1. Using MATLAB find the tangent to the curves y x = at x = 4 and show
graphically.
2. Using MATLAB find the tangent to the curves y = −sin( x / 2) at the origin and
and show graphically.
3. Verify Rolle’s theorem for the function 3 4 (x + 2) (x −3) in the interval [−2,3].
Plot the curve along with the secant joining the end points and the tangents at
points which satisfy Rolle’s theorem.
4. Verify Lagrange’s mean value theorem for the function x f x x e 3 ( ) = + in
the interval [0,1]. Plot the curve along with the secant joining the end points
and the tangents at points which satisfy Lagrange’s mean value theorem.
19MID0069
ASSIGNMENT_1
19MID0069
ASSIGNMENT_1
Output:
19MID0069
ASSIGNMENT_1
2. Using MATLAB find the tangent to the curves y = −sin( x / 2) at the origin
and show graphically.
Output:
19MID0069
ASSIGNMENT_1
19MID0069
ASSIGNMENT_1
19MID0069
ASSIGNMENT_1
Output:
19MID0069
ASSIGNMENT_1
19MID0069
ASSIGNMENT_1
19MID0069
ASSIGNMENT_1
Output:
19MID0069
ASSIGNMENT_1
1. Find the local and global maxima and minima for the function 12 5 3 x −
x − on x(−4,4).
2. 2. Find the local and global maxima and minima for the function x +sin
2x on x(−5,5)
19MID0069
ASSIGNMENT_1
19MID0069
ASSIGNMENT_1
2. Find the local and global maxima and minima for the function x +sin 2x on
x(−5,5)
19MID0069
ASSIGNMENT_1
19MID0069
ASSIGNMENT_1
19MID0069