- /
-
Wave Function of A Face
on 26 Nov 2023
- 25
- 30
- 0
- 2
- 433
drawframe(1);
Write your drawframe function below
% Wave Function of A Face using Parametric Equation on...
% Cartesian Plane... enjoyyy Coding...
function drawframe(f)
t = linspace(-2*pi,2*pi);
t1 = linspace(0,1);
h = linspace(0,220,150);
b = linspace(100,420,600);
x=t-2.5
y=sqrt(1.5-t.^2).*sin(h(f)*t)+5
x1=t+2.5
y1=sqrt(1.5-t.^2).*sin(h(f)*t)+5
x2=2*t
y2=sqrt(0.25-0.25*t.^2).*sin(3*b(f)*t)
x3=t1.*sin(h(f)*t1)
y3=-3*t1+4.85
x4=5.2*sin(t)
y4=5.2*cos(t)+3
x5=5.7*sin(t)
y5=5.7*cos(t)+3
x6=3*t
y6=sqrt(0.25-0.25*t.^2).*sin(3*b(f)*t)
plot(x,y,x1,y1,x2,y2,x3,y3,x4,y4,x5,y5,x6,y6)
MeshDensity=1500
axis equal
axis([-7 7 -4 10])
end