Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from math import *
- A1 = 71.24734
- A2 = 318.40115
- A3 = 264.96212
- A4 = 676.39666
- A5 = 512.35104 # Радианы
- B1 = 0
- B2 = 0
- # Получение В1
- if A1 < 86.4:
- B1 = A3
- else:
- B1 = A3/A1
- # Получение В2
- if B1 >= 178:
- B2 = A3**0.5
- else:
- B2 = B1**4
- sqr = round(sqrt(A4/B2), 5)
- lg = round(cos(A5)/log(A2), 5)
- div = round(log10(B1), 5)
- answer = round(sqr - lg * div, 2)
- print (f'answer: {answer}')
RAW Paste Data
Copied