summaryrefslogtreecommitdiff
path: root/1460/CH4/EX4.8/4_8.sce
blob: aaa8b8718f38dc8ac4de5f365f5b2507df5a355b (plain)
1
2
3
4
5
6
7
8
9
clc
//Initialization of variables
du=75 //B/lbm
m=0.01 //lbm
//calculations
W=778*du
Wdot=m*W
//results
printf("Work for the process = %d ft-lb",Wdot)