El profesor se sorprenderá mucho al ver tu solución correcta😉
a*x^2 + b*x + c = 0
D = b^2 - 4 * a * c =
(-1)^2 - 4 * (-1) * (20 + x2) = 81 + 4*x2
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
suma
_______________________________ _______________________________ _______________________________ _______________________________ 4 / 2 2 /atan2(4*im(x2), 81 + 4*re(x2))\ 4 / 2 2 /atan2(4*im(x2), 81 + 4*re(x2))\ 4 / 2 2 /atan2(4*im(x2), 81 + 4*re(x2))\ 4 / 2 2 /atan2(4*im(x2), 81 + 4*re(x2))\ \/ (81 + 4*re(x2)) + 16*im (x2) *cos|------------------------------| I*\/ (81 + 4*re(x2)) + 16*im (x2) *sin|------------------------------| \/ (81 + 4*re(x2)) + 16*im (x2) *cos|------------------------------| I*\/ (81 + 4*re(x2)) + 16*im (x2) *sin|------------------------------| 1 \ 2 / \ 2 / 1 \ 2 / \ 2 / - - - ---------------------------------------------------------------------- - ------------------------------------------------------------------------ + - - + ---------------------------------------------------------------------- + ------------------------------------------------------------------------ 2 2 2 2 2 2
=
-1
producto
/ _______________________________ _______________________________ \ / _______________________________ _______________________________ \ | 4 / 2 2 /atan2(4*im(x2), 81 + 4*re(x2))\ 4 / 2 2 /atan2(4*im(x2), 81 + 4*re(x2))\| | 4 / 2 2 /atan2(4*im(x2), 81 + 4*re(x2))\ 4 / 2 2 /atan2(4*im(x2), 81 + 4*re(x2))\| | \/ (81 + 4*re(x2)) + 16*im (x2) *cos|------------------------------| I*\/ (81 + 4*re(x2)) + 16*im (x2) *sin|------------------------------|| | \/ (81 + 4*re(x2)) + 16*im (x2) *cos|------------------------------| I*\/ (81 + 4*re(x2)) + 16*im (x2) *sin|------------------------------|| | 1 \ 2 / \ 2 /| | 1 \ 2 / \ 2 /| |- - - ---------------------------------------------------------------------- - ------------------------------------------------------------------------|*|- - + ---------------------------------------------------------------------- + ------------------------------------------------------------------------| \ 2 2 2 / \ 2 2 2 /
=
-20 - re(x2) - I*im(x2)
-20 - re(x2) - i*im(x2)
_______________________________ _______________________________ 4 / 2 2 /atan2(4*im(x2), 81 + 4*re(x2))\ 4 / 2 2 /atan2(4*im(x2), 81 + 4*re(x2))\ \/ (81 + 4*re(x2)) + 16*im (x2) *cos|------------------------------| I*\/ (81 + 4*re(x2)) + 16*im (x2) *sin|------------------------------| 1 \ 2 / \ 2 / x1 = - - - ---------------------------------------------------------------------- - ------------------------------------------------------------------------ 2 2 2
_______________________________ _______________________________ 4 / 2 2 /atan2(4*im(x2), 81 + 4*re(x2))\ 4 / 2 2 /atan2(4*im(x2), 81 + 4*re(x2))\ \/ (81 + 4*re(x2)) + 16*im (x2) *cos|------------------------------| I*\/ (81 + 4*re(x2)) + 16*im (x2) *sin|------------------------------| 1 \ 2 / \ 2 / x2 = - - + ---------------------------------------------------------------------- + ------------------------------------------------------------------------ 2 2 2
x2 = i*((4*re(x2) + 81)^2 + 16*im(x2)^2)^(1/4)*sin(atan2(4*im(x2, 4*re(x2) + 81)/2)/2 + ((4*re(x2) + 81)^2 + 16*im(x2)^2)^(1/4)*cos(atan2(4*im(x2), 4*re(x2) + 81)/2)/2 - 1/2)