Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- #h = float(input())
- #print('sin a = ', h/1.2, '+', math.sqrt(0.125**2 * (1/1.2) ** 2 + 0.005**2 * (h/1.2) ** 2))
- while(1):
- t = float(input())
- da = math.sqrt(0.005/(2*t**2) ** 2 + (0.9 * 0.002 / t ** 3) ** 2)
- dv = math.sqrt((0.005/t) ** 2 + (0.9 * 0.002 /t**2) ** 2)
- print('a = ', round(0.9/(2 * t**2), 4), ' + ', round((da), 4))
- print('v = ', round(0.9/t, 3), ' + ', round(dv, 3))
- da = math.sqrt(0.005/(2*t**2) ** 2 + (0.9 * 0.002 / t ** 3) ** 2)
- dv
- print(ds)
- ##a = input().split()
- ##sum = 0
- ##sum2 = 0
- ##for i in a:
- ## sum += float(i)
- ##print(round(sum/len(a), 5), 'среднее арифметическое')
- ##for i in a:
- ## sum2 += (float(i) - sum/len(a))**2
- ##delta_x = round(math.sqrt(sum2/((len(a))**2 - len(a))), 5)
- ##print(delta_x, 'среднеквадратичная ошибка')
- ##y1 = 3.16
- ##y2 = 4.47
- ##dx1 = y1 * delta_x
- ##dx2 = y2 * delta_x
- ##print('a1 = 0,9 ', 'dx1 = ', dx1)
- ##print('a2 = 0,95 ', 'dx2 = ', dx2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement