Professional Documents
Culture Documents
X Linspace (0,2 Pi, 100) y Sin (X) Plot (X, Y) Title ("Plot Created by Roll No B18CHA34") Xlabel ("X") Ylabel ("Sinx")
X Linspace (0,2 Pi, 100) y Sin (X) Plot (X, Y) Title ("Plot Created by Roll No B18CHA34") Xlabel ("X") Ylabel ("Sinx")
X Linspace (0,2 Pi, 100) y Sin (X) Plot (X, Y) Title ("Plot Created by Roll No B18CHA34") Xlabel ("X") Ylabel ("Sinx")
8.1. x=linspace(0,2*pi,100)
y=sin(x)
plot(x,y)
title(“plot created by Roll no B18CHA34“)
xlabel(“x”)
ylabel(“sinx”)
Plot created bu Roll no B18CHA34
0 8 -
0. G —
0 . -
4
0 2 -
-0 . —
2
04 - -
- 0 -
8
1
0 2 3 4 5 6 7
8.2.
a=[3.5,2,0;-1.5,2.8,1.9;0,-2.5,3]
b=[5;-1;2]
x=c*b
u=x(1)
v=x(2)
w=x(3)
disp(“PPSL SESSION 8”)
disp(“Name:Laamia
Thaha”)
Solution
PPSL SESSION 8
Name: Laamia Thaha
Roll no: B18CHA34
u=1.4421
v= -0.0236
w=0.60.64