Solve with symbols



-----maxima-bounces at math.utexas.edu wrote: -----

>(%i33) y : y(t); 
>(%o33) y(t) 
> 
>(%i34) [eq1: x+y = 3, eq2: 2*x+y = 5]; 
>(%o34) [x+y(t)=3,2*x+y(t)=5] 
> 
>(%i40) solve([eq1, eq2], [x,y]); 
>apply: found y evaluates to y(t) where a function was expected. 
> -- an error. To debug this try: debugmode(true); 

The assignment y : y(t) is a problem. Evaluating y(t) gives y(t)(t). But y(t) isn't a 
valid identifier for a function--thus the error. Try removing the assigment y : y(t).
and either change each y to y(t), or change each y(t) to y.

--Barton