From 7bc77cb1ed33745c720952c92b3b2747c5cbf2df Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Sat, 3 Feb 2018 11:01:52 +0530 Subject: Added new code --- 3862/CH2/EX2.2/Ex2_2.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 3862/CH2/EX2.2/Ex2_2.sce (limited to '3862/CH2/EX2.2/Ex2_2.sce') diff --git a/3862/CH2/EX2.2/Ex2_2.sce b/3862/CH2/EX2.2/Ex2_2.sce new file mode 100644 index 000000000..521430bff --- /dev/null +++ b/3862/CH2/EX2.2/Ex2_2.sce @@ -0,0 +1,14 @@ +clear +// +//F force +//hd horizontal distance +//vd vertical distance +//O angle +//M moment of force +//Taking clockwise moment as positive +//calculations +F=5000.0 +o=37 +M=8000.0 +hd=M/(F*cos(o*3.14/180)) +printf("\n %s %.2f %s" ,"\n \n Distance = %0.3f ",hd,"m") -- cgit