I'm trying to make a tikz plot of 4*asin(sin(x)/1.33) - 2*x
but I can't get it to work. I have the following:
\documentclass{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[xmin=0, xmax=1.8, ymin=0, ymax=0.8, axis lines*=middle]
\addplot[samples=500, smooth] {4*asin(sin(x)/1.33) - 2*x};
\end{axis}
\end{tikzpicture}
\end{document}
I have read about including r as a paramater for some of these, or using sin(deg(x))
but everything I try isn't working, and all I'm getting a line shooting through my window but it isn't what it should look like.
\begin{document}
and\end{document}
) that we can copy and test.