diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2741/CH1 | |
download | Scilab-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')
-rwxr-xr-x | 2741/CH1/EX1.1/1.sce | 11 | ||||
-rwxr-xr-x | 2741/CH1/EX1.10/10.sce | 13 | ||||
-rwxr-xr-x | 2741/CH1/EX1.11/Chapter1_Example11.sce | 13 | ||||
-rwxr-xr-x | 2741/CH1/EX1.2/2.sce | 11 | ||||
-rwxr-xr-x | 2741/CH1/EX1.3/3.sce | 7 | ||||
-rwxr-xr-x | 2741/CH1/EX1.4/4.sce | 7 | ||||
-rwxr-xr-x | 2741/CH1/EX1.5/5.sce | 10 | ||||
-rwxr-xr-x | 2741/CH1/EX1.6/6.sce | 11 | ||||
-rwxr-xr-x | 2741/CH1/EX1.7/7.sce | 12 | ||||
-rwxr-xr-x | 2741/CH1/EX1.8/8.sce | 13 | ||||
-rwxr-xr-x | 2741/CH1/EX1.9/9.sce | 16 |
11 files changed, 124 insertions, 0 deletions
diff --git a/2741/CH1/EX1.1/1.sce b/2741/CH1/EX1.1/1.sce new file mode 100755 index 000000000..5423f4e34 --- /dev/null +++ b/2741/CH1/EX1.1/1.sce @@ -0,0 +1,11 @@ +clc
+clear
+//Input data
+C=6500;//Temperature of the surface of the sun in degrees centigrade
+
+//Calculations
+K=((C/100)*(100))+273;//Temperature of the surface of the sun in Kelvin
+R=((C/100)*180)+492;//Temperature of the surface of the sun in degree Rankine
+
+//Output
+printf('The temperature of the surface of the sun corresponding to 6500 degrees centigrade is \n\n (1)%3.0f Kelvin and (2)%3.0f degree Rankine',K,R)
diff --git a/2741/CH1/EX1.10/10.sce b/2741/CH1/EX1.10/10.sce new file mode 100755 index 000000000..5be92abb2 --- /dev/null +++ b/2741/CH1/EX1.10/10.sce @@ -0,0 +1,13 @@ +clc
+clear
+//Input data
+t1=50;//Temperature on platinum scale in degree centigrade
+t11=50.25;//Temperature on gas scale in degree centigrade
+t2=150;//Temperature on gas scale in degree centigrade
+
+//Calculations
+g=(t1-t11)/((t1/100)^2-(t1/100));
+x=t2-(g*((t2/100)^2-(t2/100)));//The temperature on the platinum scale corresponding to 150 degrees centigrade on gas scale in degree centigrade
+
+//Output data
+printf('The temperature on the platinum scale is %3.2f degree centigrade',x)
diff --git a/2741/CH1/EX1.11/Chapter1_Example11.sce b/2741/CH1/EX1.11/Chapter1_Example11.sce new file mode 100755 index 000000000..6f88de065 --- /dev/null +++ b/2741/CH1/EX1.11/Chapter1_Example11.sce @@ -0,0 +1,13 @@ +clc
+clear
+//Input data
+R0=5.5;//The resistance of a platinum wire at 0 degree centigrade in ohms
+R100=7.5;//The resistance of a platinum wire at 100 degree centigrade in ohms
+R444=14.5;//The resistance of a platinum wire at 444.5 degree centigrade in ohms
+
+//Calculations
+b=((900-(2*444.6))/(5.5*444.6*100*344.6));//The value of beta in per degree centigrade square
+a=(2/(5.5*100))-(100*(b));//The value of alpha in per degree centigrade
+
+//Output
+printf('The values are b = %3.4g /degree centigrade square \n and a = %3g /degree centigrade ',b,a)
diff --git a/2741/CH1/EX1.2/2.sce b/2741/CH1/EX1.2/2.sce new file mode 100755 index 000000000..02a8ec16b --- /dev/null +++ b/2741/CH1/EX1.2/2.sce @@ -0,0 +1,11 @@ +clc
+clear
+//Input data
+C=-183;//The normal boiling point of liquid oxygen in degrees centigrade
+
+//Calculations
+K=((C/100)*100)+273;//The normal boiling point of liquid oxygen in Kelvin
+R=((C/100)*180)+492;//The normal boiling point of liquid oxygen in degree Rankine
+
+//Output data
+printf('The boiling point of liquid oxygen corresponding to -183 degree centigrade is \n\n (1)%3.0f Kelvin and (2)%3.1f degree Rankine',K,R)
diff --git a/2741/CH1/EX1.3/3.sce b/2741/CH1/EX1.3/3.sce new file mode 100755 index 000000000..49b71c308 --- /dev/null +++ b/2741/CH1/EX1.3/3.sce @@ -0,0 +1,7 @@ +clc
+clear
+//Calculations
+x=((273*180)-(32*100))/80;//The temperature at which Kelvin and Fahrenheit scale coincide in Kelvin and degree Fahrenheit
+
+//Output
+printf('The temperature at which Kelvin and Fahrenheit coincide is %3.2f degree',x)
diff --git a/2741/CH1/EX1.4/4.sce b/2741/CH1/EX1.4/4.sce new file mode 100755 index 000000000..482c83842 --- /dev/null +++ b/2741/CH1/EX1.4/4.sce @@ -0,0 +1,7 @@ +clc
+clear
+//Calculations
+x=(-(32*100))/80;//The temperature at which degree centigrade and Fahrenheit scale coincide in degree centigrade and degree Fahrenheit
+
+//Output
+printf('The temperature at which degree centigrade and Fahrenheit coincide is %3.0f degree',x)
diff --git a/2741/CH1/EX1.5/5.sce b/2741/CH1/EX1.5/5.sce new file mode 100755 index 000000000..f8ba87f80 --- /dev/null +++ b/2741/CH1/EX1.5/5.sce @@ -0,0 +1,10 @@ +clc
+clear
+//Input data
+K=20.2;//The normal boiling point of liquid hydrogen in Kelvin
+
+//Calculations
+R=(((K-273)/100)*180)+492;//The normal boiling point of liquid hydrogen in degree Rankine
+
+//Output data
+printf('The boiling point of liquid hydrogen corresponding to 20.2 Kelvin is %3.2f degree Rankine',R)
diff --git a/2741/CH1/EX1.6/6.sce b/2741/CH1/EX1.6/6.sce new file mode 100755 index 000000000..75fd6216c --- /dev/null +++ b/2741/CH1/EX1.6/6.sce @@ -0,0 +1,11 @@ +clc
+clear
+//Input data
+V=1000;//Volume of the bulb of the callendar's compensated constant pressure air thermometer in cm^3
+v=100;//Volume of mercury drawn out of the reservoir in cm^3
+
+//Calculations
+t=((v)/(V-v))*273;//The temperature of the bath in degree centigrade
+
+//Output data
+printf('The temperature of the bath on the celsius scale is %3.2f degree centigrade',t)
diff --git a/2741/CH1/EX1.7/7.sce b/2741/CH1/EX1.7/7.sce new file mode 100755 index 000000000..b527a4c31 --- /dev/null +++ b/2741/CH1/EX1.7/7.sce @@ -0,0 +1,12 @@ +clc
+clear
+//Input data
+Pt=100;//Pressure of air when the bulb is placed in hot water in cm of Hg
+P100=109.3;//Pressure of air in a constant volume thermometer at 100 degree centigrade in cm of Hg
+P0=80;//Pressure of air in a constant volume thermometer at 0 degree centigrade in cm of Hg
+
+//Calculations
+t=((Pt-P0)/(P100-P0))*100;//The temperature of the hot water in degree centigrade
+
+//Output data
+printf('The temperature of the hot water is %3.2f degree centigrade',t)
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)
diff --git a/2741/CH1/EX1.9/9.sce b/2741/CH1/EX1.9/9.sce new file mode 100755 index 000000000..496b01135 --- /dev/null +++ b/2741/CH1/EX1.9/9.sce @@ -0,0 +1,16 @@ +clc
+clear
+//Input data
+R0=5;//The resistance of the platinum wire of a platinum resistance thermometer at the ice point in ohms
+R100=5.93;//The resistance of the platinum wire of a platinum resistance thermometer at the steam point in ohms
+Rt=5.795;//The resistance of the platinum wire when both the thermometers are inserted in a hot bath in ohms
+P0=100;//The pressure at ice point in cm of Hg
+P100=136.6;//The pressure at steam point in cm of Hg
+Pt=131.11;//The pressure of the gas in cm of Hg
+
+//Calculations
+Tp=((Rt-R0)/(R100-R0))*100;//The temperature of the bath on the platinum scale in degree centigrade
+T=((Pt-P0)/(P100-P0))*100;//The temperature of the bath on the gas scale in degree centigrade
+
+//Output data
+printf('The temperature of the bath , \n (1)On the platinum scale is %3.2f degree centigrade \n (2)On the gas scale is %3.0f degree centigrade',Tp,T)
|