sin(x)=pi/2 equation
The teacher will be very surprised to see your correct solution 😉
The solution
Detail solution
Given the equation
$$\sin{\left(x \right)} = \frac{\pi}{2}$$
- this is the simplest trigonometric equation
As right part of the equation
modulo =
True
but sin
can no be more than 1 or less than -1
so the solution of the equation d'not exist.
/ /pi\\ / /pi\\
x1 = pi - re|asin|--|| - I*im|asin|--||
\ \2 // \ \2 //
$$x_{1} = - \operatorname{re}{\left(\operatorname{asin}{\left(\frac{\pi}{2} \right)}\right)} + \pi - i \operatorname{im}{\left(\operatorname{asin}{\left(\frac{\pi}{2} \right)}\right)}$$
/ /pi\\ / /pi\\
x2 = I*im|asin|--|| + re|asin|--||
\ \2 // \ \2 //
$$x_{2} = \operatorname{re}{\left(\operatorname{asin}{\left(\frac{\pi}{2} \right)}\right)} + i \operatorname{im}{\left(\operatorname{asin}{\left(\frac{\pi}{2} \right)}\right)}$$
x2 = re(asin(pi/2)) + i*im(asin(pi/2))
Sum and product of roots
[src]
/ /pi\\ / /pi\\ / /pi\\ / /pi\\
pi - re|asin|--|| - I*im|asin|--|| + I*im|asin|--|| + re|asin|--||
\ \2 // \ \2 // \ \2 // \ \2 //
$$\left(\operatorname{re}{\left(\operatorname{asin}{\left(\frac{\pi}{2} \right)}\right)} + i \operatorname{im}{\left(\operatorname{asin}{\left(\frac{\pi}{2} \right)}\right)}\right) + \left(- \operatorname{re}{\left(\operatorname{asin}{\left(\frac{\pi}{2} \right)}\right)} + \pi - i \operatorname{im}{\left(\operatorname{asin}{\left(\frac{\pi}{2} \right)}\right)}\right)$$
$$\pi$$
/ / /pi\\ / /pi\\\ / / /pi\\ / /pi\\\
|pi - re|asin|--|| - I*im|asin|--|||*|I*im|asin|--|| + re|asin|--|||
\ \ \2 // \ \2 /// \ \ \2 // \ \2 ///
$$\left(\operatorname{re}{\left(\operatorname{asin}{\left(\frac{\pi}{2} \right)}\right)} + i \operatorname{im}{\left(\operatorname{asin}{\left(\frac{\pi}{2} \right)}\right)}\right) \left(- \operatorname{re}{\left(\operatorname{asin}{\left(\frac{\pi}{2} \right)}\right)} + \pi - i \operatorname{im}{\left(\operatorname{asin}{\left(\frac{\pi}{2} \right)}\right)}\right)$$
/ / /pi\\ / /pi\\\ / / /pi\\ / /pi\\\
-|I*im|asin|--|| + re|asin|--|||*|-pi + I*im|asin|--|| + re|asin|--|||
\ \ \2 // \ \2 /// \ \ \2 // \ \2 ///
$$- \left(\operatorname{re}{\left(\operatorname{asin}{\left(\frac{\pi}{2} \right)}\right)} + i \operatorname{im}{\left(\operatorname{asin}{\left(\frac{\pi}{2} \right)}\right)}\right) \left(- \pi + \operatorname{re}{\left(\operatorname{asin}{\left(\frac{\pi}{2} \right)}\right)} + i \operatorname{im}{\left(\operatorname{asin}{\left(\frac{\pi}{2} \right)}\right)}\right)$$
-(i*im(asin(pi/2)) + re(asin(pi/2)))*(-pi + i*im(asin(pi/2)) + re(asin(pi/2)))
x1 = 1.5707963267949 + 1.02322747854755*i
x2 = 1.5707963267949 - 1.02322747854755*i
x2 = 1.5707963267949 - 1.02322747854755*i