On Thursday, February 6, 2014 8:36:08 AM UTC-5, Bruno wrote: > > Dear Sage-support, > > I'm trying reproduce a function,namely uq, of the variable t which I know > that exist but don't know the symbolic expression of it. I can determine > the expression by a system of 3 equations (eq0,eq1,eq2) and 4 variables > (p0,p1,t,uq) ,as it follows > > var('p0 p1 uq q t') > q=0.8 > A=(((t*((p0**q)+(p1**q)))-((1-q)*(0-uq)))) > B=(((t*((p0**q)+(p1**q)))-((1-q)*(1-uq)))) > > eq0= ((1-p0)**(1-q))*A - (p0**(1-q))*B == 0 > > eq1= ((1-p0)**(1-q))*B - (p1**(1-q))*A == 0 > > eq2 = uq*(p0**q) + (uq-1)*(p1**q) == 0 > > solve([eq0,eq1,eq2],p0,p1,uq) > > I can confirm this hangs. A lot. Note that it's not immediately clear that there is a nice solution to this (assuming you want a symbolic/algebraic solution).
I tried replacing 0.8 with 4/5 because sometimes Maxima likes that better, but that seemed to be useless. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/groups/opt_out.