I want to solve the follow Lambert's W-function :
a^k + bk +c = 0
In Maple, there is a function LambertW() function to use.
Is there any funtion like this in Sage ?
Thanks!
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
T
Hi,
On Sat, Aug 29, 2009 at 6:04 PM, Zang Yun-gang wrote:
>
> I want to solve the follow Lambert's W-function :
>
> a^k + bk +c = 0
>
> In Maple, there is a function LambertW() function to use.
> Is there any funtion like this in Sage ?
Incidentally, such a question came up very recently. The re
Thank you very much, It's useful!
On 8月29日, 下午4时08分, Minh Nguyen wrote:
> Hi,
>
> On Sat, Aug 29, 2009 at 6:04 PM, Zang Yun-gang wrote:
>
> > I want to solve the follow Lambert's W-function :
>
> > a^k + bk +c = 0
>
> > In Maple, there is a function LambertW() function to use.
> > Is there any f
Dear Sage supporters,
sorry, I did not find a better title for this thread.
It is about the following. If one has a cochain of degree 8, one could
say (shorter) "8-cochain". John Palmieri pointed out to me that it
should be "an 8-cochain", not "a 8-cochain", a fact I wasn't aware of.
Can someon
Hi Simon,
On Sat, Aug 29, 2009 at 9:09 PM, Simon King wrote:
> Can someone tell me the rule in what cases one uses "a" and in what
> cases "an"? E.g., one has "an" if (and only if?) the next word starts
> with a,e,i.
Usually "an" comes before a word that starts with a vowel, i.e a, e,
i, o, u
Hi!
This is a related subject:
Isn't the following a bug:
sage: n = 113
sage: n.ordinal_str()
'113rd'
sage: n = 112
sage: n.ordinal_str()
'112nd'
sage: n = 111
sage: n.ordinal_str()
'111st'
I opened the ticket http://trac.sagemath.org/sage_trac/ticket/6842
[with patch, needs review]
Cheers,
S
> Can someone tell me the rule in what cases one uses "a" and in what
> cases "an"? E.g., one has "an" if (and only if?) the next word starts
> with a,e,i.
>
The choice between a and an isn't so simple because it depends on the
initial sound of the word rather than the initial letter. A quick
se
On Sat, Aug 29, 2009 at 9:30 PM, Minh Nguyen wrote:
>> And is there a function (or at least an easy algorithm that I can
>> implement myself) that for a given integer n answers the question
>> whether it is "an %d-cochain"%n or "a %d-cochain"%n ?
>
> Any number that is spelt with a vowel, e.g.
Hi Minh,
On Aug 29, 12:30 pm, Minh Nguyen wrote:
[...]
> and you can safely put "a" before a number whose spelling begins with
> a consonant. However, depends on where you are, people do say "an
> hundred-cochain" with a silent "h", even though at least in Australia
> it's "a hundred-cochain" wh
Hi Minh,
On Aug 29, 12:32 pm, Minh Nguyen wrote:
> On Sat, Aug 29, 2009 at 9:30 PM, Minh Nguyen wrote:
[...]
> And we do this: "a one" not "an one", even though "one" starts with a vowel.
Ah, that confirms my feeling towards "an one-cochain".
And I have a similar aversion against "an Unix mach
On Sat, Aug 29, 2009 at 7:46 AM, Simon King wrote:
>
> Hi Minh,
>
> On Aug 29, 12:32 pm, Minh Nguyen wrote:
>> On Sat, Aug 29, 2009 at 9:30 PM, Minh Nguyen wrote:
> [...]
>> And we do this: "a one" not "an one", even though "one" starts with a vowel.
>
> Ah, that confirms my feeling towards "an o
> And I have a similar aversion against "an Unix machine" (without
> intention to offend Unix, but I would say "a Unix machine"). What do
> natives think? So, isn't it only about the vowels a,e,i, after all?
For words that start with "u", if the initial sound is like a "you",
one uses "a" instead
Hi Simon,
2009/8/29 Simon King :
>
> Hi Minh,
>
> On Aug 29, 12:32 pm, Minh Nguyen wrote:
>> On Sat, Aug 29, 2009 at 9:30 PM, Minh Nguyen wrote:
> [...]
>> And we do this: "a one" not "an one", even though "one" starts with a vowel.
>
> Ah, that confirms my feeling towards "an one-cochain".
>
>
Hi Simon,
On Sat, Aug 29, 2009 at 9:46 PM, Simon King wrote:
> Ah, that confirms my feeling towards "an one-cochain".
>
> And I have a similar aversion against "an Unix machine" (without
> intention to offend Unix, but I would say "a Unix machine").
It's written "a Unix machine" which mirrors
On Sat, Aug 29, 2009 at 8:11 AM, wrote:
>
...
> For numbers, it could be problematic for those starting with 1:
> a 1, an 11 (an eleven), a 111 (a one hundred ... ), a (a one
> thousand ...), an 1 (an eleven thousand ...).
You're right, I hadn't thought of that case. There is also
"a
This is what I get:
pe...@peter-desktop:~$ cd sage-4.1.1-linux-Ubuntu_9.04-i686-Linux
pe...@peter-desktop:~/sage-4.1.1-linux-
pe...@peter-desktop:~/sage-4.1.1-linux-Ubuntu_9.04-i686-Linux$ ./sage
--
| Sage Version 4.1.1, Release
"problem" was solved via irc.
h
--~--~-~--~~~---~--~~
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.go
Hi all!
Thank you very much for all your comments and your help to improve my
general knowledge! I guess these are things that one would learn at
school, but I never learned English in a formal setting over a period
of more than 4 weeks. At school I just had German, Latin, French and
Ancient Gree
Hi,
I came across an amazing difference in execution time. Consider:
sage: def heelsnel(reeks,maxum):
...
... def expon(mx,g): return floor(log(mx)/log(g))+1
...
... if len(reeks)==1: return expon(maxum,reeks[0])
... tel=0
... for k in range(1,expon(maxum,reeks[-1])):
...
Hi Roland,
indeed strange.
I think a reasonable approach is to print some status information,
e.g.:
sage: def expon(mx,g):
: print 'expon'
: return floor(log(mx)/log(g))+1
:
sage: def heelsnel(reeks,maxum):
: print reeks
: if len(reeks)==1: return expon(maxum
MaxTheMouse wrote:
>
>> Can someone tell me the rule in what cases one uses "a" and in what
>> cases "an"? E.g., one has "an" if (and only if?) the next word starts
>> with a,e,i.
>>
>
> The choice between a and an isn't so simple because it depends on the
> initial sound of the word rather than
> Usually "an" comes before a word that starts with a vowel, i.e a, e,
> i, o, u. So one would say "an eight o'clock meeting" or "an 8 o'clock
> meeting". More examples: an amphibian, an egg, an igloo, an octopus,
> an umbrella. However, there are situations when this rule doesn't
> apply. In soft
On Aug 29, 8:51 am, Simon King wrote:
> Note that expon uses Maxima, because you use the logarithm. So, I
> reckon that your problem is related
> withhttp://trac.sagemath.org/sage_trac/ticket/4731
> andhttp://trac.sagemath.org/sage_trac/ticket/6818.
> If not, you might try to work around by th
On Sat, Aug 29, 2009 at 8:16 AM, Rolandb wrote:
>
> Hi,
>
> I came across an amazing difference in execution time. Consider:
>
> sage: def heelsnel(reeks,maxum):
> ...
> ... def expon(mx,g): return floor(log(mx)/log(g))+1
> ...
> ... if len(reeks)==1: return expon(maxum,reeks[0])
> ..
Hi William,
On Aug 29, 5:52 pm, William Stein wrote:
[...]
> Can you post a version where I can actually paste in the code? You
> probably have this in a file somewhere without the sage: and ... prompts.
Is it possible to change the preparser, so that it not only "swallows"
the sage prompt, b
On Sat, Aug 29, 2009 at 10:15 AM, Simon King wrote:
>
> Hi William,
>
> On Aug 29, 5:52 pm, William Stein wrote:
> [...]
> > Can you post a version where I can actually paste in the code? You
> > probably have this in a file somewhere without the sage: and ... prompts.
>
> Is it possible to cha
hello,
i went 'sage -upgrade' today, and now i get:
mac-mini-de-pedro-zero:~ pedrozero$ sage
--
| Sage Version 3.2.3, Release Date: 2009-01-05 |
| Type notebook() for the GUI, and license() for information.
On Sat, Aug 29, 2009 at 11:28 AM, Pierre wrote:
>
> hello,
>
> i went 'sage -upgrade' today, and now i get:
You should install a new version of Sage which you should download from the
http://sagemath.org website.
William
>
> mac-mini-de-pedro-zero:~ pedrozero$ sage
> ---
On 29 aug, 18:43, John H Palmieri wrote:
> On Aug 29, 8:51 am, Simon King wrote:
>
> > Note that expon uses Maxima, because you use the logarithm. So, I
> > reckon that your problem is related
> > withhttp://trac.sagemath.org/sage_trac/ticket/4731
> > andhttp://trac.sagemath.org/sage_trac/ticke
On Aug 29, 6:30 am, Minh Nguyen wrote:
> ...
>
> and you can safely put "a" before a number whose spelling begins with
> a consonant. However, depends on where you are, people do say "an
> hundred-cochain" with a silent "h", even though at least in Australia
> it's "a hundred-cochain" where the l
On Sun, Aug 30, 2009 at 2:21 AM, Jaap Spies wrote:
> Another famous example: an $m \times n$ matrix $A$
A similar example: an $n \times m$ matrix.
--
Regards
Minh Van Nguyen
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups
Hi Simon,
On Sun, Aug 30, 2009 at 1:15 AM, Simon King wrote:
> Perhaps this is a way out:
> c_2_2*b_1_0^6+c_2_2^3*b_1_0^2: 8-Cochain in H^*(D8; GF(2))
That seems OK to me. The message is concise and packs more information
into a short line than if you had written it as a full sentence.
--
Minh Nguyen wrote:
> Usually "an" comes before a word that starts with a vowel, i.e a, e,
> i, o, u. So one would say "an eight o'clock meeting" or "an 8 o'clock
> meeting". More examples: an amphibian, an egg, an igloo, an octopus,
> an umbrella. However, there are situations when this rule does
Minh Nguyen wrote:
> On Sun, Aug 30, 2009 at 2:21 AM, Jaap Spies wrote:
>
>
>
>> Another famous example: an $m \times n$ matrix $A$
>
> A similar example: an $n \times m$ matrix.
>
Or an $n \times n$ matrix :-)
Jaap
--~--~-~--~~~---~--~~
To post to this gr
> You should install a new version of Sage which you should download from
> thehttp://sagemath.orgwebsite.
Oh. Presumably i've got a very old version, and the current one has
gone through drastic changes ? Or was i just unlucky with the
upgrade ?
thanks anyway, i'll install a fresh version.
>
On Sat, Aug 29, 2009 at 4:20 PM, Pierre wrote:
>
> > You should install a new version of Sage which you should download from
> thehttp://sagemath.orgwebsite.
>
> Oh. Presumably i've got a very old version, and the current one has
> gone through drastic changes ? Or was i just unlucky with the
> u
On Sun, Aug 30, 2009 at 9:14 AM, Jaap Spies wrote:
> Or an $n \times n$ matrix :-)
These are also interesting :-)
an F-distribution
an R-module
an S-expression
an X-ray
--
Regards
Minh Van Nguyen
--~--~-~--~~~---~--~~
To post to this group, send email to sag
On Aug 29, 6:45 pm, Robert Dodier wrote:
> Minh Nguyen wrote:
> > Usually "an" comes before a word that starts with a vowel, i.e a, e,
> > i, o, u. So one would say "an eight o'clock meeting" or "an 8 o'clock
> > meeting". More examples: an amphibian, an egg, an igloo, an octopus,
> > an umbrel
On Aug 29, 2009, at 12:44 PM, Rolandb wrote:
>
> On 29 aug, 18:43, John H Palmieri wrote:
>> On Aug 29, 8:51 am, Simon King wrote:
>>
>>> Note that expon uses Maxima, because you use the logarithm. So, I
>>> reckon that your problem is related withhttp://trac.sagemath.org/
>>> sage_trac/ticket
On Aug 29, 2009, at 5:25 PM, kcrisman wrote:
> On Aug 29, 6:45 pm, Robert Dodier wrote:
>> Minh Nguyen wrote:
>>> Usually "an" comes before a word that starts with a vowel, i.e a, e,
>>> i, o, u. So one would say "an eight o'clock meeting" or "an 8
>>> o'clock
>>> meeting". More examples: an a
Hi,
Using math.log has a disadvantage; it is less accurate.
sage: print n(math.log(2),100)
sage: print n(log(2),100)
0.69314718055994528622676398300
0.69314718055994530941723212146
Rolandb
On 30 aug, 06:48, Robert Bradshaw
wrote:
> On Aug 29, 2009, at 12:44 PM, Rolandb wrote:
>
>
>
>
>
> > On
41 matches
Mail list logo