summaryrefslogtreecommitdiff
path: root/24/CH11/EX11.2/Example11_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '24/CH11/EX11.2/Example11_2.sce')
-rwxr-xr-x24/CH11/EX11.2/Example11_2.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/24/CH11/EX11.2/Example11_2.sce b/24/CH11/EX11.2/Example11_2.sce
new file mode 100755
index 000000000..4d96da78d
--- /dev/null
+++ b/24/CH11/EX11.2/Example11_2.sce
@@ -0,0 +1,19 @@
+//Given that
+alpha = 0.335 //in rad/s^2
+Wo = -4.6 //in rad/s
+Ao = 0 //in rad
+Af = 5* 2*%pi //in rad
+
+//Sample Problem 11-2a
+printf("**Sample Problem 11-2a**\n")
+//Using newton's second equation of motion
+t = poly(0, 't')
+p = Ao + Wo*t + 0.5*alpha*t^2 - Af
+to = roots(p)
+printf("At time equal to %fsec, the reference line will be at given position\n", to(2))
+
+//Sample Problem 11-2c
+printf("\n**Sample Problem 11-2c**\n")
+p = Wo + alpha*t
+ts = roots(p)
+printf("At time equal to %fsec, the disk momentarily stops", ts) \ No newline at end of file