summaryrefslogtreecommitdiff
path: root/3850/CH26
diff options
context:
space:
mode:
Diffstat (limited to '3850/CH26')
-rw-r--r--3850/CH26/EX26.1/Ex26_1.sce16
-rw-r--r--3850/CH26/EX26.1/Ex26_1.txt2
-rw-r--r--3850/CH26/EX26.2/Ex26_2.sce38
-rw-r--r--3850/CH26/EX26.2/Ex26_2.txt4
4 files changed, 60 insertions, 0 deletions
diff --git a/3850/CH26/EX26.1/Ex26_1.sce b/3850/CH26/EX26.1/Ex26_1.sce
new file mode 100644
index 000000000..8dab47c9f
--- /dev/null
+++ b/3850/CH26/EX26.1/Ex26_1.sce
@@ -0,0 +1,16 @@
+
+//To calculate the increase in Internal Energy in the process
+
+//Example 26.1
+
+clear;
+
+clc;
+
+delQ=418;//Heat given to the gas in Joules
+
+delW=40;//Work done by the gas in Joules
+
+delU=delQ-delW;//formula for finding increase the internal energy
+
+printf("Increase in Internal Energy=%.f joule",delU);
diff --git a/3850/CH26/EX26.1/Ex26_1.txt b/3850/CH26/EX26.1/Ex26_1.txt
new file mode 100644
index 000000000..d0fcbed07
--- /dev/null
+++ b/3850/CH26/EX26.1/Ex26_1.txt
@@ -0,0 +1,2 @@
+
+ Increase in Internal Energy=378 joule \ No newline at end of file
diff --git a/3850/CH26/EX26.2/Ex26_2.sce b/3850/CH26/EX26.2/Ex26_2.sce
new file mode 100644
index 000000000..dc2ac9fe7
--- /dev/null
+++ b/3850/CH26/EX26.2/Ex26_2.sce
@@ -0,0 +1,38 @@
+
+//To Calculate the Work Done by the Gas
+
+//Example 26.2
+
+clear;
+
+clc;
+
+pA=120*10^3;//pressure (in Pa) of the gas at Point A
+
+pB=120*10^3;//pressure (in Pa) of the gas at Point B
+
+pC=200*10^3;//pressure (in Pa) of the gas at Point C
+
+VA=200*10^-6;//Volume at point A in m^3
+
+VB=450*10^-6;//Volume at point B in m^3
+
+VC=450*10^-6;//Volume at point C in m^3
+
+delVab=VB-VA;//change in the volume of the gas from point A to B
+
+Wab=pA*delVab;//formula for finding the work done by the gas in the process A to B
+
+printf("The Work done by the gas in the process A to B=%d joule",Wab);
+
+delVbc=VC-VB;//change in the volume of the gas from point B to C
+
+Wbc=(pC-pB)*delVbc;//formula for finding the work done by the gas in the process B to C
+
+printf("\nThe Work done by the gas in the process B to C=%d joule",Wbc);
+
+delVca=VC-VA;//change in the volume of the gas from point C to A
+
+Wca=(0.5*(pC-pA)*delVca)+Wab;//formula for finding the work done by the gas in the process C to A
+
+printf("\nThe Work done by the gas in the process C to A=%d joule",-Wca);
diff --git a/3850/CH26/EX26.2/Ex26_2.txt b/3850/CH26/EX26.2/Ex26_2.txt
new file mode 100644
index 000000000..7108a0177
--- /dev/null
+++ b/3850/CH26/EX26.2/Ex26_2.txt
@@ -0,0 +1,4 @@
+
+ The Work done by the gas in the process A to B=30 joule
+The Work done by the gas in the process B to C=0 joule
+The Work done by the gas in the process C to A=-40 joule \ No newline at end of file