summaryrefslogtreecommitdiff
path: root/3137/CH12/EX12.30
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3137/CH12/EX12.30
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 '3137/CH12/EX12.30')
-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)