y=(1\sina)*(ln(tgx+ctgx)) equation
The teacher will be very surprised to see your correct solution 😉
The solution
Detail solution
Given the equation:
$$y = \frac{\log{\left(\tan{\left(x \right)} + \cot{\left(x \right)} \right)}}{\sin{\left(a \right)}}$$
transform:
$$y = \frac{\log{\left(\tan{\left(x \right)} + \cot{\left(x \right)} \right)}}{\sin{\left(a \right)}}$$
Expand brackets in the right part
y = logcot+x + tanx)/sina
We get the answer: y = log(cot(x) + tan(x))/sin(a)
/log(cot(x) + tan(x))\ /log(cot(x) + tan(x))\
y1 = I*im|--------------------| + re|--------------------|
\ sin(a) / \ sin(a) /
$$y_{1} = \operatorname{re}{\left(\frac{\log{\left(\tan{\left(x \right)} + \cot{\left(x \right)} \right)}}{\sin{\left(a \right)}}\right)} + i \operatorname{im}{\left(\frac{\log{\left(\tan{\left(x \right)} + \cot{\left(x \right)} \right)}}{\sin{\left(a \right)}}\right)}$$
y1 = re(log(tan(x) + cot(x))/sin(a)) + i*im(log(tan(x) + cot(x))/sin(a))
Sum and product of roots
[src]
/log(cot(x) + tan(x))\ /log(cot(x) + tan(x))\
I*im|--------------------| + re|--------------------|
\ sin(a) / \ sin(a) /
$$\operatorname{re}{\left(\frac{\log{\left(\tan{\left(x \right)} + \cot{\left(x \right)} \right)}}{\sin{\left(a \right)}}\right)} + i \operatorname{im}{\left(\frac{\log{\left(\tan{\left(x \right)} + \cot{\left(x \right)} \right)}}{\sin{\left(a \right)}}\right)}$$
/log(cot(x) + tan(x))\ /log(cot(x) + tan(x))\
I*im|--------------------| + re|--------------------|
\ sin(a) / \ sin(a) /
$$\operatorname{re}{\left(\frac{\log{\left(\tan{\left(x \right)} + \cot{\left(x \right)} \right)}}{\sin{\left(a \right)}}\right)} + i \operatorname{im}{\left(\frac{\log{\left(\tan{\left(x \right)} + \cot{\left(x \right)} \right)}}{\sin{\left(a \right)}}\right)}$$
/log(cot(x) + tan(x))\ /log(cot(x) + tan(x))\
I*im|--------------------| + re|--------------------|
\ sin(a) / \ sin(a) /
$$\operatorname{re}{\left(\frac{\log{\left(\tan{\left(x \right)} + \cot{\left(x \right)} \right)}}{\sin{\left(a \right)}}\right)} + i \operatorname{im}{\left(\frac{\log{\left(\tan{\left(x \right)} + \cot{\left(x \right)} \right)}}{\sin{\left(a \right)}}\right)}$$
/log(cot(x) + tan(x))\ /log(cot(x) + tan(x))\
I*im|--------------------| + re|--------------------|
\ sin(a) / \ sin(a) /
$$\operatorname{re}{\left(\frac{\log{\left(\tan{\left(x \right)} + \cot{\left(x \right)} \right)}}{\sin{\left(a \right)}}\right)} + i \operatorname{im}{\left(\frac{\log{\left(\tan{\left(x \right)} + \cot{\left(x \right)} \right)}}{\sin{\left(a \right)}}\right)}$$
i*im(log(cot(x) + tan(x))/sin(a)) + re(log(cot(x) + tan(x))/sin(a))