On Fri, Jan 13, 2023 at 3:01 PM Emmanuel Charpentier
wrote:
>
> In Google Groups, I can’t see the screenshot nor the notebook, but this is a
> FAQ, so I risk an answer :
>
> solve, used without algorithm= uses Maxima’s solver. The latter may introduce
> new variables to denote unknown, arbitrary
On Fri, Jan 13, 2023 at 2:27 PM 'Charles Bradshaw' via sage-support
wrote:
>
> More info:
> If I run my notebook code on https://sagecell.sagemath.org/ is see a huge
> page of errors begining:
sagecell does not take ipython notebooks, sorry, not a bug.
>
> /home/sc_serv/sage/src/sage/calculus/c
In Google Groups, I can’t see the screenshot nor the notebook, but this is
a FAQ, so I risk an answer :
solve, used without algorithm= uses Maxima’s solver. The latter may
introduce new variables to denote unknown, arbitrary, quantities : “zxxx”
denote integer arbitrary constants, “rxxx” deno
More info:
If I run my notebook code on https://sagecell.sagemath.org/ is see a huge
page of errors begining:
/home/sc_serv/sage/src/sage/calculus/calculus.py:2509: DeprecationWarning:
Importing union from here is deprecated; please use "from sage.misc.misc
import union" instead. See https://tr
OK One more time. I finally figured out how to attach the the notebook. I
hope it's in the right format.
In the process of playing with the probllem I have re-numbered the lines.
The pi*z1649 term now appears in line 5, 7 and 8
Where did the z come from??
Thanks for your patience.
On Thursday
the screenshot does not show lines 113 and 98 you refer to.
It might be better to send the notebook than the screenshot.
On Thu, Jan 12, 2023 at 8:40 PM 'Charles Bradshaw' via sage-support
wrote:
>
> My mistake, here is the screenshot
>
> On Thursday, January 12, 2023 at 8:14:20 PM UTC dim...@gma
My mistake, here is the screenshot
On Thursday, January 12, 2023 at 8:14:20 PM UTC dim...@gmail.com wrote:
> On Thu, Jan 12, 2023 at 8:00 PM 'Charles Bradshaw' via sage-support
> wrote:
> >
> > In the attached screenshot line 'out [113]' and 'out [98]' please
> observe 2*pi*z5484
> > the attemp
On Thu, Jan 12, 2023 at 8:00 PM 'Charles Bradshaw' via sage-support
wrote:
>
> In the attached screenshot line 'out [113]' and 'out [98]' please observe
> 2*pi*z5484
> the attempt to evaluate: line [114] produces the error x5484 is not defined
there is no attachment.
>
> is this a bug or did
One way is to use polynomials
sage: x = polygen(QQ)
sage: (x^4 - 2*x - 1).roots(RealField(32), multiplicities=False)
[-0.474626618, 1.39533699]
sage: (x^4 - 2*x - 1).roots(ComplexField(128), multiplicities=False)
[-0.47462661756260555032941320989493141267,
1.3953369944670730187931436130710553428
On Fri, Oct 5, 2018 at 12:05 PM HG wrote:
>
> I would like to solve these equations but I don't know how?
> >
> > t_0=t_p==gamma*(t-V*x/c^2);show(t_0)
> > x_0=x_p==gamma*(x-V*t);show(x_0)
> >
> > solve(t_0,gamma*(t-V*x/c^2))
> > desolve(gamma*(t-V*x/c^2)==0,x)
> >
> > error desolve() takes at leas
On Thursday, April 18, 2013 8:01:38 AM UTC-7, juaninf wrote:
>
> Thanks,
>
> But if the matrix A is non-square How I will be able to solve?. I am
> trying but I get number of rows of self must equal degree of B
>
This is a math question now. If A is n x k, and if you want to solve Ax =
b, the
Thanks,
But if the matrix A is non-square How I will be able to solve?. I am trying
but I get number of rows of self must equal degree of B
2013/4/17 Robert Bradshaw
> sage: A = random_matrix(GF(2), 1, 1)
> sage: A.det()
> 1
> sage: b = random_vector(GF(2), 1)
> sage: %time x = A \
sage: A = random_matrix(GF(2), 1, 1)
sage: A.det()
1
sage: b = random_vector(GF(2), 1)
sage: %time x = A \ b
CPU times: user 1.61 s, sys: 0.06 s, total: 1.67 s
Wall time: 1.67 s
sage: A * x == b
True
On Wed, Apr 17, 2013 at 1:45 PM, Juan Grados wrote:
> I have the equation Ax=b where
Thank you.
On 30 January 2013 10:17, Charles Bouillaguet wrote:
> On Jan 30, 2013, at 3:20 PM, Santanu Sarkar wrote:
>
> >
> > N=8
> > R.=Integers(N)[]
> > f=x^2-1
> > print f.roots()
>
>
> Try :
>
> sage: print f.roots(multiplicities=False)
> [1, 3, 5, 7]
>
> It's a start...
> ---
> Charles Bou
On Jan 30, 2013, at 3:20 PM, Santanu Sarkar wrote:
>
> N=8
> R.=Integers(N)[]
> f=x^2-1
> print f.roots()
Try :
sage: print f.roots(multiplicities=False)
[1, 3, 5, 7]
It's a start...
---
Charles Bouillaguet
http://www.lifl.fr/~bouillaguet/
--
You received this message because you are subsc
try ./sage -i instead of sage -i
-- sent from a tablet, please excuse my brevity
On Dec 23, 2012 5:38 PM, "Santanu Sarkar"
wrote:
> I want to install sat solver. I have the following error
> a@a-Compaq-Presario-C700-Notebook-PC:~/Downloads/sage-5.2-linux-32bit-ubuntu_12.04_lts-i686-Linux$
> sag
On Sunday 09 Dec 2012, Georgi Guninski wrote:
> On Sat, Dec 08, 2012 at 11:44:19AM +0530, Santanu Sarkar wrote:
> > Dear all,
> >
> > I have a system of non linear equations over GF(2). How to solve
> >
> > them in Sage?
>
> If you need to solve large nonlinear systems over GF(2) and don't
>
> On Sat, Dec 08, 2012 at 11:44:19AM +0530, Santanu Sarkar wrote:
> > Dear all,
> > I have a system of non linear equations over GF(2). How to solve
> > them in Sage?
How large is your system ? (how many variables ?). What is the largest degree
in an equation ? Depending on the answer to these
Thank you very much for your help.
On 9 December 2012 12:18, Georgi Guninski wrote:
> On Sat, Dec 08, 2012 at 11:44:19AM +0530, Santanu Sarkar wrote:
> > Dear all,
> > I have a system of non linear equations over GF(2). How to solve
> > them in Sage?
> >
>
> If you need to solve large nonlinea
On Sat, Dec 08, 2012 at 11:44:19AM +0530, Santanu Sarkar wrote:
> Dear all,
> I have a system of non linear equations over GF(2). How to solve
> them in Sage?
>
If you need to solve large nonlinear systems over GF(2) and don't
insist on using sage I suspect a better choice is to convert
them to
On 06/30/11 02:59, Laurent wrote:
>
> Maybe you want to do something like that :
>
> sage: a=var('x,y,z')
> sage: a
> [x, y, z]
> sage: solve( a[0]*x==x,x) # This is x^2==x
> [x == 0, x == 1]
>
>
>
> If you need to generate n variables:
>
> sage: s=",".join(["a"+str(i) for i in range(1,10)])
Le 29/06/2011 22:22, Michael Orlitzky a écrit :
This is probably just a case of "don't do that," but I thought I'd check:
sage: c = [ var('c[0]') ]
sage: system = c[0]*x == 1
sage: solve(system, c[0])
...
TypeError: unable to make sense of Maxima expression '[c[0]==1/x]' in
William Stein schrieb:
On Fri, Apr 2, 2010 at 10:11 AM, bb wrote:
Why does Sage not solve the equation? (The quadratic equation is just a
test.)
sage: x,y,a,b = var('x, y, a, b')
sage: solve([x - 2*y == a, x + 3*y == b],[x,y]);
sage: solve([x^2 + a*x + b == 0],x)
[x == -1/2*a - 1/2*sqrt(a
On Fri, Apr 2, 2010 at 10:11 AM, bb wrote:
> Why does Sage not solve the equation? (The quadratic equation is just a
> test.)
>
> sage: x,y,a,b = var('x, y, a, b')
> sage: solve([x - 2*y == a, x + 3*y == b],[x,y]);
> sage: solve([x^2 + a*x + b == 0],x)
> [x == -1/2*a - 1/2*sqrt(a^2 - 4*b), x ==
On Sun, 28 Feb 2010 23:02:08 -0800 (PST), Sharpie wrote:
> However, tonight I have been trying to solve an open channel flow
> problem which requires me to find the roots of:
>
> y^3 - 1.39027132807289 * y^2 + 0.090610488164005 == 0
>
> find_root() does return the correct answers-- but in this
Thank you ! :-)
Nathann
On 10 February 2010 09:58, Mike Hansen wrote:
> On Wed, Feb 10, 2010 at 12:54 AM, Nathann Cohen
> wrote:
>> Hello everybody
>>
>> I just learnt about the "rsolve" function from Maple, which seems to
>> give the formula of sequences defined by recurrence.. Is there
On Wed, Feb 10, 2010 at 12:54 AM, Nathann Cohen wrote:
> Hello everybody
>
> I just learnt about the "rsolve" function from Maple, which seems to
> give the formula of sequences defined by recurrence.. Is there a
> similar function in Sage ?
I don't believe there is anything in the Sage libr
27 matches
Mail list logo