I tested your function up to 100,000 with all the variations of f, and
they all worked after applying the patch for #847.
--Mike
On Nov 30, 2007 10:01 PM, john_perry_usm <[EMAIL PROTECTED]> wrote:
>
> Thanks (I really like that!) but... While this approach worked well
> with the numbers given, i
On Nov 30, 2007 2:22 PM, Justin C. Walker <[EMAIL PROTECTED]> wrote:
> On Nov 30, 2007, at 2:15 AM, mabshoff wrote:
> > On Nov 30, 10:51 am, joel <[EMAIL PROTECTED]> wrote:
> >> I downloaded the modified tarball. It untar'd without complaint.
> >> However on running notebook() for the first time i
Thanks (I really like that!) but... While this approach worked well
with the numbers given, it generated the same error on larger values
of n.
regards
john perry
On Nov 30, 3:58 pm, "Mike Hansen" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> > In Maple one typically write f:=x->x if one means a functi
Hi William et al,
I am running sage-2.8.13-i686-Linux-Ubuntu.tar.gz, reading
the tutorial.
Meta comment: How about using hevea instead of latex2html?
(Licensing issue)
0 [EMAIL PROTECTED]:~$apt-cache policy hevea latex2html|grep feisty
500 http://proxy.aims.ac.za feisty/main Packages
On Nov 30, 2007, at 2:22 PM, Justin C. Walker wrote:
> On Nov 30, 2007, at 2:15 AM, mabshoff wrote:
>> On Nov 30, 10:51 am, joel <[EMAIL PROTECTED]> wrote:
>>> I downloaded the modified tarball. It untar'd without complaint.
>>> However on running notebook() for the first time it bombed out,
>>>
On Nov 30, 2007, at 2:15 AM, mabshoff wrote:
> On Nov 30, 10:51 am, joel <[EMAIL PROTECTED]> wrote:
>> I downloaded the modified tarball. It untar'd without complaint.
>> However on running notebook() for the first time it bombed out,
>> unable
>> to find /usr/local/lib/libintl.3.dylib.
>>
>> d
On Nov 30, 2007 1:58 PM, Mike Hansen <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> > In Maple one typically write f:=x->x if one means a function instead
> > of an expression. Doing something similar in SAGE makes a *lot* of
> > sense, so I don't object inherently to the lambda notation, although
> >
Hello,
> In Maple one typically write f:=x->x if one means a function instead
> of an expression. Doing something similar in SAGE makes a *lot* of
> sense, so I don't object inherently to the lambda notation, although
> the default Python syntax ("lambda") is not intuitive to an "ordinary"
> math
Hi,
Thank you; that solution fits the matter perfectly.
In Maple one typically write f:=x->x if one means a function instead
of an expression. Doing something similar in SAGE makes a *lot* of
sense, so I don't object inherently to the lambda notation, although
the default Python syntax ("lambda"
Hello,
This is an instance of http://trac.sagemath.org/sage_trac/ticket/847 .
I / we haven't had time to fix that one, but hopefully we can get to
it tomorrow. For now, you should make sure that f is an actual Python
function.
sage: f = lambda x: x
sage: Midpoint_Riemann_Sums(0, 5, f, 1000)
12
Our posts crossed paths. The download was ok, GUI tools were bad, bash
is good.
I will try building from source soon, but right now I'm eager to try
out SAGE and Python!
Thanks, Max
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegro
Our posts crossed paths. The download was ok, GUI tools were bad, bash
is good.
I will try building from source soon, but right now I'm eager to try
out SAGE and Python!
Thanks, Max
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegro
I have now successfully started SAGE. My problem was using "The
Unarchiver" to open the compressed file. (The Unarchiver.app is
available at
http://www.apple.com/downloads/macosx/system_disk_utilities/theunarchiver.html.)
When I used the standard shell tools gunzip and tar to install SAGE,
everyt
I have now successfully started SAGE. My problem was using "The
Unarchiver" to open the compressed file. (The Unarchiver.app is
available at
http://www.apple.com/downloads/macosx/system_disk_utilities/theunarchiver.html.)
When I used the standard shell tools gunzip and tar to install SAGE,
everyt
On Nov 30, 2007 9:11 AM, maxj <[EMAIL PROTECTED]> wrote:
>
> I've installed the latest SAGE and encountered a similar-but-different
> error,
> this time when attempting to import module
> "sage.rings.number_field.number_field_base".
> From experimenting with the Python help system, it appears to m
I've installed the latest SAGE and encountered a similar-but-different
error,
this time when attempting to import module
"sage.rings.number_field.number_field_base".
>From experimenting with the Python help system, it appears to me that
the download did include module "sage.rings.number_field" but
Again, I don't understand the bug but piecewise seems to work better using
lambda functions.
sage: f = lambda x: x
sage: fp = Piecewise([[(10,20),f]])
sage: fp.riemann_sum_integral_approximation(993)
148900/993
Next semester, when I have more time, I plan to revise piecewise.
Maybe I can look in
Thank you! The following code produces the same error.
f = x
fp = Piecewise([[(10,20),f]])
fp.riemann_sum_integral_approximation(993)
The student is doing this as an assignment for a class on how to write
programs to solve problems in mathematics. (Newton's Method, Riemann
sums, Fibonacci number
I'm not sure what the cause of the error is but, FYI, some Riemann sum stuff is
already implemented in piecewise.py.
On Nov 30, 2007 9:41 AM, john_perry_usm <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> One of my students was writing a procedure to implement a Midpoint
> Riemann Sum in SAGE. The proced
Hi,
One of my students was writing a procedure to implement a Midpoint
Riemann Sum in SAGE. The procedure that she devised is given below,
and it looks reasonable enough to me. Unfortunately it generates a
SAGE exception (AttributeError, line 2051 of calculus.py) under
certain bizarre circumstanc
On Nov 30, 2007, at 2:45 AM, Ahmad wrote:
>
> Dear Sage Supporters,
>
> As nobody continued to pay attention to the question I asked in sept 3
> about how I want to change the field basis "permanently", I am using
> john Cremona's idea to ask my question in another way, in hope to
> attract more
Dear team,
> > Definitely i'm going to inform Singular. Concerning trac ticket: How
> > to do so?
>
> You have to ask William Stein for a login and password
> tohttp://sagetrac.org/sage_trac/
Sorry for answering so late. The ticket is
http://sagetrac.org/sage_trac/ticket/1300
Meanwhile i have
On Nov 30, 10:51 am, joel <[EMAIL PROTECTED]> wrote:
> I downloaded the modified tarball. It untar'd without complaint.
> However on running notebook() for the first time it bombed out, unable
> to find /usr/local/lib/libintl.3.dylib.
>
> dyld: Library not loaded: /usr/local/lib/libintl.3.dylib
I downloaded the modified tarball. It untar'd without complaint.
However on running notebook() for the first time it bombed out, unable
to find /usr/local/lib/libintl.3.dylib.
dyld: Library not loaded: /usr/local/lib/libintl.3.dylib
Referenced from: /Users/sage/sage-2.8.13-i386-Darwin/local/bin
24 matches
Mail list logo