I made a user-defined function for Height.
function Ht=Height(t,V,Theta);
Ht=V*t*sin(Theta)-4.9*t.^2;
end
V is initial velocity, and i kept on getting input "V" is undefined.
Can someone help me please!
I tried to make a user-defined function.
function Ht=Height(t,V,Theta);
Ht=V*t*sin(Theta)-4.9*t.^2;
but then i kept on getting Input argument "V" is undefined...
can someone help me please