summaryrefslogtreecommitdiff
path: root/551/CH4/EX4.25/25.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /551/CH4/EX4.25/25.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '551/CH4/EX4.25/25.sce')
-rwxr-xr-x551/CH4/EX4.25/25.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/551/CH4/EX4.25/25.sce b/551/CH4/EX4.25/25.sce
new file mode 100755
index 000000000..278dce86c
--- /dev/null
+++ b/551/CH4/EX4.25/25.sce
@@ -0,0 +1,20 @@
+clc
+d=0.15; //m
+T=303; //K
+p=3*10^5; //N/m^2
+l=0.085; //m
+Q=-4000; //J
+
+disp("(i) Workdone by the system")
+dv=%pi/4*d^2*l;
+W=p*dv;
+disp("W=")
+disp(W/10^3)
+disp("kJ")
+
+
+disp("(ii) Decrease in internal energy of the system")
+dU=(Q-W)/10^3;
+disp("Decrease in internal energy = ")
+disp(-dU)
+disp("kJ") \ No newline at end of file