diff options
Diffstat (limited to '3648/CH12')
-rw-r--r-- | 3648/CH12/EX12.1/Ex12_1.sce | 13 | ||||
-rw-r--r-- | 3648/CH12/EX12.1/Ex12_1.txt | 1 | ||||
-rw-r--r-- | 3648/CH12/EX12.2/Ex12_2.sce | 9 | ||||
-rw-r--r-- | 3648/CH12/EX12.2/Ex12_2.txt | 1 | ||||
-rw-r--r-- | 3648/CH12/EX12.3/Ex12_3.sce | 13 | ||||
-rw-r--r-- | 3648/CH12/EX12.3/Ex12_3.txt | 1 | ||||
-rw-r--r-- | 3648/CH12/EX12.4/Ex12_4.sce | 6 | ||||
-rw-r--r-- | 3648/CH12/EX12.4/Ex12_4.txt | 2 | ||||
-rw-r--r-- | 3648/CH12/EX12.5/Ex12_5.sce | 11 | ||||
-rw-r--r-- | 3648/CH12/EX12.5/Ex12_5.txt | 1 | ||||
-rw-r--r-- | 3648/CH12/EX12.6/Ex12_6.sce | 10 | ||||
-rw-r--r-- | 3648/CH12/EX12.6/Ex12_6.txt | 1 |
12 files changed, 69 insertions, 0 deletions
diff --git a/3648/CH12/EX12.1/Ex12_1.sce b/3648/CH12/EX12.1/Ex12_1.sce new file mode 100644 index 000000000..cf8adde33 --- /dev/null +++ b/3648/CH12/EX12.1/Ex12_1.sce @@ -0,0 +1,13 @@ +//Example 12_1
+clc();
+clear;
+//To find the work done by the gas
+d1=800 //Units in meter^3
+d2=500 //Units in meter^3
+p1=5*10^5 //Units in Pa
+w1=p1*(d1-d2)*10^-6 //Units in J
+p2=2*10^5 //Units in Pa
+d3=200*10^-6 //Units in meter^3
+p3=3*10^5 //Units in Pa
+w2=(p2*d3)+(0.5*p3*d3) //Units in J
+printf("The work done by the gas is=%d J",-(w1+w2))
diff --git a/3648/CH12/EX12.1/Ex12_1.txt b/3648/CH12/EX12.1/Ex12_1.txt new file mode 100644 index 000000000..b21dbe565 --- /dev/null +++ b/3648/CH12/EX12.1/Ex12_1.txt @@ -0,0 +1 @@ + The work done by the gas is=-220 J
\ No newline at end of file diff --git a/3648/CH12/EX12.2/Ex12_2.sce b/3648/CH12/EX12.2/Ex12_2.sce new file mode 100644 index 000000000..501281a3a --- /dev/null +++ b/3648/CH12/EX12.2/Ex12_2.sce @@ -0,0 +1,9 @@ +//Example 12_2
+clc();
+clear;
+//To estimate the Cv of nitric acid
+r=8314 //Units in J/Kmol K
+m=30 //Units in Kg/Kmol
+Cv=2.5*(r/m) //Units in J/Kg K
+printf("The estimated Cv value of nitric acid is Cv=%d J/Kg K",Cv)
+//in textbook the answer is printed wrong as Cv=690 J/Kg K correct answer is 692 J/Kg K
diff --git a/3648/CH12/EX12.2/Ex12_2.txt b/3648/CH12/EX12.2/Ex12_2.txt new file mode 100644 index 000000000..5ddde5f9e --- /dev/null +++ b/3648/CH12/EX12.2/Ex12_2.txt @@ -0,0 +1 @@ +The estimated Cv value of nitric acid is Cv=692 J/Kg K
\ No newline at end of file diff --git a/3648/CH12/EX12.3/Ex12_3.sce b/3648/CH12/EX12.3/Ex12_3.sce new file mode 100644 index 000000000..6f8a7eb55 --- /dev/null +++ b/3648/CH12/EX12.3/Ex12_3.sce @@ -0,0 +1,13 @@ + +//Example 12_3
+clc();
+clear;
+//To find the final temperature
+t1=27 //units in Centigrade
+t1=t1+273 //Units in K
+gama=1.4 //Units in Constant
+p1=1 //units in Pa
+v1_v2=15 //Units of in ratio
+logT2=log10(t1)-((gama-1)*(log10(p1)-log10(v1_v2)))
+T2=10^logT2 //Units in K
+printf("The final temperature is T2=%d K",T2)
diff --git a/3648/CH12/EX12.3/Ex12_3.txt b/3648/CH12/EX12.3/Ex12_3.txt new file mode 100644 index 000000000..d191c9e27 --- /dev/null +++ b/3648/CH12/EX12.3/Ex12_3.txt @@ -0,0 +1 @@ +The final temperature is T2=886 K
\ No newline at end of file diff --git a/3648/CH12/EX12.4/Ex12_4.sce b/3648/CH12/EX12.4/Ex12_4.sce new file mode 100644 index 000000000..8494de920 --- /dev/null +++ b/3648/CH12/EX12.4/Ex12_4.sce @@ -0,0 +1,6 @@ +//Example 12_4
+clc();
+clear;
+//To describe the Temperature changes of the gas
+printf("This type of process is termed as throttling process and described by the equation Delta U=- Delta W\n")
+printf("Where Delta W is the work done")
diff --git a/3648/CH12/EX12.4/Ex12_4.txt b/3648/CH12/EX12.4/Ex12_4.txt new file mode 100644 index 000000000..41896e335 --- /dev/null +++ b/3648/CH12/EX12.4/Ex12_4.txt @@ -0,0 +1,2 @@ +This type of process is termed as throttling process and described by the equation Delta U=- Delta W
+Where Delta W is the work done
\ No newline at end of file diff --git a/3648/CH12/EX12.5/Ex12_5.sce b/3648/CH12/EX12.5/Ex12_5.sce new file mode 100644 index 000000000..e9b78d5cf --- /dev/null +++ b/3648/CH12/EX12.5/Ex12_5.sce @@ -0,0 +1,11 @@ +//Example 12_5
+clc();
+clear;
+//To findout by how much the entropy of the system changes
+m=20 //Units in gm
+alpha=80 //Units in cal/gm
+t=4.184 //Units in J/Cal
+Q=m*alpha*t //Units in J
+T=273 //Units in K
+S=Q/T //Units in J/K
+printf("The entropy is Delta S=%.1f J/K",S)
diff --git a/3648/CH12/EX12.5/Ex12_5.txt b/3648/CH12/EX12.5/Ex12_5.txt new file mode 100644 index 000000000..ad84267dc --- /dev/null +++ b/3648/CH12/EX12.5/Ex12_5.txt @@ -0,0 +1 @@ +The entropy is Delta S=24.5 J/K
\ No newline at end of file diff --git a/3648/CH12/EX12.6/Ex12_6.sce b/3648/CH12/EX12.6/Ex12_6.sce new file mode 100644 index 000000000..1067a8af5 --- /dev/null +++ b/3648/CH12/EX12.6/Ex12_6.sce @@ -0,0 +1,10 @@ +//Example 12_6
+clc();
+clear;
+//To findout how much electricity is needed
+Tc=278 //Units in K
+Th=293 //Units in K
+COP=Tc/(Th-Tc) //Units in ratio
+Qc=210000 //Units in J
+W=Qc/COP //Units in J
+printf("The amount of Electricity is required is Delta W=%d J",W)
diff --git a/3648/CH12/EX12.6/Ex12_6.txt b/3648/CH12/EX12.6/Ex12_6.txt new file mode 100644 index 000000000..f715d10e0 --- /dev/null +++ b/3648/CH12/EX12.6/Ex12_6.txt @@ -0,0 +1 @@ +The amount of Electricity is required is Delta W=11330 J
\ No newline at end of file |