summaryrefslogtreecommitdiff
path: root/3204/CH14/EX14.15/Ex14_15.sce
blob: 42e8aac3a2424c2e1114c84d618b8c403544b6e7 (plain)
1
2
3
4
5
6
7
8
9
// Initilization of variables
F=250 // N // Force acting on a body
m=100 // kg // mass of the body
// Calculations
// Using the eq'n of motion
a=F/m // m/s^2 
// Results
clc
printf('The acceleration of the body is %f m/s^2 \n',a)