summaryrefslogtreecommitdiff
path: root/3647/CH1/EX1.1/Ex1_1.sce
blob: e1e33ef9b7e8fbad00769d6b0981960de2991fb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Velocity calculation
clc
//initialisation of variables
t=20//ft
t1=30//ft
v=1320//ft/s
p=25//sec
q=15//ft/s
v1=v/t//ft/s
v2=v/t1//ft/s
T=(v2-v1)/p//ft/s^2
V=v2-q*-T//ft/s
V1=-V^2/(2*T)//ft/s
//RESULTS
printf('the velocity time is=% f ft/s',V1)