diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1055/CH17/EX17.4/ch17_4.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1055/CH17/EX17.4/ch17_4.sce')
-rwxr-xr-x | 1055/CH17/EX17.4/ch17_4.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1055/CH17/EX17.4/ch17_4.sce b/1055/CH17/EX17.4/ch17_4.sce new file mode 100755 index 000000000..616ef58ce --- /dev/null +++ b/1055/CH17/EX17.4/ch17_4.sce @@ -0,0 +1,14 @@ +// To calculate the critical clearing angle for the condition described.
+clear
+clc;
+sindo=.5;
+d0=asind(sindo)*%pi/180;
+r1=.2;
+r2=.75;
+sindm=.5/.75;
+d=asind(sindm);
+cosdm=cosd(d);
+dm=%pi*(180-(asind(sindm)))/180;
+Dc=((.5*(dm-d0))-(r2*cosdm)-(r1*cosd(d0)))/(r2-r1);
+dc=acosd(Dc);// critical angle
+mprintf("The critical clearing angle is given by=%.2f degrees",dc);//Answers don't match due to difference in rounding off of digits
|