summaryrefslogtreecommitdiff
path: root/3886/CH13/EX13.16/13_16.sce
blob: 635c1dee23c674f8febe10ae298f8adb6182459d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//person throws a ball
//refer fig. 13.23
//(a) Up the plane
atheta=35  //degree
aalpha=atheta+20  //degree
//maximum range
aRangemax=((30*30)/(9.81*(cosd(20))^2))*(sind(2*55-20)-sind(20))  //m
//(b) Down the plane
//refer fig. 13.24
btheta=(90+20)/2  //degree
balpha=55-20  //degree
//maximum range  
bRangemax=((30*30)/(9.81*(cosd(-20))^2))*(sind(2*35+20)-sind(-20))  //m
printf("\nUp the plane\nMax Range=%.3f m",aRangemax)
printf("\nDown the plane\nMax Range=%.3f m",bRangemax)