summaryrefslogtreecommitdiff
path: root/3648/CH5/EX5.1
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH5/EX5.1')
-rw-r--r--3648/CH5/EX5.1/Ex5_1.sce7
-rw-r--r--3648/CH5/EX5.1/Ex5_1.txt1
2 files changed, 8 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)
diff --git a/3648/CH5/EX5.1/Ex5_1.txt b/3648/CH5/EX5.1/Ex5_1.txt
new file mode 100644
index 000000000..2d2af18a1
--- /dev/null
+++ b/3648/CH5/EX5.1/Ex5_1.txt
@@ -0,0 +1 @@
+The work done is W=0 Joules \ No newline at end of file