Advertisement
eitherlast

125 прак

Oct 1st, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. import math
  2.  
  3. #h = float(input())
  4. #print('sin a = ', h/1.2, '+', math.sqrt(0.125**2 * (1/1.2) ** 2 + 0.005**2 * (h/1.2) ** 2))
  5. while(1):
  6. t = float(input())
  7. da = math.sqrt(0.005/(2*t**2) ** 2 + (0.9 * 0.002 / t ** 3) ** 2)
  8. dv = math.sqrt((0.005/t) ** 2 + (0.9 * 0.002 /t**2) ** 2)
  9. print('a = ', round(0.9/(2 * t**2), 4), ' + ', round((da), 4))
  10. print('v = ', round(0.9/t, 3), ' + ', round(dv, 3))
  11.  
  12.  
  13. da = math.sqrt(0.005/(2*t**2) ** 2 + (0.9 * 0.002 / t ** 3) ** 2)
  14. dv
  15. print(ds)
  16. ##a = input().split()
  17. ##sum = 0
  18. ##sum2 = 0
  19. ##for i in a:
  20. ## sum += float(i)
  21. ##print(round(sum/len(a), 5), 'среднее арифметическое')
  22. ##for i in a:
  23. ## sum2 += (float(i) - sum/len(a))**2
  24. ##delta_x = round(math.sqrt(sum2/((len(a))**2 - len(a))), 5)
  25. ##print(delta_x, 'среднеквадратичная ошибка')
  26. ##y1 = 3.16
  27. ##y2 = 4.47
  28. ##dx1 = y1 * delta_x
  29. ##dx2 = y2 * delta_x
  30. ##print('a1 = 0,9 ', 'dx1 = ', dx1)
  31. ##print('a2 = 0,95 ', 'dx2 = ', dx2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement