diff options
Diffstat (limited to '1652/CH10/EX10.5')
-rwxr-xr-x | 1652/CH10/EX10.5/10_5.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/1652/CH10/EX10.5/10_5.sce b/1652/CH10/EX10.5/10_5.sce new file mode 100755 index 000000000..05ebebac8 --- /dev/null +++ b/1652/CH10/EX10.5/10_5.sce @@ -0,0 +1,11 @@ +clc
+//Initialization of variables
+Ha=0
+Hb=0
+//calculations
+H=Ha+Hb
+q=H
+U=0
+w=q-H
+//results
+printf("Work done = %d",w)
|