summaryrefslogtreecommitdiff
path: root/1364/CH12/EX12.2.1/12_2_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1364/CH12/EX12.2.1/12_2_1.sce')
-rwxr-xr-x1364/CH12/EX12.2.1/12_2_1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1364/CH12/EX12.2.1/12_2_1.sce b/1364/CH12/EX12.2.1/12_2_1.sce
new file mode 100755
index 000000000..d13d5b61f
--- /dev/null
+++ b/1364/CH12/EX12.2.1/12_2_1.sce
@@ -0,0 +1,10 @@
+clc
+//initialisation of variables
+R= 53.3 //ft lbf/lbf R
+T= 60 //F
+P= 30 //in
+P1= 29 //in
+//CALCULATIONS
+z= R*(T+460)*log(P/P1)*0.044/0.0339
+//RESULTS
+printf ('height = %.f ft',z)