summaryrefslogtreecommitdiff
path: root/1862/CH11/EX11.7/C11P7.sce
blob: 4af03aae89ee8e5eedbda5350042dbc6cc5b8384 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

clear
 clc
//to find speed of body when it strikes the ground

// GIVEN::
//mass of body
m = 4.5//in kg
//height from which body is dropped
h = 10.5//in meters
//acceleration due to gravity
g = 9.80//in m/s^2

// SOLUTION:
//using work-energy principle
//speed of body when it strikes the ground
v = sqrt(2*g*h)//in m/s
printf ("\n\n Speed of body when it strikes the ground v = \n\n %.1f m/s",v);