for my bachelor thesis I need to draw the function f(x)=sin(x²).
Code: Select all
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
legend pos=outer north east,
grid=major,
xlabel=$t$,
ylabel=$f(t)$,
xmin=0
]
\addplot [smooth, blue, mark=none]{sin(deg(x^2))};
\legend{$f(t)=\sin(x^2)$};
\end{axis}
\end{tikzpicture}
\end{document}
Code: Select all
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{tabularcalc}
\begin{document}
\htablecalc[3]{$x$}{x=4.8}
{$f(x)=x$}{x}
{$g(x)=x^{2}$}{sin(deg(x^2))}
{$h(x)=\sqrt{x^{2}}$}{round(root(2,x*x),3)}
\end{document}

Greetings
Andre