sinx*cospi/8+cosx*sinpi/8=1/2 equation
The teacher will be very surprised to see your correct solution 😉
The solution
Detail solution
Given the equation
$$\frac{\sin{\left(\pi \right)} \cos{\left(x \right)}}{8} + \frac{\sin{\left(x \right)} \cos{\left(\pi \right)}}{8} = \frac{1}{2}$$
- this is the simplest trigonometric equation
Divide both parts of the equation by -1/8
The equation is transformed to
$$\sin{\left(x \right)} = -4$$
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.
x1 = pi + I*im(asin(4)) + re(asin(4))
$$x_{1} = \operatorname{re}{\left(\operatorname{asin}{\left(4 \right)}\right)} + \pi + i \operatorname{im}{\left(\operatorname{asin}{\left(4 \right)}\right)}$$
x2 = -re(asin(4)) - I*im(asin(4))
$$x_{2} = - \operatorname{re}{\left(\operatorname{asin}{\left(4 \right)}\right)} - i \operatorname{im}{\left(\operatorname{asin}{\left(4 \right)}\right)}$$
x2 = -re(asin(4)) - i*im(asin(4))
Sum and product of roots
[src]
pi + I*im(asin(4)) + re(asin(4)) + -re(asin(4)) - I*im(asin(4))
$$\left(\operatorname{re}{\left(\operatorname{asin}{\left(4 \right)}\right)} + \pi + i \operatorname{im}{\left(\operatorname{asin}{\left(4 \right)}\right)}\right) + \left(- \operatorname{re}{\left(\operatorname{asin}{\left(4 \right)}\right)} - i \operatorname{im}{\left(\operatorname{asin}{\left(4 \right)}\right)}\right)$$
$$\pi$$
(pi + I*im(asin(4)) + re(asin(4)))*(-re(asin(4)) - I*im(asin(4)))
$$\left(- \operatorname{re}{\left(\operatorname{asin}{\left(4 \right)}\right)} - i \operatorname{im}{\left(\operatorname{asin}{\left(4 \right)}\right)}\right) \left(\operatorname{re}{\left(\operatorname{asin}{\left(4 \right)}\right)} + \pi + i \operatorname{im}{\left(\operatorname{asin}{\left(4 \right)}\right)}\right)$$
-(I*im(asin(4)) + re(asin(4)))*(pi + I*im(asin(4)) + re(asin(4)))
$$- \left(\operatorname{re}{\left(\operatorname{asin}{\left(4 \right)}\right)} + i \operatorname{im}{\left(\operatorname{asin}{\left(4 \right)}\right)}\right) \left(\operatorname{re}{\left(\operatorname{asin}{\left(4 \right)}\right)} + \pi + i \operatorname{im}{\left(\operatorname{asin}{\left(4 \right)}\right)}\right)$$
-(i*im(asin(4)) + re(asin(4)))*(pi + i*im(asin(4)) + re(asin(4)))
x1 = 4.71238898038469 - 2.06343706889556*i
x2 = -1.5707963267949 + 2.06343706889556*i
x2 = -1.5707963267949 + 2.06343706889556*i