Question: display the answer i want

hi i think this is an easy one,

for a from 1 to 3 do sol:=solve(x^2=16*a,x) end do;

ok this gives us 6 solutions, 2 for each value of a. how do i display a particular solution?, for example i just want to display the solution when a=2, and then i just want the second solution of a=3... hope this makes sense

 

Thank you.

Please Wait...