summaryrefslogtreecommitdiff
path: root/2741/CH1/EX1.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2741/CH1/EX1.8
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 '2741/CH1/EX1.8')
-rwxr-xr-x2741/CH1/EX1.8/8.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2741/CH1/EX1.8/8.sce b/2741/CH1/EX1.8/8.sce
new file mode 100755
index 000000000..8581497fa
--- /dev/null
+++ b/2741/CH1/EX1.8/8.sce
@@ -0,0 +1,13 @@
+clc
+clear
+//Input data
+P0=76;//The pressure in the bulb at 0 degree centigrade in cm of Hg
+Pt=152+P0;//The excess pressure in the bulb in cm of Hg
+T0=273;//Temperature in K
+
+//Calculations
+T=(Pt/P0)*T0;//The temperature of the furnace in Kelvin
+T1=T-273;//The temperature of the furnace in degree centigrade
+
+//Output data
+printf('The temperature of the furnace T = %3.0f Kelvin = %3.0f degree centigrade',T,T1)