summaryrefslogtreecommitdiff
path: root/3648/CH4/EX4.5/Ex4_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH4/EX4.5/Ex4_5.sce')
-rw-r--r--3648/CH4/EX4.5/Ex4_5.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3648/CH4/EX4.5/Ex4_5.sce b/3648/CH4/EX4.5/Ex4_5.sce
new file mode 100644
index 000000000..a04b44dbf
--- /dev/null
+++ b/3648/CH4/EX4.5/Ex4_5.sce
@@ -0,0 +1,12 @@
+//Example 4_5
+clc();
+clear;
+//To find the acceleration of the masses
+w1=10 //units in Kg
+w2=5 //units in Kg
+f1=98 //units in Newtons
+f2=49 //units in Newtons
+w=w1/w2
+T=round((f1+(w*f2))/(w+1)) //units in Newtons
+a=(f1-T)/w1 //units in meters/sec^2
+printf("Acceleration is a=%.1f meters/sec^2",a)