# How to plot a function using TikZ?

I am trying to plot the function:

11.34×10^(-9) t^4 + 29.92 t - 833.5 = 0

using the TikZ graphing package. I know this should be easy but I am struggling with some syntax issues resolving the exponents. What is the proper syntax for that equation in TikZ (or the most appropriate way to render)?

This is what I have:

\documentclass{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[scaled ticks=false,xlabel=Temperature degrees C,
ylabel=Power (W),xmin=-2000,ymin=-20000]
{(11.34*10^-9)*x^4+29.92*x+833.5};
\end{axis}
\end{tikzpicture}
\end{document}

• Welcome! Can you make your code compilable? And can you tell us what is unsatisfactory about the output? We have no way of knowing which equation you are trying to typeset with that code. – cfr Apr 7 '17 at 3:00
• I think so. This is what I have: – Keith Odland Apr 7 '17 at 3:04
• \begin{tikzpicture} \begin{axis}[scaled ticks=false,xlabel=Temperature degrees C, ylabel=Power (W),xmin=-2000,ymin=-20000] \addplot[domain=0:150, blue, ultra thick,smooth] {(11.34*10^-9)*x^4+29.92*x+833.5}; \end{axis} \end{tikzpicture} – Keith Odland Apr 7 '17 at 3:04
• Sorry, that did not paste correctly. – Keith Odland Apr 7 '17 at 3:04
• You can edit your question using the edit link at bottom left of it. – cfr Apr 7 '17 at 3:05

It is hard to know what you want to do. However, note that you are plotting much less than you are axising, so to speak. If you increase the domain, for example, you get this:

\documentclass[border=10pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.14}
\begin{document}
\begin{tikzpicture}
\begin{axis}[scaled ticks=false,xlabel=Temperature degrees C,
ylabel=Power (W),xmin=-2000,ymin=-20000]

• As an applied mathematician, I should mention that (11.34e-9*x*x*x+29.92)*x+833.5 is the recomended form. – John Kormylo Apr 7 '17 at 3:59