Re: Calulation in lim (1 + 1 /n) ^n when n -> infinite

2015-11-10 Thread Salvatore DI DIO
Thank you very much Peter -- https://mail.python.org/mailman/listinfo/python-list

Re: Calulation in lim (1 + 1 /n) ^n when n -> infinite

2015-11-09 Thread Peter Pearson
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 !!

Re: Calulation in lim (1 + 1 /n) ^n when n -> infinite

2015-11-09 Thread Salvatore DI DIO
Thank you very much Oscar, I was considering using Mapple :-) -- https://mail.python.org/mailman/listinfo/python-list

Re: Calulation in lim (1 + 1 /n) ^n when n -> infinite

2015-11-09 Thread Salvatore DI DIO
Thank you very much Oscar,I was considerind using Mapple :-) -- https://mail.python.org/mailman/listinfo/python-list

Re: Calulation in lim (1 + 1 /n) ^n when n -> infinite

2015-11-09 Thread Salvatore DI DIO
Thank you very much Chris -- https://mail.python.org/mailman/listinfo/python-list

Re: Calulation in lim (1 + 1 /n) ^n when n -> infinite

2015-11-09 Thread Oscar Benjamin
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

Re: Calulation in lim (1 + 1 /n) ^n when n -> infinite

2015-11-09 Thread Chris Angelico
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 > > >

Calulation in lim (1 + 1 /n) ^n when n -> infinite

2015-11-09 Thread Salvatore DI DIO
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