DrizzerX

exa

Feb 26th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. import math
  2. R = (int)(input("Radio: "))
  3. H  = (int)(input("Hipotenusa: "))
  4.  
  5. lado= math.sqrt((H**2 - R**2))
  6. areac = (math.pi*(R**2))/2
  7. areat = ((R*lado)/2)*2
  8.  
  9. total = areac + areat
  10.  
  11. print("AREA: %f metros cuadrados" % (total))
Advertisement
Add Comment
Please, Sign In to add comment