In[]:=
ClearAll
Out[]=
ClearAll
In[]:=
s=x/.Solve[ax^2+bx+c==0,x]
Out[]=
,
-b--4ac
2
b
2a
-b+-4ac
2
b
2a
(*Itriedtoplotthesimplesolutionaboveinthreedifferentways:a)byaccessingthefirstelementofthelist(nextline)-thisdoesnotwork.Why?
◼
In[]:=
Manipulate[Plot[s[[1]],{a,1,4}],{b,1,5},{c,1,5}]
Out[]=
(*bycopyandpasteoftheresult->thisworks
In[]:=
ManipulatePlot,{a,1,4},{b,1,5},{c,1,5}
-b--4ac
2
b
2a
Out[]=
(*bytypingtheformulamanually->thisworksbut(forwhateverreason)deliversotherresults
In[]:=
Manipulate[Plot[(-b-Sqrt[b^2-4ac])/2a,{a,1,4}],{b,1,5},{c,1,5}]
Out[]=
(*canyouhelp?

