Ask Your Question

using a previously solved variable in another equation [closed]

asked 2014-08-26 10:39:30 -0600

wzawzdb gravatar image

So I just started using sage but I can't find this (or I don't know how to formulate it).

I have an equation that I solved and I want to use that solved variable in a new equation:

a, b, c, d = var('a b c d') eq1=a+b==d eq2=solve([eq1],b) eq3=c/eq2

but this doesn't work and of course I can do c/b but then it just gives me c/b and I want c/(d-a) as an answer.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by tmonteil
close date 2014-08-26 10:45:27.922692

1 answer

Sort by ยป oldest newest most voted

answered 2014-08-26 10:44:59 -0600

tmonteil gravatar image

updated 2014-08-26 10:45:12 -0600

I propose to close this question as duplicate of

edit flag offensive delete link more


ah yeah ofcourse, thought it didnt go through

wzawzdb gravatar imagewzawzdb ( 2014-08-26 15:00:51 -0600 )edit

Question Tools

1 follower


Asked: 2014-08-26 10:39:30 -0600

Seen: 67 times

Last updated: Aug 26 '14