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