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".
>
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
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
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
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@
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
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
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
--
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