diff options
author | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
commit | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch) | |
tree | 449d555969bfd7befe906877abab098c6e63a0e8 /3862/CH1/EX1.7/Ex1_7.sce | |
parent | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff) | |
download | Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.gz Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.bz2 Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.zip |
Diffstat (limited to '3862/CH1/EX1.7/Ex1_7.sce')
-rw-r--r-- | 3862/CH1/EX1.7/Ex1_7.sce | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/3862/CH1/EX1.7/Ex1_7.sce b/3862/CH1/EX1.7/Ex1_7.sce new file mode 100644 index 000000000..d7190ab81 --- /dev/null +++ b/3862/CH1/EX1.7/Ex1_7.sce @@ -0,0 +1,29 @@ +clear +//The force of 3000 N acts along line AB. Let AB make angle alpha with horizontal. + +// + +//variable declaration +F=3000 //force in newtons,'N' +BC=80 //length of crank BC, 'mm' +AB=200 //length of connecting rod AB ,'mm' +theta=60*%pi/180 //angle b/w BC & AC + +//calculations + +alpha=asin(BC*sin(theta)/200)*180/%pi + +HC=F*cos(alpha*%pi/180) //Horizontal component +VC= F*sin(alpha*%pi/180) //Vertical component + +//Components along and normal to crank +//The force makes angle alpha + 60 with crank. +alpha2=alpha+60 +CAC=F*cos(alpha2*%pi/180) // Component along crank +CNC= F*sin(alpha2*%pi/180) //Component normal to crank + + +printf("\n horizontal component= %0.1f N",HC) +printf("\n Vertical component = %0.1f N",VC) +printf("\n Component along crank = %0.1f N",CAC) +printf("\n Component normal to crank= %0.1f N",CNC) |