Thank you very much Peter
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, 9 Nov 2015 04:21:14 -0800 (PST), Salvatore DI DIO wrote:
>
> I was trying to show that this limit was 'e'
> But when I try large numbers I get errors
>
> def lim(p):
> return math.pow(1 + 1.0 / p , p)
>
lim(5)
> 2.718281748862504
lim(9)
> 2.7182820518605446 !!
Thank you very much Oscar, I was considering using Mapple :-)
--
https://mail.python.org/mailman/listinfo/python-list
Thank you very much Oscar,I was considerind using Mapple :-)
--
https://mail.python.org/mailman/listinfo/python-list
Thank you very much Chris
--
https://mail.python.org/mailman/listinfo/python-list
On 9 November 2015 at 12:21, Salvatore DI DIO wrote:
> I was trying to show that this limit was 'e'
> But when I try large numbers I get errors
>
> def lim(p):
> return math.pow(1 + 1.0 / p , p)
>
lim(5)
> 2.718281748862504
lim(9)
> 2.7182820518605446
>
>
> What
On Mon, Nov 9, 2015 at 11:21 PM, Salvatore DI DIO wrote:
> I was trying to show that this limit was 'e'
> But when I try large numbers I get errors
>
> def lim(p):
> return math.pow(1 + 1.0 / p , p)
>
lim(5)
> 2.718281748862504
lim(9)
> 2.7182820518605446
>
>
>
Hello,
I was trying to show that this limit was 'e'
But when I try large numbers I get errors
def lim(p):
return math.pow(1 + 1.0 / p , p)
>>> lim(5)
2.718281748862504
>>> lim(9)
2.7182820518605446
What am i doing wrong ?
Regards
--
https://mail.python.org/mailman/l