blob: 7167fc1723fc698f2caafb991d3a46bebbc5ab33 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
get input user input on width (float)
if greater than 400 or less than 1, ask again.
repeat upper lines for variable length
set area to ((width * length)/2)/10000
print area
set aspect_ratio to width/length
if aspect_ration is greater than one, warn user
constant kite_weight set to 135
set mass to (area*kite_weight)/10000
print mass
constant gravitational_constant set to 9.8
set gravitational_pull to mass*gravitational_constant
print gravitational_pull
|