Guest User

Untitled

a guest
Oct 19th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. PARI/GP is free software,
  2. covered by the GNU General Public License,
  3. and comes WITHOUT ANY WARRANTY WHATSOEVER.
  4.  
  5. parisize = 4000000, primelimit = 500000
  6.  
  7. ? a = [ 6,3,-1; 3,2,0; -1,0,0]
  8. %1 =
  9. [ 6 3 -1]
  10.  
  11. [ 3 2 0]
  12.  
  13. [-1 0 0]
  14.  
  15. ? b = [ -2,4,2;4,8,4;2,4,-2]
  16. %2 =
  17. [-2 4 2]
  18.  
  19. [ 4 8 4]
  20.  
  21. [ 2 4 -2]
  22.  
  23.  
  24. ? h = t * a - b
  25. %8 =
  26. [6*t + 2 3*t - 4 -t - 2]
  27.  
  28. [3*t - 4 2*t - 8 -4]
  29.  
  30. [ -t - 2 -4 2]
  31.  
  32.  
  33. ? d
  34. %10 = d
  35. ? d = matdet(h)
  36. %11 = -2*t^3 + 30*t^2 - 96*t - 128
  37. ? factor(d)
  38. %12 =
  39. [t - 8 2]
  40.  
  41. [t + 1 1]
  42.  
  43. ?
Add Comment
Please, Sign In to add comment