summaryrefslogtreecommitdiff
path: root/3137/CH16/EX16.57/Ex16_57.sce
blob: 5bfd14c01d8f31af8d71a4ac40ddbd6a33c7053d (plain)
1
2
3
4
5
6
7
8
9
//Initilization of variables
Na=294 //N
Nb=735 //N
//Calculations
a=(1/10*Nb-1/3*Na)/45 //m/s^2
P=(1/3*Na)-30*a //N
//result
clc
printf('The solution is P=%f N and a=%f m/s^2',P,a)