summaryrefslogtreecommitdiff
path: root/3850/CH26/EX26.1/Ex26_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3850/CH26/EX26.1/Ex26_1.sce')
-rw-r--r--3850/CH26/EX26.1/Ex26_1.sce16
1 files changed, 16 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);