summaryrefslogtreecommitdiff
path: root/3862/CH6/EX6.1/Ex6_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3862/CH6/EX6.1/Ex6_1.sce')
-rw-r--r--3862/CH6/EX6.1/Ex6_1.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3862/CH6/EX6.1/Ex6_1.sce b/3862/CH6/EX6.1/Ex6_1.sce
new file mode 100644
index 000000000..72f566c04
--- /dev/null
+++ b/3862/CH6/EX6.1/Ex6_1.sce
@@ -0,0 +1,20 @@
+clear
+//
+W = 10000.0 //Load
+P = 500.0 //Effort
+D = 20.0 //Distance moved by the effort
+d = 0.8 //Distance moved by the load
+MA=W/P //Mechanical advantage
+VR=D/d //Velocity Ratio
+Efficiency=MA/VR
+Pi =W/VR //Ideal effort
+Wi = P*VR //ideal load
+efl=P-Pi //Effort lost in friction
+Fr=Wi-W //frictional resistance
+printf(" Mechanical advantage-- %0.3f",MA)
+printf("\n Velocity Ratio %0.3f",VR)
+printf("\n Efficiency %0.3f",Efficiency)
+printf("\n Ideal Load %0.3f",Wi)
+printf("\n Ideal Effort %0.3f",Pi)
+printf("\n Effort lost in friction %0.3f",efl)
+printf("\n frictional resistance %0.3f",Fr)