Yash
Yash
LAB MANUAL
CSE-1st YEAR 1ST SEMESTER (2024-25)
MARKS
SIGNATURE
DATE
S.NO QUESTIONS PAGE NO SIGNATURE
1 Write a program to plot the function f(x) =sqrt(1-
x), where x various from -1 to 1. Show the grid
lines on the graph.
2 Write a program to plot the function y=x^2, shifted
right by 3 units, shifted left by 5 units, stretched
horizontally by 2 units and compressed vertically
by 6 units, where x varies from -10 to 10.
GRAPH:
2) Write a program to plot the function y=x^2, shifted right by 3 units, shifted
left by 5 units, stretched horizontally by 2 units and compressed vertically by 6
units, where x varies from -10 to 10.
GRAPH:
3) If 1/x+1/y+1/z -1 = 0, write a program to find dy / dx at the point (2, 3, 6).
OUTPUT:
OUTPUT:
6) Find the Taylor series expansion of the function f(x) = e^x about point 𝑥 = 0
up to six order.
OUTPUT:
7) Write a program to plot the function f(x,y)=x^2+y^ 2-4y +9 and its Taylor’s
series of order 3, where x and y varies from -10 to 10.
OUTPUT:
OUTPUT:
9) Find the gradient of the function f=e^x+y*cos+(y+1)*asinx at the
point(0,0,pi/6) using Matlab.
OUTPUT:
OUTPUT: