clc
clear
disp('Zhoria Renfus')

function [d,v]= drop(g,v0,t)
d=0.5*g*t.^2+v0*t;
v=g*t+v0;
endfunction

[d1,v1]= drop(10,2,3)

t=0:0.1:5;
[d,v]= drop(10,2,t)

plot(t,d,t,v)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: