summaryrefslogtreecommitdiff
path: root/1427/CH25/EX25.10/25_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH25/EX25.10/25_10.sce')
-rw-r--r--1427/CH25/EX25.10/25_10.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1427/CH25/EX25.10/25_10.sce b/1427/CH25/EX25.10/25_10.sce
new file mode 100644
index 000000000..f20fbc01d
--- /dev/null
+++ b/1427/CH25/EX25.10/25_10.sce
@@ -0,0 +1,8 @@
+//ques-25.10
+//Calculating temperatures required for Carbon dioxide
+clc
+C=900;//velocity (in m/s)
+M=44;//molar mass of CO2 (in g/mol)
+T1=(C^2*%pi*M/1000)/(8*8.314);//Cavg
+T2=(C^2*M/1000)/(2*8.314);//Cmp
+printf("The required temperatures are %d K and %d K.",T1,T2);