Ask Your Question

penfold's profile - activity

2017-05-02 21:40:30 +0200 received badge  Famous Question (source)
2015-10-23 22:15:49 +0200 received badge  Notable Question (source)
2014-05-05 20:23:04 +0200 received badge  Popular Question (source)
2013-01-28 15:16:39 +0200 received badge  Student (source)
2013-01-28 14:12:07 +0200 asked a question solve an equation in terms of an expression?

Hi,

Not entirely sure if I worded the subject line of this question right, Essentially what I am trying to do is rearrange an equation based on what I want on the left hand side of it, for example:

I have defined my variables:

var('v_o, v_i, delta, T, v_d, v_c')

Entered my equation:

eqn1= v_i * delta * T == v_o + v_d + v_c - v_i * (1-delta) * T

Made a substitution:

eqn2 = eqn1.substitute(v_c=v_i)

and now, with minimum possible effort I would like sage to put it in the form of:

delta/(1-delta)=...

Many thanks to anyone who's even read this far down, Any help would be much appreciated