Guest User

Untitled

a guest
Feb 21st, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. import math
  2. c=50
  3. h=30
  4. value=[]
  5. def equation(a1,b1,c1):
  6. for i in (a1,b1,c1):
  7. value.append(int(math.sqrt(2*c*a1/h)))
  8. value.append(int(math.sqrt(2*c*b1/h)))
  9. value.append(int(math.sqrt(2*c*c1/h)))
  10. print (value)
  11.  
  12. [18, 12, 24]
  13. [18, 12, 24, 18, 12, 24]
  14. [18, 12, 24, 18, 12, 24, 18, 12, 24]
  15.  
  16. [18, 12, 24]
Add Comment
Please, Sign In to add comment