summaryrefslogtreecommitdiff
path: root/1301/CH2/EX2.10/ex2_10.sce
blob: 13380863ec08031a6244d99044b4330e4c2160e9 (plain)
1
2
3
4
5
6
7
clc;
v=30;      //velocity in m/sec
a=6;       //acc. in m/sec square
t=v/a;     //using t=v/a
disp(t,"Time in sec = "); //displaying result
s=(1/2)*(a*t*t);      //kinematical equation
disp(s,"Distance in metre = ");      //displaying result