Тригонометрическая часть
[src]
2
-3 + 4*cos (t) + sin(2*t)
$$4 \cos^{2}{\left(t \right)} + \sin{\left(2 t \right)} - 3$$
/pi \
-1 + 2*sin|-- + 2*t| + sin(2*t)
\2 /
$$\sin{\left(2 t \right)} + 2 \sin{\left(2 t + \frac{\pi}{2} \right)} - 1$$
/ pi\
-1 + 2*cos(2*t) + cos|2*t - --|
\ 2 /
$$2 \cos{\left(2 t \right)} + \cos{\left(2 t - \frac{\pi}{2} \right)} - 1$$
1 2
-1 + -------- + --------
csc(2*t) sec(2*t)
$$-1 + \frac{2}{\sec{\left(2 t \right)}} + \frac{1}{\csc{\left(2 t \right)}}$$
1 2
-1 + ------------- + --------
/ pi\ sec(2*t)
sec|2*t - --|
\ 2 /
$$-1 + \frac{1}{\sec{\left(2 t - \frac{\pi}{2} \right)}} + \frac{2}{\sec{\left(2 t \right)}}$$
1 2
-1 + -------- + -------------
csc(2*t) /pi \
csc|-- - 2*t|
\2 /
$$-1 + \frac{2}{\csc{\left(- 2 t + \frac{\pi}{2} \right)}} + \frac{1}{\csc{\left(2 t \right)}}$$
1 2
-1 + ------------- + --------
/pi \ sec(2*t)
sec|-- - 2*t|
\2 /
$$-1 + \frac{1}{\sec{\left(- 2 t + \frac{\pi}{2} \right)}} + \frac{2}{\sec{\left(2 t \right)}}$$
1 2
-1 + ------------- + -------------
csc(pi - 2*t) /pi \
csc|-- - 2*t|
\2 /
$$-1 + \frac{2}{\csc{\left(- 2 t + \frac{\pi}{2} \right)}} + \frac{1}{\csc{\left(- 2 t + \pi \right)}}$$
2 2
-1 - 2*sin (t) + 2*cos (t) + 2*cos(t)*sin(t)
$$- 2 \sin^{2}{\left(t \right)} + 2 \sin{\left(t \right)} \cos{\left(t \right)} + 2 \cos^{2}{\left(t \right)} - 1$$
/ 2 \
2*\1 - tan (t)/ 2*tan(t)
-1 + --------------- + -----------
2 2
1 + tan (t) 1 + tan (t)
$$\frac{2 \cdot \left(- \tan^{2}{\left(t \right)} + 1\right)}{\tan^{2}{\left(t \right)} + 1} - 1 + \frac{2 \tan{\left(t \right)}}{\tan^{2}{\left(t \right)} + 1}$$
/ pi\
4*tan|t + --|
2*tan(t) \ 4 /
-1 + ----------- + ----------------
2 2/ pi\
1 + tan (t) 1 + tan |t + --|
\ 4 /
$$-1 + \frac{4 \tan{\left(t + \frac{\pi}{4} \right)}}{\tan^{2}{\left(t + \frac{\pi}{4} \right)} + 1} + \frac{2 \tan{\left(t \right)}}{\tan^{2}{\left(t \right)} + 1}$$
/ pi\
4*tan|t + --|
2*cot(t) \ 4 /
-1 + ----------- + ----------------
2 2/ pi\
1 + cot (t) 1 + tan |t + --|
\ 4 /
$$-1 + \frac{2 \cot{\left(t \right)}}{\cot^{2}{\left(t \right)} + 1} + \frac{4 \tan{\left(t + \frac{\pi}{4} \right)}}{\tan^{2}{\left(t + \frac{\pi}{4} \right)} + 1}$$
2/ pi\
-1 + tan |t + --| / 2 \
\ 4 / 2*\-1 + cot (t)/
-1 + ----------------- + ----------------
2/ pi\ 2
1 + tan |t + --| 1 + cot (t)
\ 4 /
$$\frac{\tan^{2}{\left(t + \frac{\pi}{4} \right)} - 1}{\tan^{2}{\left(t + \frac{\pi}{4} \right)} + 1} + \frac{2 \left(\cot^{2}{\left(t \right)} - 1\right)}{\cot^{2}{\left(t \right)} + 1} - 1$$
2/ pi\
1 - cot |t + --| / 2 \
\ 4 / 2*\1 - tan (t)/
-1 + ---------------- + ---------------
2/ pi\ 2
1 + cot |t + --| 1 + tan (t)
\ 4 /
$$\frac{2 \cdot \left(- \tan^{2}{\left(t \right)} + 1\right)}{\tan^{2}{\left(t \right)} + 1} + \frac{- \cot^{2}{\left(t + \frac{\pi}{4} \right)} + 1}{\cot^{2}{\left(t + \frac{\pi}{4} \right)} + 1} - 1$$
/ 1 \
2*|1 - -------|
| 2 |
2 \ cot (t)/
-1 + -------------------- + ---------------
/ 1 \ 1
|1 + -------|*cot(t) 1 + -------
| 2 | 2
\ cot (t)/ cot (t)
$$\frac{2 \cdot \left(1 - \frac{1}{\cot^{2}{\left(t \right)}}\right)}{1 + \frac{1}{\cot^{2}{\left(t \right)}}} - 1 + \frac{2}{\left(1 + \frac{1}{\cot^{2}{\left(t \right)}}\right) \cot{\left(t \right)}}$$
// 1 for t mod pi = 0\ // 0 for 2*t mod pi = 0\
-1 + 2*|< | + |< |
\\cos(2*t) otherwise / \\sin(2*t) otherwise /
$$\left(\begin{cases} 0 & \text{for}\: 2 t \bmod \pi = 0 \\\sin{\left(2 t \right)} & \text{otherwise} \end{cases}\right) + \left(2 \left(\begin{cases} 1 & \text{for}\: t \bmod \pi = 0 \\\cos{\left(2 t \right)} & \text{otherwise} \end{cases}\right)\right) - 1$$
// 0 for 2*t mod pi = 0\
// 1 for t mod pi = 0\ || |
-1 + 2*|< | + |< / pi\ |
\\cos(2*t) otherwise / ||cos|2*t - --| otherwise |
\\ \ 2 / /
$$\left(\begin{cases} 0 & \text{for}\: 2 t \bmod \pi = 0 \\\cos{\left(2 t - \frac{\pi}{2} \right)} & \text{otherwise} \end{cases}\right) + \left(2 \left(\begin{cases} 1 & \text{for}\: t \bmod \pi = 0 \\\cos{\left(2 t \right)} & \text{otherwise} \end{cases}\right)\right) - 1$$
// 1 for t mod pi = 0\
|| | // 0 for 2*t mod pi = 0\
-1 + 2*|< /pi \ | + |< |
||sin|-- + 2*t| otherwise | \\sin(2*t) otherwise /
\\ \2 / /
$$\left(\begin{cases} 0 & \text{for}\: 2 t \bmod \pi = 0 \\\sin{\left(2 t \right)} & \text{otherwise} \end{cases}\right) + \left(2 \left(\begin{cases} 1 & \text{for}\: t \bmod \pi = 0 \\\sin{\left(2 t + \frac{\pi}{2} \right)} & \text{otherwise} \end{cases}\right)\right) - 1$$
// /pi \ \
|| 0 for |-- + 2*t| mod pi = 0| // 0 for 2*t mod pi = 0\
-1 + 2*|< \2 / | + |< |
|| | \\sin(2*t) otherwise /
\\cos(2*t) otherwise /
$$\left(\begin{cases} 0 & \text{for}\: 2 t \bmod \pi = 0 \\\sin{\left(2 t \right)} & \text{otherwise} \end{cases}\right) + \left(2 \left(\begin{cases} 0 & \text{for}\: \left(2 t + \frac{\pi}{2}\right) \bmod \pi = 0 \\\cos{\left(2 t \right)} & \text{otherwise} \end{cases}\right)\right) - 1$$
// / 3*pi\ \
// 1 for t mod pi = 0\ || 1 for |2*t + ----| mod 2*pi = 0|
-1 + 2*|< | + |< \ 2 / |
\\cos(2*t) otherwise / || |
\\sin(2*t) otherwise /
$$\left(2 \left(\begin{cases} 1 & \text{for}\: t \bmod \pi = 0 \\\cos{\left(2 t \right)} & \text{otherwise} \end{cases}\right)\right) + \left(\begin{cases} 1 & \text{for}\: \left(2 t + \frac{3 \pi}{2}\right) \bmod 2 \pi = 0 \\\sin{\left(2 t \right)} & \text{otherwise} \end{cases}\right) - 1$$
// 0 for 2*t mod pi = 0\
// 1 for t mod pi = 0\ || |
|| | || 1 |
-1 + 2*|< 1 | + |<------------- otherwise |
||-------- otherwise | || / pi\ |
\\sec(2*t) / ||sec|2*t - --| |
\\ \ 2 / /
$$\left(\begin{cases} 0 & \text{for}\: 2 t \bmod \pi = 0 \\\frac{1}{\sec{\left(2 t - \frac{\pi}{2} \right)}} & \text{otherwise} \end{cases}\right) + \left(2 \left(\begin{cases} 1 & \text{for}\: t \bmod \pi = 0 \\\frac{1}{\sec{\left(2 t \right)}} & \text{otherwise} \end{cases}\right)\right) - 1$$
// 1 for t mod pi = 0\
|| | // 0 for 2*t mod pi = 0\
|| 1 | || |
-1 + 2*|<------------- otherwise | + |< 1 |
|| /pi \ | ||-------- otherwise |
||csc|-- - 2*t| | \\csc(2*t) /
\\ \2 / /
$$\left(\begin{cases} 0 & \text{for}\: 2 t \bmod \pi = 0 \\\frac{1}{\csc{\left(2 t \right)}} & \text{otherwise} \end{cases}\right) + \left(2 \left(\begin{cases} 1 & \text{for}\: t \bmod \pi = 0 \\\frac{1}{\csc{\left(- 2 t + \frac{\pi}{2} \right)}} & \text{otherwise} \end{cases}\right)\right) - 1$$
/ 4 \
| 4*sin (t)|
2*|1 - ---------|
| 2 | 2
\ sin (2*t)/ 4*sin (t)
-1 + ----------------- + ------------------------
4 / 4 \
4*sin (t) | 4*sin (t)|
1 + --------- |1 + ---------|*sin(2*t)
2 | 2 |
sin (2*t) \ sin (2*t)/
$$\frac{2 \left(- \frac{4 \sin^{4}{\left(t \right)}}{\sin^{2}{\left(2 t \right)}} + 1\right)}{\frac{4 \sin^{4}{\left(t \right)}}{\sin^{2}{\left(2 t \right)}} + 1} - 1 + \frac{4 \sin^{2}{\left(t \right)}}{\left(\frac{4 \sin^{4}{\left(t \right)}}{\sin^{2}{\left(2 t \right)}} + 1\right) \sin{\left(2 t \right)}}$$
// 1 for t mod pi = 0\ // 0 for 2*t mod pi = 0\
|| | || |
|| 2 | || 2*cot(t) |
-1 + 2*|<-1 + cot (t) | + |<----------- otherwise |
||------------ otherwise | || 2 |
|| 2 | ||1 + cot (t) |
\\1 + cot (t) / \\ /
$$\left(\begin{cases} 0 & \text{for}\: 2 t \bmod \pi = 0 \\\frac{2 \cot{\left(t \right)}}{\cot^{2}{\left(t \right)} + 1} & \text{otherwise} \end{cases}\right) + \left(2 \left(\begin{cases} 1 & \text{for}\: t \bmod \pi = 0 \\\frac{\cot^{2}{\left(t \right)} - 1}{\cot^{2}{\left(t \right)} + 1} & \text{otherwise} \end{cases}\right)\right) - 1$$
// 1 for t mod pi = 0\ // 0 for 2*t mod pi = 0\
|| | || |
|| 2 | || 2*tan(t) |
-1 + 2*|<1 - tan (t) | + |<----------- otherwise |
||----------- otherwise | || 2 |
|| 2 | ||1 + tan (t) |
\\1 + tan (t) / \\ /
$$\left(\begin{cases} 0 & \text{for}\: 2 t \bmod \pi = 0 \\\frac{2 \tan{\left(t \right)}}{\tan^{2}{\left(t \right)} + 1} & \text{otherwise} \end{cases}\right) + \left(2 \left(\begin{cases} 1 & \text{for}\: t \bmod \pi = 0 \\\frac{- \tan^{2}{\left(t \right)} + 1}{\tan^{2}{\left(t \right)} + 1} & \text{otherwise} \end{cases}\right)\right) - 1$$
/ 2 \
| sec (t) |
2*|1 - ------------|
| 2/ pi\|
| sec |t - --||
\ \ 2 // 2*sec(t)
-1 + -------------------- + ------------------------------
2 / 2 \
sec (t) | sec (t) | / pi\
1 + ------------ |1 + ------------|*sec|t - --|
2/ pi\ | 2/ pi\| \ 2 /
sec |t - --| | sec |t - --||
\ 2 / \ \ 2 //
$$\frac{2 \left(- \frac{\sec^{2}{\left(t \right)}}{\sec^{2}{\left(t - \frac{\pi}{2} \right)}} + 1\right)}{\frac{\sec^{2}{\left(t \right)}}{\sec^{2}{\left(t - \frac{\pi}{2} \right)}} + 1} - 1 + \frac{2 \sec{\left(t \right)}}{\left(\frac{\sec^{2}{\left(t \right)}}{\sec^{2}{\left(t - \frac{\pi}{2} \right)}} + 1\right) \sec{\left(t - \frac{\pi}{2} \right)}}$$
/ 2/ pi\\
| cos |t - --||
| \ 2 /|
2*|1 - ------------| / pi\
| 2 | 2*cos|t - --|
\ cos (t) / \ 2 /
-1 + -------------------- + -------------------------
2/ pi\ / 2/ pi\\
cos |t - --| | cos |t - --||
\ 2 / | \ 2 /|
1 + ------------ |1 + ------------|*cos(t)
2 | 2 |
cos (t) \ cos (t) /
$$\frac{2 \cdot \left(1 - \frac{\cos^{2}{\left(t - \frac{\pi}{2} \right)}}{\cos^{2}{\left(t \right)}}\right)}{1 + \frac{\cos^{2}{\left(t - \frac{\pi}{2} \right)}}{\cos^{2}{\left(t \right)}}} - 1 + \frac{2 \cos{\left(t - \frac{\pi}{2} \right)}}{\left(1 + \frac{\cos^{2}{\left(t - \frac{\pi}{2} \right)}}{\cos^{2}{\left(t \right)}}\right) \cos{\left(t \right)}}$$
/ 2/pi \\
| csc |-- - t||
| \2 /|
2*|1 - ------------| /pi \
| 2 | 2*csc|-- - t|
\ csc (t) / \2 /
-1 + -------------------- + -------------------------
2/pi \ / 2/pi \\
csc |-- - t| | csc |-- - t||
\2 / | \2 /|
1 + ------------ |1 + ------------|*csc(t)
2 | 2 |
csc (t) \ csc (t) /
$$\frac{2 \cdot \left(1 - \frac{\csc^{2}{\left(- t + \frac{\pi}{2} \right)}}{\csc^{2}{\left(t \right)}}\right)}{1 + \frac{\csc^{2}{\left(- t + \frac{\pi}{2} \right)}}{\csc^{2}{\left(t \right)}}} - 1 + \frac{2 \csc{\left(- t + \frac{\pi}{2} \right)}}{\left(1 + \frac{\csc^{2}{\left(- t + \frac{\pi}{2} \right)}}{\csc^{2}{\left(t \right)}}\right) \csc{\left(t \right)}}$$
// 1 for t mod pi = 0\
|| | // 0 for 2*t mod pi = 0\
|| 1 | || |
||-1 + ------- | || 2 |
|| 2 | ||-------------------- otherwise |
-1 + 2*|< tan (t) | + | 1 \ |
||------------ otherwise | |||1 + -------|*tan(t) |
|| 1 | ||| 2 | |
||1 + ------- | ||\ tan (t)/ |
|| 2 | \\ /
\\ tan (t) /
$$\left(\begin{cases} 0 & \text{for}\: 2 t \bmod \pi = 0 \\\frac{2}{\left(1 + \frac{1}{\tan^{2}{\left(t \right)}}\right) \tan{\left(t \right)}} & \text{otherwise} \end{cases}\right) + \left(2 \left(\begin{cases} 1 & \text{for}\: t \bmod \pi = 0 \\\frac{-1 + \frac{1}{\tan^{2}{\left(t \right)}}}{1 + \frac{1}{\tan^{2}{\left(t \right)}}} & \text{otherwise} \end{cases}\right)\right) - 1$$
// /pi \ \
|| 0 for |-- + 2*t| mod pi = 0|
|| \2 / | // 0 for 2*t mod pi = 0\
|| | || |
|| / pi\ | || 2*cot(t) |
-1 + 2*|< 2*cot|t + --| | + |<----------- otherwise |
|| \ 4 / | || 2 |
||---------------- otherwise | ||1 + cot (t) |
|| 2/ pi\ | \\ /
||1 + cot |t + --| |
\\ \ 4 / /
$$\left(\begin{cases} 0 & \text{for}\: 2 t \bmod \pi = 0 \\\frac{2 \cot{\left(t \right)}}{\cot^{2}{\left(t \right)} + 1} & \text{otherwise} \end{cases}\right) + \left(2 \left(\begin{cases} 0 & \text{for}\: \left(2 t + \frac{\pi}{2}\right) \bmod \pi = 0 \\\frac{2 \cot{\left(t + \frac{\pi}{4} \right)}}{\cot^{2}{\left(t + \frac{\pi}{4} \right)} + 1} & \text{otherwise} \end{cases}\right)\right) - 1$$
// / 3*pi\ \
|| 1 for |2*t + ----| mod 2*pi = 0|
// 1 for t mod pi = 0\ || \ 2 / |
|| | || |
|| 2 | || 2/ pi\ |
-1 + 2*|<-1 + cot (t) | + |<-1 + tan |t + --| |
||------------ otherwise | || \ 4 / |
|| 2 | ||----------------- otherwise |
\\1 + cot (t) / || 2/ pi\ |
|| 1 + tan |t + --| |
\\ \ 4 / /
$$\left(2 \left(\begin{cases} 1 & \text{for}\: t \bmod \pi = 0 \\\frac{\cot^{2}{\left(t \right)} - 1}{\cot^{2}{\left(t \right)} + 1} & \text{otherwise} \end{cases}\right)\right) + \left(\begin{cases} 1 & \text{for}\: \left(2 t + \frac{3 \pi}{2}\right) \bmod 2 \pi = 0 \\\frac{\tan^{2}{\left(t + \frac{\pi}{4} \right)} - 1}{\tan^{2}{\left(t + \frac{\pi}{4} \right)} + 1} & \text{otherwise} \end{cases}\right) - 1$$
// 1 for t mod pi = 0\ // 0 for 2*t mod pi = 0\
|| | || |
-1 + 2*| 1 for t mod pi = 0 | + | 0 for 2*t mod pi = 0 |
||< otherwise | ||< otherwise |
\\\cos(2*t) otherwise / \\\sin(2*t) otherwise /
$$\left(\begin{cases} 0 & \text{for}\: 2 t \bmod \pi = 0 \\\begin{cases} 0 & \text{for}\: 2 t \bmod \pi = 0 \\\sin{\left(2 t \right)} & \text{otherwise} \end{cases} & \text{otherwise} \end{cases}\right) + \left(2 \left(\begin{cases} 1 & \text{for}\: t \bmod \pi = 0 \\\begin{cases} 1 & \text{for}\: t \bmod \pi = 0 \\\cos{\left(2 t \right)} & \text{otherwise} \end{cases} & \text{otherwise} \end{cases}\right)\right) - 1$$
// 1 for t mod pi = 0\
|| |
|| 2 | // 0 for 2*t mod pi = 0\
|| sin (2*t) | || |
||-1 + --------- | || sin(2*t) |
|| 4 | ||----------------------- otherwise |
-1 + 2*|< 4*sin (t) | + | 2 \ |
||-------------- otherwise | ||| sin (2*t)| 2 |
|| 2 | |||1 + ---------|*sin (t) |
|| sin (2*t) | ||| 4 | |
||1 + --------- | \\\ 4*sin (t)/ /
|| 4 |
\\ 4*sin (t) /
$$\left(\begin{cases} 0 & \text{for}\: 2 t \bmod \pi = 0 \\\frac{\sin{\left(2 t \right)}}{\left(1 + \frac{\sin^{2}{\left(2 t \right)}}{4 \sin^{4}{\left(t \right)}}\right) \sin^{2}{\left(t \right)}} & \text{otherwise} \end{cases}\right) + \left(2 \left(\begin{cases} 1 & \text{for}\: t \bmod \pi = 0 \\\frac{-1 + \frac{\sin^{2}{\left(2 t \right)}}{4 \sin^{4}{\left(t \right)}}}{1 + \frac{\sin^{2}{\left(2 t \right)}}{4 \sin^{4}{\left(t \right)}}} & \text{otherwise} \end{cases}\right)\right) - 1$$
// 1 for t mod pi = 0\ // 0 for 2*t mod pi = 0\
|| | || |
||/ 1 for t mod pi = 0 | ||/ 0 for 2*t mod pi = 0 |
||| | ||| |
-1 + 2*|<| 2 | + |<| 2*cot(t) |
||<-1 + cot (t) otherwise | ||<----------- otherwise otherwise |
|||------------ otherwise | ||| 2 |
||| 2 | |||1 + cot (t) |
\\\1 + cot (t) / \\\ /
$$\left(\begin{cases} 0 & \text{for}\: 2 t \bmod \pi = 0 \\\begin{cases} 0 & \text{for}\: 2 t \bmod \pi = 0 \\\frac{2 \cot{\left(t \right)}}{\cot^{2}{\left(t \right)} + 1} & \text{otherwise} \end{cases} & \text{otherwise} \end{cases}\right) + \left(2 \left(\begin{cases} 1 & \text{for}\: t \bmod \pi = 0 \\\begin{cases} 1 & \text{for}\: t \bmod \pi = 0 \\\frac{\cot^{2}{\left(t \right)} - 1}{\cot^{2}{\left(t \right)} + 1} & \text{otherwise} \end{cases} & \text{otherwise} \end{cases}\right)\right) - 1$$
// 1 for t mod pi = 0\
|| |
|| 2 | // 0 for 2*t mod pi = 0\
|| cos (t) | || |
||-1 + ------------ | || 2*cos(t) |
|| 2/ pi\ | ||------------------------------ otherwise |
|| cos |t - --| | ||/ 2 \ |
-1 + 2*|< \ 2 / | + |<| cos (t) | / pi\ |
||----------------- otherwise | |||1 + ------------|*cos|t - --| |
|| 2 | ||| 2/ pi\| \ 2 / |
|| cos (t) | ||| cos |t - --|| |
|| 1 + ------------ | ||\ \ 2 // |
|| 2/ pi\ | \\ /
|| cos |t - --| |
\\ \ 2 / /
$$\left(\begin{cases} 0 & \text{for}\: 2 t \bmod \pi = 0 \\\frac{2 \cos{\left(t \right)}}{\left(\frac{\cos^{2}{\left(t \right)}}{\cos^{2}{\left(t - \frac{\pi}{2} \right)}} + 1\right) \cos{\left(t - \frac{\pi}{2} \right)}} & \text{otherwise} \end{cases}\right) + \left(2 \left(\begin{cases} 1 & \text{for}\: t \bmod \pi = 0 \\\frac{\frac{\cos^{2}{\left(t \right)}}{\cos^{2}{\left(t - \frac{\pi}{2} \right)}} - 1}{\frac{\cos^{2}{\left(t \right)}}{\cos^{2}{\left(t - \frac{\pi}{2} \right)}} + 1} & \text{otherwise} \end{cases}\right)\right) - 1$$
// 1 for t mod pi = 0\
|| | // 0 for 2*t mod pi = 0\
|| 2/ pi\ | || |
|| sec |t - --| | || / pi\ |
|| \ 2 / | || 2*sec|t - --| |
||-1 + ------------ | || \ 2 / |
|| 2 | ||------------------------- otherwise |
-1 + 2*|< sec (t) | + | 2/ pi\\ |
||----------------- otherwise | ||| sec |t - --|| |
|| 2/ pi\ | ||| \ 2 /| |
|| sec |t - --| | |||1 + ------------|*sec(t) |
|| \ 2 / | ||| 2 | |
|| 1 + ------------ | ||\ sec (t) / |
|| 2 | \\ /
\\ sec (t) /
$$\left(\begin{cases} 0 & \text{for}\: 2 t \bmod \pi = 0 \\\frac{2 \sec{\left(t - \frac{\pi}{2} \right)}}{\left(1 + \frac{\sec^{2}{\left(t - \frac{\pi}{2} \right)}}{\sec^{2}{\left(t \right)}}\right) \sec{\left(t \right)}} & \text{otherwise} \end{cases}\right) + \left(2 \left(\begin{cases} 1 & \text{for}\: t \bmod \pi = 0 \\\frac{-1 + \frac{\sec^{2}{\left(t - \frac{\pi}{2} \right)}}{\sec^{2}{\left(t \right)}}}{1 + \frac{\sec^{2}{\left(t - \frac{\pi}{2} \right)}}{\sec^{2}{\left(t \right)}}} & \text{otherwise} \end{cases}\right)\right) - 1$$
// 1 for t mod pi = 0\
|| |
|| 2 | // 0 for 2*t mod pi = 0\
|| csc (t) | || |
||-1 + ------------ | || 2*csc(t) |
|| 2/pi \ | ||------------------------------ otherwise |
|| csc |-- - t| | ||/ 2 \ |
-1 + 2*|< \2 / | + |<| csc (t) | /pi \ |
||----------------- otherwise | |||1 + ------------|*csc|-- - t| |
|| 2 | ||| 2/pi \| \2 / |
|| csc (t) | ||| csc |-- - t|| |
|| 1 + ------------ | ||\ \2 // |
|| 2/pi \ | \\ /
|| csc |-- - t| |
\\ \2 / /
$$\left(\begin{cases} 0 & \text{for}\: 2 t \bmod \pi = 0 \\\frac{2 \csc{\left(t \right)}}{\left(\frac{\csc^{2}{\left(t \right)}}{\csc^{2}{\left(- t + \frac{\pi}{2} \right)}} + 1\right) \csc{\left(- t + \frac{\pi}{2} \right)}} & \text{otherwise} \end{cases}\right) + \left(2 \left(\begin{cases} 1 & \text{for}\: t \bmod \pi = 0 \\\frac{\frac{\csc^{2}{\left(t \right)}}{\csc^{2}{\left(- t + \frac{\pi}{2} \right)}} - 1}{\frac{\csc^{2}{\left(t \right)}}{\csc^{2}{\left(- t + \frac{\pi}{2} \right)}} + 1} & \text{otherwise} \end{cases}\right)\right) - 1$$
-1 + 2*Piecewise((1, Mod(t = pi, 0)), ((-1 + csc(t)^2/csc(pi/2 - t)^2)/(1 + csc(t)^2/csc(pi/2 - t)^2), True)) + Piecewise((0, Mod(2*t = pi, 0)), (2*csc(t)/((1 + csc(t)^2/csc(pi/2 - t)^2)*csc(pi/2 - t)), True))