Hi!
I am stuck trying to solve a problem with two equations and two unknowns, where:
x[i]=T-Constant and
x[i+1]-x[i]=a very large equation with T and i as the only variables.
I want to evaluate the equations for i=1 to imax.
Finally, I want to plot T as a function of i.
I was thinking that I would use Do[], like the following:
Do[x[i]==T-Constant; x[i+1]-x[i]==a very large equation,{i,imax}]
When I use Do, I get the following errors:
Do::itraw: Raw object 1 cannot be used as an iterator. >>
General::stop: Further output of Solve::nsmet will be suppressed during this calculation. >>
Or should I use a solver function to find T? For Loop?
Any ideas?
Thanks for your time reading my question. I would appreciate any helpful comments, and I apologize if this is a trivial question as I am new to Wolfram language and programming in general.
Thanks,
Matt