Ask Your Question
0

using a previously solved variable in another equation [closed]

asked 10 years ago

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.

Preview: (hide)

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 10 years ago

tmonteil gravatar image

updated 10 years ago

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

Preview: (hide)
link

Comments

ah yeah ofcourse, thought it didnt go through

wzawzdb gravatar imagewzawzdb ( 10 years ago )

Question Tools

1 follower

Stats

Asked: 10 years ago

Seen: 258 times

Last updated: Aug 26 '14