Math Problem Statement

this latex doesn't work in overleaf pls redo: \documentclass{article} \usepackage{pgfplots} % For plotting graphs

\begin{document}

\begin{center} \begin{tikzpicture} \begin{axis}[ axis lines = middle, xlabel = xx, ylabel = {f(x)f(x)}, domain=-3:2, samples=100, grid=major, width=10cm, height=8cm, ymin=-15, ymax=20, xlabel style={below right}, ylabel style={above left}, ] \addplot [blue, thick] {x^3 + 2x^2 - 5x + 7}; \addlegendentry{f(x)=x3+2x25x+7f(x) = x^3 + 2x^2 - 5x + 7} \end{axis} \end{tikzpicture} \end{center}

\end{document}

Solution

Ask a new question for Free

By Image

Drop file here or Click Here to upload

Math Problem Analysis

Mathematical Concepts

LaTeX
pgfplots
Graph plotting

Formulas

Function plot: f(x) = x^3 + 2x^2 - 5x + 7

Theorems

-

Suitable Grade Level

Advanced