Hi,

I keep running into a road block which I think means either I'm
missing something simple, or I'm thinking about things the wrong way.
I'm fairly new to sage, and CAS in general, so either is possible.

Here's a simple example of what I'm doing.

Lets give ourselves two symbolic equations:

sage: var("a b c d e")
sage: e1 = a == b + c
sage: e2 = d == e * a

Now, lets say I want to know what c is in terms of b, d & e. By hand
I'd substitute e1 in e2, and then solve for c.

sage: e3=e2.subs(a=b+c)
sage: solve(e3, c)
[c == (d - b*e)/e]

All fine, but note that I had to enter e1 into the substitution
explicitly. I've yet to find a way of substituting one symbolic
equation into another.

Is there a way?
Where am I going wrong?

Thanks

Paul

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to