diff options
author | Siddharth Agarwal | 2019-09-03 18:27:40 +0530 |
---|---|---|
committer | Siddharth Agarwal | 2019-09-03 18:27:40 +0530 |
commit | 8ac15bc5efafa2afc053c293152605b0e6ae60ff (patch) | |
tree | e1bc17aae137922b1ee990f17aae4a6cb15b7d87 /Working_Examples/3885/CH2/EX2.3/Ex2_3.sci | |
parent | 52a477ec613900885e29c4a0b02806a415b4f83a (diff) | |
download | Xcos_block_examples-master.tar.gz Xcos_block_examples-master.tar.bz2 Xcos_block_examples-master.zip |
Diffstat (limited to 'Working_Examples/3885/CH2/EX2.3/Ex2_3.sci')
-rwxr-xr-x | Working_Examples/3885/CH2/EX2.3/Ex2_3.sci | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Working_Examples/3885/CH2/EX2.3/Ex2_3.sci b/Working_Examples/3885/CH2/EX2.3/Ex2_3.sci new file mode 100755 index 0000000..a61eea7 --- /dev/null +++ b/Working_Examples/3885/CH2/EX2.3/Ex2_3.sci @@ -0,0 +1,31 @@ +//control systems by Nagoor Kani A
+//Edition 3
+//Year of publication 2015
+//Scilab version 6.0.0
+//operating systems windows 10
+// Example 2.3
+clc;
+clear;
+n1=200//no of teeth in gear1
+n2=50//no of teeth in gear2
+n3=100//no of teeth in gear3
+n4=50//no of teeth in gear4
+n5=40//no of teeth in gear5
+n6=20//no of teeth in gear6
+n7=150//no of teeth in gear7
+//if gear 1 rotates in clockwise then all odd no gears rotate in clockwisw and even no gear rotate in anticlockwise
+ad1=2//angular displacement in gear 1 is 2rad
+ad4=(n1/n4)*ad1
+disp(ad4,'angular displacement in gear 4 in rad (anticlockwise)')
+ad7=(n1/n7)*ad1
+disp(ad7,'angular displacement in gear 7 in rad (clockwise)')
+av6=20//angular velocity of gear 6 is 20 rad/sec
+av1=(n6/n1)*av6
+disp(av1,'angular velocity of gear 1 in rad/sec; (clockwise)')
+av3=(n6/n3)*av6
+disp(av3,'angular velocity of gear 3 in rad/sec; (clockwise)')
+t1=10//torque on gear 1 is 10 N-m
+t3=(n3/n1)*t1
+disp(t3,'torque in gear 3 in N-m')
+t7=(n7/n1)*t1
+disp(t7,'torque in gear 7 in N-m')
|