summaryrefslogtreecommitdiff
path: root/3647/CH4/EX4.3/ex4_3.sce
blob: 35106883a626ac6b167eca508356da1cca0720d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
w=20//lbf
p=12//ft/s
v1=15//ft/s
g=32.2//ft
v2=10//ft/s
d1=6//in
d2=9//in
a=10.82//in
//CALCULATIONS
Um=(v2*p)/sqrt(a^2-d2^2)//sec^-1
P=2*%pi/Um//sec
V=w*a//in/s
M=w^2*a/p//ft/s
F=(w/g)*M//lbf
//RESULTS
printf('the velocity=% f in',a)
printf('periodic time=% f sec',P)
printf('the maximum velocity=% f in/s',V)
printf('maximum acceleration=% f lbf',F)