Ask Your Question
0

using a previously solved variable in another equation [closed]

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

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
0

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

tmonteil gravatar image

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

I propose to close this question as duplicate of http://ask.sagemath.org/question/2393...

edit flag offensive delete link more

Comments

ah yeah ofcourse, thought it didnt go through

wzawzdb gravatar imagewzawzdb ( 2014-08-26 22:00:51 +0100 )edit

Question Tools

1 follower

Stats

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

Seen: 242 times

Last updated: Aug 26 '14