blob: 5f5e51e5602c4f8c32f6737f76ce7056b3963c0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clc
//initialisation of variables
q=29.43//kg
v=10//m/sec
p=2//kg
g=9.81//m/sec
//CALCULATIONS
a=q/g//kg*m^-1 sec^2
V=v-a*(p/a)//m/sec
//RESULTS
printf('The velocity of the body three secounds after =% f m/sec',V)
|