Question: How to write loop?

I want write loop for this code:

V := 24;

eq := {Eq2, Eq3};

ans := fsolve(eq, {a1 = 0, a3 = 0});

r := 0;

W1 := rhs(ans[1])*phi11(r)+rhs(ans[2])*phi21(r)

V and W1 is Variable, I change V and solve eq and determinen a1 and a3 after i calculated W1

I want write Loop for this,

can you help me????????/ 

Please Wait...