I have just begun learning Mathematica, so my apologies if my question is trivial. I did try to find it somewhere else but I didn't succeed.
Suppose I have a function $f(x)=A\ sin(x)+B\ cos(x)$. I would like to be able to plot this for a given value $A$ and $B$ that I determine when plotting. The pseudocode would be like this
Plot[A*Sin[x], {x,-10,10}, for A==5 and B==3]
Is it possible to achieve this? I would like to do so without using Manipulate
.
With[{a = 5}, Plot[a Sin[x], {x, -10, 10}]]
$\endgroup$