summaryrefslogtreecommitdiff
path: root/2096/CH1/EX1.24/ex_1_24.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2096/CH1/EX1.24/ex_1_24.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2096/CH1/EX1.24/ex_1_24.sce')
-rwxr-xr-x2096/CH1/EX1.24/ex_1_24.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2096/CH1/EX1.24/ex_1_24.sce b/2096/CH1/EX1.24/ex_1_24.sce
new file mode 100755
index 000000000..fb3bf02bb
--- /dev/null
+++ b/2096/CH1/EX1.24/ex_1_24.sce
@@ -0,0 +1,15 @@
+//Example 1.24.// calculate the time altitude
+clc;
+clear;
+close;
+//given data :
+h=2500; // height in meter
+t1=8; // in seconds
+a=5; // rate of rise balloon in m/s
+b=30; // temprerature indicated at an altiude of 2500 m in celcius
+c=.011; // rate of temperature variation with altitude in celcius/meter
+y=c*a;
+Ed=y*t1;
+E=Ed/c;
+A=h-E;
+disp(A,"actual altitude,A(meter) = ")