diff options
Diffstat (limited to '551/CH2/EX2.19/19.sce')
-rwxr-xr-x | 551/CH2/EX2.19/19.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/551/CH2/EX2.19/19.sce b/551/CH2/EX2.19/19.sce new file mode 100755 index 000000000..2088479ff --- /dev/null +++ b/551/CH2/EX2.19/19.sce @@ -0,0 +1,9 @@ +clc
+p1=1.5; //bar
+p2=7.5; //bar
+V1=3/p1;
+V2=3/p2;
+W=integrate('3/V*10^2', 'V', V1, V2);
+disp("Work done=")
+disp(W)
+disp("kJ")
\ No newline at end of file |