Advertisement
JoelSjogren

Untitled

Nov 7th, 2020
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. R.<a,b,c,d,x> = PolynomialRing(ZZ)
  2. y = a*x^3 + b*x^2 + c*x + d
  3.  
  4. x0 = -b/(3*a)
  5. y0 = y(x=x0)
  6.  
  7. assert y0-y(x=x0-x+x0)+y0 == y
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement