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"
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
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
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/
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
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
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
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
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
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 ?
--~--~-~--~-
10 matches
Mail list logo