[sage-support] solution of a 4th degree equation is real despite containing I but causes trouble

2019-02-20 Thread Michael Beeson
The solution of a cubic or quartic may require the use of complex numbers. (Indeed that's how the complex numbers were first discovered.) Below I exhibit a long expression for such a number that solve() found for me. It evaluates using n(t) to a real (decimal) number, and it passes " t in RR"

Re: [sage-support] solution of higher order nonlinear boundary value problems

2018-12-27 Thread Thenmozhi S
Thank you On Thu, 27 Dec 2018, 7:15 pm David Joyner, wrote: > > > On Thu, Dec 27, 2018 at 8:36 AM Madhu wrote: > >> How to solve higher order boundary value problems by using sagemath >> > > ODEs or PDEs? > > I think sympy (included with sage) has more DEs capabilities than > maxima (which is t

[sage-support] solution of higher order nonlinear boundary value problems

2018-12-27 Thread Madhu
How to solve higher order boundary value problems by using sagemath -- 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

Re: [sage-support] solution of higher order nonlinear boundary value problems

2018-12-27 Thread David Joyner
On Thu, Dec 27, 2018 at 8:36 AM Madhu wrote: > How to solve higher order boundary value problems by using sagemath > ODEs or PDEs? I think sympy (included with sage) has more DEs capabilities than maxima (which is the default solver sage uses). Check out https://docs.sympy.org/latest/modules/

[sage-support] solution in sage is different to simply

2015-05-08 Thread manoj rout
from sympy.solvers import solve from sympy import * P, K, L, PL, Pt, Lt= symbols('P, K, L, PL, Pt, Lt') solve([K-(P * L)/PL, Pt- P - PL, Lt- L - PL], P,L,PL) [(-K/2 - Lt/2 + Pt/2 - sqrt(K**2 + 2*K*Lt + 2*K*Pt + Lt**2 - 2*Lt*Pt + Pt**2)/2, -K/2 + Lt/2 - Pt/2 - sqrt(K**2 + 2*K*Lt + 2*K*Pt + Lt

[sage-support] Solution of the system of differential equations

2012-04-26 Thread Doaa El-Sakout
Hi, I have a system of differential equations and sage give me the solution as follows, The system: x10,x20,x30,t,f1,f2,c11,c22,c12,c23,k1,k2,x1,x2,x3=var('x10,x20,x30,t,f1,f2,c11,c22,c12,c23,k1,k2,x1,x2,x3') v1=f1*(x1-k1*x2)/(1+c11*x1+c12*x2) v2=f2*(x2-k2*x3)/(1+c22*x2+c23*x3) x1= function('x1',t

[sage-support] Solution of system of polynomials over reals

2011-05-18 Thread Santanu Sarkar
I want to find the common solution of x0^2+y0^2+x1^2+y1^2+x2^2+y2^2-1, (x1+x2+2x0)^2+(y1+y2+2y0)^2+2(x0^2+y0^2)-1, (x1+x2+2x0)x0+(y1+y2+2y0)y0+x0x1+y0y1+x0x2+y0y2, x0^2+y0^2+2x1x2+2y1y2 over reals. Parametric solution is also fine. -- To post to this group, send email to sage-support@googlegroups

[sage-support] Solution: How to get Apple (Aqua) interface instead of X11 for Tk calls on Mac OS X.

2011-01-25 Thread LouP
If you're getting X11 windows and dialogs instead of Apple's Aqua interface, you probably have non-Apple Tcl and Tk Frameworks installed. To solve the problem you can just remove the non-Apple Tcl & Tk frameworks and reinstall SAGE. SAGE will pick up the Apple Tcl & Tk frameworks and thereafter u

[sage-support] Solution found for pylab and TkAgg plotting in SAGE (Mac OS X)

2010-02-18 Thread LouP
A few weeks ago I posted a problem with Mac OS X with matplotlib in the SAGE distribution in which attempting to import pylab gave an error message which stated that there was an import error and the module _tkagg could not be found. The problem appears to be with matplotlib (I'm not clear about th

[sage-support] Solution

2009-08-20 Thread Santanu Sarkar
Hi, How can I find the solution x1,...,z3 in SAGE where A= [x1,x2,x3, y1,y2,y3, z1,z2,z3] is a (3,3) matrix which satisfy AB=C where B=[1,2 3,4, 5,6] a (3,2) matrix and C=[0,0, 1,0, 0,2] another (3,2) matrix ? --~--~-~--~-