Advertisement
vatman

Untitled

Dec 4th, 2023
842
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.32 KB | None | 0 0
  1. # Задаем параметры
  2. L = 0.5
  3. L1 = 0.2
  4. L2 = 0.4
  5. C1 = 5
  6. C2 = 5
  7. m1=(L+L1)*C1
  8. m2=(L+L2)*C2
  9. b=L*np.sqrt(C1*C2)
  10. # Вычисляем частоты
  11. w1 = np.sqrt(m1/abs(b*b-m1*m2))
  12. w2 = np.sqrt(m2/abs(b*b-m1*m2))
  13. a = np.sqrt(b*b)/abs(b*b-m1*m2)
  14. print(m1)
  15. print(m2)
  16. print(b)
  17. print(w1)
  18. print(w2)
  19. print(a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement