summaryrefslogtreecommitdiff
path: root/213/CH5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /213/CH5
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '213/CH5')
-rwxr-xr-x213/CH5/EX5.1/5_1.sce16
-rwxr-xr-x213/CH5/EX5.2/5_2.sce19
-rwxr-xr-x213/CH5/EX5.3/5_3.sce18
-rwxr-xr-x213/CH5/EX5.4/5_4.sce18
4 files changed, 71 insertions, 0 deletions
diff --git a/213/CH5/EX5.1/5_1.sce b/213/CH5/EX5.1/5_1.sce
new file mode 100755
index 000000000..b0a8f7b02
--- /dev/null
+++ b/213/CH5/EX5.1/5_1.sce
@@ -0,0 +1,16 @@
+//To find the time ratio
+clc
+//Given:
+AC=300,CB1=120 //mm
+//Solution:
+//Refer Fig. 5.28
+//Calculating the sine of inclination of the slotted bar with the vertical
+sineCAB1=CB1/AC
+//Calculating the inclination of the slotted bar with the vertical
+angleCAB1=asin(sineCAB1)*180/%pi //degrees
+//Calculating the angle alpha
+alpha=2*(90-angleCAB1) //degrees
+//Calculating the ratio of time of cutting stroke to time of return stroke
+r=(360-alpha)/alpha //Ratio of time of cutting stroke to time of return stroke
+//Results:
+printf("\n\n The ratio of the time of cutting stroke to the time of return stroke is %.2f.\n\n",r) \ No newline at end of file
diff --git a/213/CH5/EX5.2/5_2.sce b/213/CH5/EX5.2/5_2.sce
new file mode 100755
index 000000000..aa39b364c
--- /dev/null
+++ b/213/CH5/EX5.2/5_2.sce
@@ -0,0 +1,19 @@
+//To find the time ratio
+clc
+//Given:
+AC=240,CB1=120,AP1=450 //mm
+//Solution:
+//Refer Fig. 5.29
+//Calculating the sine of inclination of the slotted bar with the vertical
+sineCAB1=CB1/AC
+//Calculating the inclination of the slotted bar with the vertical
+angleCAB1=asin(sineCAB1)*180/%pi //degrees
+//Calculating the angle alpha
+alpha=2*(90-angleCAB1) //degrees
+//Calculating the time ratio of cutting stroke to the return stroke
+r=(360-alpha)/alpha //Time ratio of cutting stroke to the return stroke
+//Calculating the length of the stroke
+R1R2=2*AP1*sin(%pi/2-alpha/2*%pi/180) //mm
+//Results:
+printf("\n\n The time ratio of cutting stroke to the return stroke is %d.\n",r)
+printf(" The length of the stroke, R1R2 = P1P2 = %d mm.\n\n",R1R2) \ No newline at end of file
diff --git a/213/CH5/EX5.3/5_3.sce b/213/CH5/EX5.3/5_3.sce
new file mode 100755
index 000000000..504d9cbb7
--- /dev/null
+++ b/213/CH5/EX5.3/5_3.sce
@@ -0,0 +1,18 @@
+//To find the dimensions of AC and AP
+clc
+//Given:
+//Refer Fig. 5.30 and Fig. 5.31
+BC=30,R1R2=120 //mm
+r=1.7 //Time ratio of working stroke to the return stroke
+//Solution:
+//Calculating the angle alpha
+alpha=360/(1.7+1) //degrees
+//Calculating the length of the link AC
+B1C=BC
+AC=B1C/cosd(alpha/2) //mm
+//Calculating the length of the link AP
+AP1=R1R2/(2*cosd(alpha/2)) //mm
+AP=AP1
+//Results:
+printf("\n\n The length of AC = %.1f mm.\n",AC)
+printf(" The length of AP = %.1f mm.\n\n",AP) \ No newline at end of file
diff --git a/213/CH5/EX5.4/5_4.sce b/213/CH5/EX5.4/5_4.sce
new file mode 100755
index 000000000..1a7ef1009
--- /dev/null
+++ b/213/CH5/EX5.4/5_4.sce
@@ -0,0 +1,18 @@
+//To find the time ratio
+clc
+//Given:
+CD=50,CA=75,PA=150,PR=135 //mm
+//Solution:
+//Refer Fig. 5.32 and Fig. 5.33
+//Calculating the cosine of angle beta
+CA2=CA
+cosbeta=CD/CA2
+//Calculating the angle beta
+beta=2*acos(cosbeta)*180/%pi //degrees
+//Calculating the ratio of time of cutting stroke to time of return stroke
+r=(360-beta)/beta //Ratio of time of cutting stroke to time of return stroke
+//Calculating the length of effective stroke
+R1R2=87.5 //mm
+//Results:
+printf("\n\n The ratio of time of cutting stroke to time of return stroke is %.3f.\n",r)
+printf(" The length of effective stroke, R1R2 = %.1f mm.\n\n",R1R2) \ No newline at end of file