summaryrefslogtreecommitdiff
path: root/3137/CH12/EX12.30/Ex12_30.sce
diff options
context:
space:
mode:
Diffstat (limited to '3137/CH12/EX12.30/Ex12_30.sce')
-rwxr-xr-x3137/CH12/EX12.30/Ex12_30.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3137/CH12/EX12.30/Ex12_30.sce b/3137/CH12/EX12.30/Ex12_30.sce
new file mode 100755
index 000000000..66049b267
--- /dev/null
+++ b/3137/CH12/EX12.30/Ex12_30.sce
@@ -0,0 +1,15 @@
+//Initilization of variables
+wb=40 //rpm
+we=60 //rpm
+t1=5 //s using different symbol to avoid conflict in decleration
+t=2 //s
+r=2 //ft
+//Calculations
+alpha=(((we*2*%pi)/60)-((wb*2*%pi)/60))/t1 //rad/s^2
+w=((wb*2*%pi)/60)+alpha*t //rad/s
+//Components of acceleration are
+a_t=r*alpha //ft/s^2
+a_n=r*w^2 //ft/s
+//result
+clc
+printf('The tangential and normal acceleration\n are %f rad/s^2 and %frad/s^2 respectively',a_t,a_n)