summaryrefslogtreecommitdiff
path: root/629/CH1/EX1.4/example1_4.sce
blob: 69fa3d928c420f71de0f29937bf177fe360a83b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear
clc
//Example 1.4 GRID METHOD APPLIED TO A ROCKET
//Part(a)
m=9; //mass flow rate[Kg/s]
V=30; //velocity[m/s]
//Thrust force 
T=m*V //[N]
printf("\n(a)The thrust force in newtons = %.f N\n",T)
//Part(b)
m=19.8; //[lbm/s]
V=98.4; //[ft/s]
//1lbf.s^2=32.2(lbm.ft)
T=m*V/32.2 //[lbf]
printf("\n(b)The thrust force in units of pounds-force = %.1f lbf.\n",T)