Advertisement
JoelSjogren

Untitled

Oct 25th, 2020
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. box% sage
  2. ┌────────────────────────────────────────────────────────────────────┐
  3. │ SageMath version 9.1, Release Date: 2020-05-20 │
  4. │ Using Python 3.8.6. Type "help()" for help. │
  5. └────────────────────────────────────────────────────────────────────┘
  6. sage: R.<x> = QuadraticField(7)
  7. sage: A = matrix([[4+2*x,6+x,-x],[x,x,-5+10*x],[1+x,-x,2*x]])
  8. sage: A
  9. [ 2*x + 4 x + 6 -x]
  10. [ x x 10*x - 5]
  11. [ x + 1 -x 2*x]
  12. sage: A.determinant()
  13. 243*x + 614
  14. sage: x^2
  15. 7
  16. sage:
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement