# Manipulate - Plot - Function with Parameters [duplicate]

This question already has an answer here:

dear community!

How do I make this construction work?

f[x_] := x^2 + b
Manipulate[
Plot[
Evaluate [f[x_]], {x, 0, 5},
ImageSize -> Large,
PlotRange -> All
],
{{b, 0.1}, 0, 2, Appearance -> "Labeled" }
]


Thank you very much for detailed reply and suggested reading.

## marked as duplicate by Mr.Wizard♦Feb 20 '15 at 18:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

## 1 Answer

For example:

f[x_, b_] := x^2 + b
Manipulate[Plot[f[x, b], {x, 0, 5}, ImageSize -> Large, PlotRange -> All, AxesOrigin -> {0, 0}],
{{b, 0.1}, 0, 2}]


• I know this question is a duplicate; in fact I think you answered the earlier one. Would you help me find it? – Mr.Wizard Feb 20 '15 at 18:16
• I found it: (10605). Next time please search before answering. – Mr.Wizard Feb 20 '15 at 18:18
• @Mr.Wizard O my! That was two years ago! Forgetting is a virtue too, do you know that? – Dr. belisarius Feb 20 '15 at 18:23
• @Mr.Wizard Sometimes I just want to relax and answer simple questions. Almost always trying to do my best. Anyway, please try to forgive misbehaving children like me. – Dr. belisarius Feb 20 '15 at 18:44
• lol -- Okay, point taken. Thanks for having a sense of humor about it. Sorry if I was rude. I feel a bit overwhelmed these days chasing duplicates. – Mr.Wizard Feb 20 '15 at 18:47