Re: [Python] zero alla zero

2016-08-06 Per discussione Marco Beri
Il 06 ago 2016 7:23 PM, "Marco Giusti" ha scritto: > > On Sat, Aug 06 2016, Marco Beri wrote: > >Il 06 ago 2016 5:21 PM, "Simone Federici" ha scritto: > >> > >> http://mathforum.org/dr.math/faq/faq.0.to.0.power.html > > > >"Consensus has recently been built around setting the value of 0^0 = 1". >

Re: [Python] zero alla zero

2016-08-06 Per discussione Marco Giusti
On Sat, Aug 06 2016, Marco Beri wrote: >Il 06 ago 2016 5:21 PM, "Simone Federici" ha scritto: >> >> http://mathforum.org/dr.math/faq/faq.0.to.0.power.html > >"Consensus has recently been built around setting the value of 0^0 = 1". > >E con questo fine del discorso :-) > >Più divertente fare questa

Re: [Python] R: zero alla zero

2016-08-06 Per discussione Marco Beri
Il 06 ago 2016 5:21 PM, "Simone Federici" ha scritto: > > http://mathforum.org/dr.math/faq/faq.0.to.0.power.html "Consensus has recently been built around setting the value of 0^0 = 1". E con questo fine del discorso :-) Più divertente fare questa prova. import math math.e**(math.pi*1j) + 1 G

Re: [Python] R: zero alla zero

2016-08-06 Per discussione Simone Federici
http://mathforum.org/dr.math/faq/faq.0.to.0.power.html ___ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python

Re: [Python] R: zero alla zero

2016-08-06 Per discussione Roberto Polli
Il 6 agosto 2016 15:56, Spock ha scritto: > Eh no, 0^0 è indeterminato Dipende dal contesto (analitico, algebrico, ...) Vedi anche qui: http://math.stackexchange.com/questions/11150/zero-to-the-zero-power-is-00-1 Pax, R. ___ Python mailing list Python@

[Python] R: zero alla zero

2016-08-06 Per discussione Spock
Eh no, 0^0 è indeterminato Da: python-boun...@lists.python.it [mailto:python-boun...@lists.python.it] Per conto di alessandro medici Inviato: sabato 6 agosto 2016 13:40 A: Discussioni generali sul linguaggio Python; daniele.zambe...@gmail.com Oggetto: Re: [Python] zero alla zero Più che un

Re: [Python] zero alla zero

2016-08-06 Per discussione alessandro medici
Più che una convenzione di python è una regola della matematica: qualsiasi numero elevato alla zero ha come valore 1. My cent... :-) Il 06/ago/2016 10:40, "Daniele Zambelli" ha scritto: > Mi è crollato un mito! > > >>> pow(0, 0) > 1 > >>> 0**0 > 1 > > Perché Python fa queste cose? > > ... > > P

Re: [Python] zero alla zero

2016-08-06 Per discussione Carlos Catucci
2016-08-06 10:40 GMT+02:00 Daniele Zambelli : > Mi è crollato un mito! http://stackoverflow.com/questions/14414430/why-0-0-equals-1-in-python http://stackoverflow.com/questions/25623841/strange-behaviour-when-raising-numbers-to-the-power-of-zero-in-python Il mito rimane in piedi ;) Carlos --

[Python] zero alla zero

2016-08-06 Per discussione Daniele Zambelli
Mi è crollato un mito! >>> pow(0, 0) 1 >>> 0**0 1 Perché Python fa queste cose? ... Poi cercando un po' in Internet ho visto che nell'informatica questa "convenzione" è molto diffusa. Mah... Buona estate. -- Daniele www.fugamatematica.blogspot.com giusto! nel verso forse è per