Advertisement
JoelSjogren

Untitled

Nov 12th, 2020
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. box% sage
  2. ┌────────────────────────────────────────────────────────────────────┐
  3. │ SageMath version 9.2, Release Date: 2020-10-24 │
  4. │ Using Python 3.8.6. Type "help()" for help. │
  5. └────────────────────────────────────────────────────────────────────┘
  6. sage: A = matrix([[0,0,-3],[1,0,6],[0,1,-3]])
  7. sage: (1/A^2).characteristic_polynomial() # 3.1
  8. x^3 - 2*x^2 + 7/3*x - 1/9
  9. sage: (A^2).characteristic_polynomial() # 3.2
  10. x^3 - 21*x^2 + 18*x - 9
  11. sage:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement