PorisulkiP

Номер 2

Jul 5th, 2022 (edited)
654
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None
  1. from math import *
  2.  
  3. A1 = 354.35257 # Радиана
  4. A2 = 440.01065
  5. A3 = 473.13685
  6. A4 = 9.43904
  7. A5 = 32.72762 # Градусы
  8.  
  9. # Радианы переводятся в градусы
  10. A5 = radians(A5)
  11.  
  12. sqr = round(sqrt(abs(tan(A1 + A5)/A3)), 5)
  13. lg = round(A2 ** log10(A3), 5)
  14. div = round(A2/tan(A1+A5), 5)
  15.  
  16. answer = round(sqr * lg - div, 2)
  17. print (f'answer: {answer}')
RAW Paste Data Copied