Ask Your Question

using a previously solved variable in another equation [closed]

asked 2014-08-26 17:39:30 +0200

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 17:45:27.922692

1 Answer

Sort by ยป oldest newest most voted

answered 2014-08-26 17:44:59 +0200

tmonteil gravatar image

updated 2014-08-26 17:45:12 +0200

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 22:00:51 +0200 )edit

Question Tools

1 follower


Asked: 2014-08-26 17:39:30 +0200

Seen: 197 times

Last updated: Aug 26 '14