Question: Do for with :=

I have this commands:

> for i from 1 to 10 do x1:=1*i:  g:= x1*exp (T) -1 : T=fsolve( g,T) : y1=3*T end do;               

If i execute if i=1 the first lines will be:

x1 := 1

g := exp(T) - 1                  

T = 0.

y1 = 3 T

Now my questions are two:

1)Can I hide in the results  " g:=exp(T)-1"? I'm only interested in x1:=1, T=0 and y1=.....

 2)My main problem. I don't want:

y1=3T

but i want:

y1=0

I tried to use T:=fsolve(g,T) but when i=2 the program consider T as a constant

3)Is it possible to plot T(y1) or T(x1)?

#i know the expemple is stupid but I have more difficult equations : )

Thank You to everyone     

Marco!

 

Please Wait...