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