Re: [sage-support] solving equation involving absolute values

2015-03-24 Thread sundar
Some documentation of maxima's to_poly_solve command is on > http://maxima.sourceforge.net/docs/manual/de/maxima_75.html, > about 3/4th down the page. > > > Thanks. But is there other way to solve this particular equation ? -- You received this message because you are subscribed to the

Re: [sage-support] solving equation involving absolute values

2015-03-24 Thread David Joyner
On Tue, Mar 24, 2015 at 1:04 AM, sundar wrote: > Hello > > I am newbie to sagemath. I have windows 8 and sage version is 6.4.1. I am > running it inside virtualbox. > I was reading some thing about solving equations on sage website at > http://www.sagemath.org/doc/reference/calculus/sage/symbolic/

[sage-support] solving equation involving absolute values

2015-03-23 Thread sundar
Hello I am newbie to sagemath. I have windows 8 and sage version is 6.4.1. I am running it inside virtualbox. I was reading some thing about solving equations on sage website at http://www.sagemath.org/doc/reference/calculus/sage/symbolic/relation.html At one point author is trying to demonstra

[sage-support] solving equation system with multiple solutions

2014-06-25 Thread Benjamin Lang
I would like to print/show all the possible solutions of a system of equations, more specifically: sage:x,y,z = var('x,y,z') sage:eqn = solve([(0.5*(1/(sqrt(x^4+y^4-2*x^3*y-2*x*y^3+3*x^2*y^2-5*x^2-5*y^2+6*x*y+9)))*(4*x^3-6*x^2*y-2*y^3+6*x*y^2-10*x+6*y))==0, (0.5*(1/(sqrt(x^4+y^4-2*x^3*y-2*x*y

Re: [sage-support] Solving equation

2014-05-28 Thread Dan Drake
On Wed, 28 May 2014 at 08:14AM -0700, George Hokke wrote: > Hi, > what I want to do is to solve an equation in which the function contains a > numerical integral in its definition. > Something like this: > > sage: d=lambda y: numerical_integral(x**2+y,0,1)[0] > sage: d(0) > 0. > > wo

[sage-support] Solving equation

2014-05-28 Thread George Hokke
Hi, what I want to do is to solve an equation in which the function contains a numerical integral in its definition. Something like this: sage: d=lambda y: numerical_integral(x**2+y,0,1)[0] sage: d(0) 0. works until here. But now I'd want to do: sage: solve(d(y)==1,y) ValueError: In

Re: [sage-support] solving equation question --- rounding error ?

2011-01-19 Thread tvn
> The problem is rounding error. Over the rationals: > > sage: A = matrix(3, 3, [QQ(a) for a in [1, 0.106, 1.212, 3.8759765625, > 0.04801171875, 3.972, 3.0625, 0.09325, 3.249]]) > sage: A > [ 1 53/500 303/250] > [ 3969/1024 12291/256000 993/250] > [ 49/16 373

Re: [sage-support] solving equation question --- rounding error ?

2011-01-18 Thread Robert Bradshaw
> On Tuesday, January 18, 2011 10:19:58 AM UTC-7, einek wrote: >> >> Hi tvn, >> >> Am Montag, den 17.01.2011, 14:22 -0800 schrieb tvn: >> > I try to solve for 3 variables x y z with 3 equations as below  , >> > I am expecting something like  z = r1, x = -r1, y = -2*r1  but instead >> > get x = y =

Re: [sage-support] solving equation question --- rounding error ?

2011-01-18 Thread tvn
On Tuesday, January 18, 2011 10:19:58 AM UTC-7, einek wrote: > > Hi tvn, > > Am Montag, den 17.01.2011, 14:22 -0800 schrieb tvn: > > I try to solve for 3 variables x y z with 3 equations as below , > > I am expecting something like z = r1, x = -r1, y = -2*r1 but instead > > get x = y = z = 0 (

Re: [sage-support] solving equation question --- rounding error ?

2011-01-18 Thread Eckhard Kosin
Hi tvn, Am Montag, den 17.01.2011, 14:22 -0800 schrieb tvn: > I try to solve for 3 variables x y z with 3 equations as below , > I am expecting something like z = r1, x = -r1, y = -2*r1 but instead > get x = y = z = 0 (which trivially valid though not expected). Is > this because the numbers

[sage-support] solving equation question --- rounding error ?

2011-01-17 Thread tvn
I try to solve for 3 variables x y z with 3 equations as below , I am expecting something like z = r1, x = -r1, y = -2*r1 but instead get x = y = z = 0 (which trivially valid though not expected). Is this because the numbers used too complex (equation 2) and have some rounding errors ?