summaryrefslogtreecommitdiff
path: root/24/CH11/EX11.3/Example11_3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /24/CH11/EX11.3/Example11_3.sce
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 '24/CH11/EX11.3/Example11_3.sce')
-rwxr-xr-x24/CH11/EX11.3/Example11_3.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/24/CH11/EX11.3/Example11_3.sce b/24/CH11/EX11.3/Example11_3.sce
new file mode 100755
index 000000000..e2cb4b15d
--- /dev/null
+++ b/24/CH11/EX11.3/Example11_3.sce
@@ -0,0 +1,18 @@
+//Given that
+W1 = 3.40 //in rad/s
+W2 = 2.00 //in rad/s
+rev_taken = 20
+
+//Sample Problem 11-3a
+printf("**Sample Problem 11-3a**\n")
+angle_traversed = 2*%pi*rev_taken
+//Using newton's third equation of motion
+//Wf^2 = Wi^2 + 2*alpha*theta
+alpha = (W2^2 - W1^2)/(2*angle_traversed)
+printf("The angular acceleration during the stop is %frads^2\n", alpha)
+
+//Sample Problem 11-3b
+printf("\n**Sample Problem 11-3b**\n")
+//Using newton's first equation of motion
+time_taken = (W2 - W1)/alpha
+printf("The time taken in decreasing the speed is %fsec", time_taken) \ No newline at end of file