summaryrefslogtreecommitdiff
path: root/3137/CH16/EX16.62/Ex16_62.sce
diff options
context:
space:
mode:
Diffstat (limited to '3137/CH16/EX16.62/Ex16_62.sce')
-rwxr-xr-x3137/CH16/EX16.62/Ex16_62.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3137/CH16/EX16.62/Ex16_62.sce b/3137/CH16/EX16.62/Ex16_62.sce
new file mode 100755
index 000000000..d38080915
--- /dev/null
+++ b/3137/CH16/EX16.62/Ex16_62.sce
@@ -0,0 +1,12 @@
+//Initilization of variables
+m=7 //kg
+g=9.8 //m/s^2
+r=0.5 //m
+I=0.875 //kg.m^2
+//Calculations
+//Solving for alpha and T
+alpha=(m*g*r)/(I+m*r*0.5) //rad/s^2
+T=(I*alpha)/r //N
+//Result
+clc
+printf('The soultion is alpha =%f rad/s^2 and T=%f N',alpha,T)