Hi,
This is an unavoidable consequence of using Maxima's solve commands, I
think - with multiple equations, Maxima's solve uses things like
algsys, if I'm not mistaken, and those return "real" solutions if they
can't find "symbolic" ones.
With one equation the (new) behavior is to not do this aut
On Fri, Nov 27, 2009 at 03:53:39PM -0800, William Stein wrote:
>
> I've never heard of this. The above could be caused by some file
> being corrupted.
>
> Delete $HOME/.sage/temp to get rid of this problem.
>
Thanks, that did it.
--
Alex Ghitza -- Lecturer in Mathematics -- The University
On Fri, Nov 27, 2009 at 3:40 PM, Alex Ghitza wrote:
>
> When I start sage-4.2.1, about 5 seconds after the sage: prompt
> appears, I get this:
>
> --
> | Sage Version 4.2.1, Release Date: 2009-11-14 |
> | Typ
When I start sage-4.2.1, about 5 seconds after the sage: prompt
appears, I get this:
--
| Sage Version 4.2.1, Release Date: 2009-11-14 |
| Type notebook() for the GUI, and license() for information.|
My question is about the syntax and why does this syntax give a numerical
approximation.
To my understanding, solns is contracted from two arrays with p,q,x,y being
the keys (because there are two solutions to the equations set). The part "for
s in solns" is putting in s ab array, and the part s[
On Nov 27, 10:03 am, Yotam Avital wrote:
> Hello.
>
> In the tutorials there is an example for numerical approximation:
>
> var('x y p q')
> (x, y, p, q)
> eq1 = p+q==9
> eq2 = q*y+p*x==-6
> eq3 = q*y^2+p*x^2==24
> solns = solve([eq1,eq2,eq3,p==1],p,q,x,y, solution_dict=True)
> [[s[p].n(30), s[q].
Hi Yotam,
On Sat, Nov 28, 2009 at 5:03 AM, Yotam Avital wrote:
> As I far as I can understand, solution_dict tells sage that I want the
> output to be in dictionary form(that is, {x:1, y:8 ...})
Yes, you're right.
> I also know that the .n(30) tell sage I want the answer to have 30 digits
>
Hello.
In the tutorials there is an example for numerical approximation:
var('x y p q')
(x, y, p, q)
eq1 = p+q==9
eq2 = q*y+p*x==-6
eq3 = q*y^2+p*x^2==24
solns = solve([eq1,eq2,eq3,p==1],p,q,x,y, solution_dict=True)
[[s[p].n(30), s[q].n(30), s[x].n(30), s[y].n(30)] for s in solns]
[[1.000, 8.
Hi Barry,
On Sat, Nov 28, 2009 at 4:51 AM, Barry Cherkas
wrote:
> unsubscribe
>
> Barry Cherkas
This is to inform you that you are now unsubscribed from the
sage-support mailing list.
--
Regards
Minh Van Nguyen
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscr
unsubscribe
Barry Cherkas
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
> No, they are very different. I think get_minmax_data is just finding
> the max and min of the plotted points of the function, so the values
> will depend on the plot_points parameter for example. The
> find_maximum_on_interval function uses scipy's fminbound function.
>
OK, so I deduce that
On Nov 27, 2:52 am, Laurent wrote:
> Marshall Hamilton ha scritto:> Perhaps this is the kind of thing you want?
>
> > sage: var('x')
> > sage: f = -x^4 + 9*x^3 - 23*x^2 + 31*x - 15
> > sage: f.find_maximum_on_interval(0,6)
>
> Is it equivalent to what we get with
> plot(f,(0,6)).get_minmax_data(
Hi Pat,
On Sat, Nov 28, 2009 at 1:36 AM, Pat LeSmithe wrote:
> On 11/27/2009 05:47 AM, Minh Nguyen wrote:
>> On Fri, Nov 27, 2009 at 9:10 PM, Yotam Avital wrote:
>>> for i in range (1,5):
>>> print '%6s %6s %6s'%(i, i^2, i^3)
>
> I think *part* of the problem could be line 294 of sagenb.inte
great thanks.
On Fri, Nov 27, 2009 at 3:47 PM, Minh Nguyen wrote:
> Hi Yotam,
>
> On Fri, Nov 27, 2009 at 9:10 PM, Yotam Avital wrote:
> > Hi.
> >
> > I have a minor prolem:
> >
> > I'm going through the sage tutorial and I got a little problem when I try
> to
> > create a simple table. I'm try
Hi Yotam,
On Fri, Nov 27, 2009 at 9:10 PM, Yotam Avital wrote:
> Hi.
>
> I have a minor prolem:
>
> I'm going through the sage tutorial and I got a little problem when I try to
> create a simple table. I'm trying to do what is going here:
>
> http://www.sagemath.org/doc/tutorial/tour_help.html#fu
Hi.
I have a minor prolem:
I'm going through the sage tutorial and I got a little problem when I try to
create a simple table. I'm trying to do what is going here:
http://www.sagemath.org/doc/tutorial/tour_help.html#functions-indentation-and-counting
when I put the following commands:
for i in
Marshall Hamilton ha scritto:
> Perhaps this is the kind of thing you want?
>
> sage: var('x')
> sage: f = -x^4 + 9*x^3 - 23*x^2 + 31*x - 15
> sage: f.find_maximum_on_interval(0,6)
>
>
Is it equivalent to what we get with
plot(f,(0,6)).get_minmax_data()
?
> you can get the documentation for t
17 matches
Mail list logo