summaryrefslogtreecommitdiff
path: root/1991/CH2/EX2.3/3.sce
blob: 96c8bf2f0e7f807b4e2b0b8fc288364dbdf0a718 (plain)
1
2
3
4
5
6
7
8
9
clc
clear
//input
v=120 //velocity
a=75 //accleration
//calculation of time
t=2*v/(a*cosd(45))//eqn of uniformly accelerated body
//output
printf("the time taken is %3.3f s",t)