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