The teacher will be very surprised to see your correct solution 😉
(3*x - 2)*(3*x - 1)*3*x = 504
x = 9 / (3)
a*x^2 + b*x + c = 0
D = b^2 - 4 * a * c =
(18)^2 - 4 * (9) * (56) = -1692
x2 = (-b + sqrt(D)) / (2*a)
x3 = (-b - sqrt(D)) / (2*a)
sum
____ ____
I*\/ 47 I*\/ 47
3 + -1 - -------- + -1 + --------
3 3
=
1
product
/ ____\ / ____\ | I*\/ 47 | | I*\/ 47 | 3*|-1 - --------|*|-1 + --------| \ 3 / \ 3 /
=
56/3
56/3
x1 = 3
____
I*\/ 47
x2 = -1 - --------
3
____
I*\/ 47
x3 = -1 + --------
3
x3 = -1 + sqrt(47)*i/3
x1 = 3.0
x2 = -1.0 + 2.28521820013368*i
x3 = -1.0 - 2.28521820013368*i
x3 = -1.0 - 2.28521820013368*i