y^2=2*log(c/cos(x)) la ecuación
El profesor se sorprenderá mucho al ver tu solución correcta😉
Solución
Solución detallada
Tenemos la ecuación
$$y^{2} = 2 \log{\left(\frac{c}{\cos{\left(x \right)}} \right)}$$
cambiamos
$$y^{2} - 2 \log{\left(\frac{c}{\cos{\left(x \right)}} \right)} - 1 = 0$$
$$y^{2} - 2 \log{\left(\frac{c}{\cos{\left(x \right)}} \right)} - 1 = 0$$
Sustituimos
$$w = \log{\left(\frac{c}{\cos{\left(x \right)}} \right)}$$
Transportamos los términos libres (sin w)
del miembro izquierdo al derecho, obtenemos:
$$- 2 w + y^{2} = 1$$
Dividamos ambos miembros de la ecuación en (y^2 - 2*w)/w
w = 1 / ((y^2 - 2*w)/w)
Obtenemos la respuesta: w = -1/2 + y^2/2
hacemos cambio inverso
$$\log{\left(\frac{c}{\cos{\left(x \right)}} \right)} = w$$
sustituimos w:
/ / 2 \\ / / 2 \\
| | -y || | | -y ||
| | ----|| | | ----||
| | 2 || | | 2 ||
x1 = - re\acos\c*e // + 2*pi - I*im\acos\c*e //
$$x_{1} = - \operatorname{re}{\left(\operatorname{acos}{\left(c e^{- \frac{y^{2}}{2}} \right)}\right)} - i \operatorname{im}{\left(\operatorname{acos}{\left(c e^{- \frac{y^{2}}{2}} \right)}\right)} + 2 \pi$$
/ / 2 \\ / / 2 \\
| | -y || | | -y ||
| | ----|| | | ----||
| | 2 || | | 2 ||
x2 = I*im\acos\c*e // + re\acos\c*e //
$$x_{2} = \operatorname{re}{\left(\operatorname{acos}{\left(c e^{- \frac{y^{2}}{2}} \right)}\right)} + i \operatorname{im}{\left(\operatorname{acos}{\left(c e^{- \frac{y^{2}}{2}} \right)}\right)}$$
x2 = re(acos(c*exp(-y^2/2))) + i*im(acos(c*exp(-y^2/2)))
Suma y producto de raíces
[src]
/ / 2 \\ / / 2 \\ / / 2 \\ / / 2 \\
| | -y || | | -y || | | -y || | | -y ||
| | ----|| | | ----|| | | ----|| | | ----||
| | 2 || | | 2 || | | 2 || | | 2 ||
- re\acos\c*e // + 2*pi - I*im\acos\c*e // + I*im\acos\c*e // + re\acos\c*e //
$$\left(\operatorname{re}{\left(\operatorname{acos}{\left(c e^{- \frac{y^{2}}{2}} \right)}\right)} + i \operatorname{im}{\left(\operatorname{acos}{\left(c e^{- \frac{y^{2}}{2}} \right)}\right)}\right) + \left(- \operatorname{re}{\left(\operatorname{acos}{\left(c e^{- \frac{y^{2}}{2}} \right)}\right)} - i \operatorname{im}{\left(\operatorname{acos}{\left(c e^{- \frac{y^{2}}{2}} \right)}\right)} + 2 \pi\right)$$
$$2 \pi$$
/ / / 2 \\ / / 2 \\\ / / / 2 \\ / / 2 \\\
| | | -y || | | -y ||| | | | -y || | | -y |||
| | | ----|| | | ----||| | | | ----|| | | ----|||
| | | 2 || | | 2 ||| | | | 2 || | | 2 |||
\- re\acos\c*e // + 2*pi - I*im\acos\c*e ///*\I*im\acos\c*e // + re\acos\c*e ///
$$\left(\operatorname{re}{\left(\operatorname{acos}{\left(c e^{- \frac{y^{2}}{2}} \right)}\right)} + i \operatorname{im}{\left(\operatorname{acos}{\left(c e^{- \frac{y^{2}}{2}} \right)}\right)}\right) \left(- \operatorname{re}{\left(\operatorname{acos}{\left(c e^{- \frac{y^{2}}{2}} \right)}\right)} - i \operatorname{im}{\left(\operatorname{acos}{\left(c e^{- \frac{y^{2}}{2}} \right)}\right)} + 2 \pi\right)$$
/ / / 2 \\ / / 2 \\\ / / / 2 \\ / / 2 \\\
| | | -y || | | -y ||| | | | -y || | | -y |||
| | | ----|| | | ----||| | | | ----|| | | ----|||
| | | 2 || | | 2 ||| | | | 2 || | | 2 |||
-\I*im\acos\c*e // + re\acos\c*e ///*\-2*pi + I*im\acos\c*e // + re\acos\c*e ///
$$- \left(\operatorname{re}{\left(\operatorname{acos}{\left(c e^{- \frac{y^{2}}{2}} \right)}\right)} + i \operatorname{im}{\left(\operatorname{acos}{\left(c e^{- \frac{y^{2}}{2}} \right)}\right)}\right) \left(\operatorname{re}{\left(\operatorname{acos}{\left(c e^{- \frac{y^{2}}{2}} \right)}\right)} + i \operatorname{im}{\left(\operatorname{acos}{\left(c e^{- \frac{y^{2}}{2}} \right)}\right)} - 2 \pi\right)$$
-(i*im(acos(c*exp(-y^2/2))) + re(acos(c*exp(-y^2/2))))*(-2*pi + i*im(acos(c*exp(-y^2/2))) + re(acos(c*exp(-y^2/2))))