diff options
Diffstat (limited to '3648/CH5/EX5.1/Ex5_1.sce')
-rw-r--r-- | 3648/CH5/EX5.1/Ex5_1.sce | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/3648/CH5/EX5.1/Ex5_1.sce b/3648/CH5/EX5.1/Ex5_1.sce new file mode 100644 index 000000000..3d6958cbd --- /dev/null +++ b/3648/CH5/EX5.1/Ex5_1.sce @@ -0,0 +1,7 @@ +//Example 5_1
+clc();
+clear;
+//To calculate the work done
+Fs=8 //units in meters
+W=Fs*round(cos(%pi/2)) //units in Joules
+printf("The work done is W=%d Joules",W)
|