Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. //q^3 - 3q^2 - q + 1= 0
  2.  
  3. q1 = 1 - ((1 - isqrt(3)) * (9 + isqrt(111))^(1/3)) / (2 * 3^(2/3)) - 2(1 + isqrt(3)) / (3*(9 + isqrt(111)))^(1/3)
  4.  
  5. q2 = 1 - ((1 + isqrt(3)) * (9 + isqrt(111))^(1/3)) / (2 * 3^(2/3)) - 2(1 - isqrt(3)) / (3*(9 + isqrt(111)))^(1/3)
  6.  
  7. q3 = 1 + (9 + isqrt(111))^(1/3) / 3^(2/3) + 4 / ((3*(9 + isqrt(111)))^(1/3))
  8.  
  9. solve A*q1+B*q2+C*q3=1 and A*q1^2+B*q2^2+C*q3^2=2 and A*q1^3+B*q2^3+C*q3^3=7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement