summaryrefslogtreecommitdiff
path: root/2339/CH1/EX1.1.2/Ex1_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2339/CH1/EX1.1.2/Ex1_2.sce')
-rwxr-xr-x2339/CH1/EX1.1.2/Ex1_2.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2339/CH1/EX1.1.2/Ex1_2.sce b/2339/CH1/EX1.1.2/Ex1_2.sce
new file mode 100755
index 000000000..3e1f36005
--- /dev/null
+++ b/2339/CH1/EX1.1.2/Ex1_2.sce
@@ -0,0 +1,10 @@
+clc
+clear
+
+//Declaring values
+Q=-700;
+W=-3000;
+m=5;
+U=Q-W;
+Us=U/m;
+printf('Change in Specific Energy= %3.0f J/kg',Us); //displaying result