summaryrefslogtreecommitdiff
path: root/3137/CH12/EX12.8/Ex12_8.sce
blob: 0a2092279e6bab703fd0d0c3557c69d58283da23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Initilization of variables
theta=40 //degrees
x=100 //ft
ay=32.2 //ft/s^2
//Calculations
//Simplfying the equation
t=sqrt((tand(theta)*x)/(ay/2)) //s
//Velocity calculations
Vo=100/(cosd(theta)*t) //ft/s
//Result
clc
printf('The initial speed should be %f ft/s',Vo)