diff options
Diffstat (limited to '980/CH5/EX5.1/5_1.sce')
-rwxr-xr-x | 980/CH5/EX5.1/5_1.sce | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/980/CH5/EX5.1/5_1.sce b/980/CH5/EX5.1/5_1.sce new file mode 100755 index 000000000..b51010a00 --- /dev/null +++ b/980/CH5/EX5.1/5_1.sce @@ -0,0 +1,7 @@ +clc;
+clear;
+format('v',11);
+Q=1*10^-9;
+disp("path of the integration is along a line parallel to the x-axis as y and z are fixed with y=z=1.");
+W=-Q*integrate('x','x',1,0); //putting y=z=1.
+disp(W,"work done(in joule)=");
|