summaryrefslogtreecommitdiff
path: root/2135/CH1/EX1.29/Exa_1_29.sce
diff options
context:
space:
mode:
Diffstat (limited to '2135/CH1/EX1.29/Exa_1_29.sce')
-rwxr-xr-x2135/CH1/EX1.29/Exa_1_29.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2135/CH1/EX1.29/Exa_1_29.sce b/2135/CH1/EX1.29/Exa_1_29.sce
new file mode 100755
index 000000000..15acc1f43
--- /dev/null
+++ b/2135/CH1/EX1.29/Exa_1_29.sce
@@ -0,0 +1,15 @@
+//Exa 1.29
+clc;
+clear;
+close;
+format('v',7);
+
+//Given Data :
+p1=3;//bar
+V1=0.18;//m^3/Kg
+p2=0.6;//bar
+C=p1*10^5*V1^2;//Nm
+V2=sqrt((p1/p2)*V1^2);//m^3Kg
+W=integrate('C/V^2','V',V1,V2);//Nm/Kg
+W=W/1000;//KJ/Kg
+disp(W,"Work done in KJ/Kg : ");