summaryrefslogtreecommitdiff
path: root/2135/CH1/EX1.28/Exa_1_28.sce
diff options
context:
space:
mode:
Diffstat (limited to '2135/CH1/EX1.28/Exa_1_28.sce')
-rwxr-xr-x2135/CH1/EX1.28/Exa_1_28.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2135/CH1/EX1.28/Exa_1_28.sce b/2135/CH1/EX1.28/Exa_1_28.sce
new file mode 100755
index 000000000..e58d60cf8
--- /dev/null
+++ b/2135/CH1/EX1.28/Exa_1_28.sce
@@ -0,0 +1,12 @@
+//Exa 1.28
+clc;
+clear;
+close;
+format('v',7);
+
+//Given Data :
+V1=2;//m^3
+V2=4;//m^3
+W=integrate('10^5*(V^2+6*V)','V',V1,V2);//Nm or J
+W=W/1000;//KJ
+disp(W,"Work done in KJ : ");