diff options
Diffstat (limited to '3862/CH2/EX2.2/Ex2_2.sce')
-rw-r--r-- | 3862/CH2/EX2.2/Ex2_2.sce | 14 |
1 files changed, 14 insertions, 0 deletions
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") |