Jump to content

Little error i'm not sure ...


Recommended Posts

Global $path = 0^0
MsgBox(0, "", $path)

This is the code >_<

It is just a mathematic thing but in school they teached us that this returns 0 and not 1, maybe our teacher told us wrong things but i think he didn't so please tell me if its right or wrong...

Edited by Daniel W.

--------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote]

Link to comment
Share on other sites

Global $path = 0^0
MsgBox(0, "", $path)

This is the code :D

It is just a mathematic thing but in school they teached us that this returns 0 and not 1, maybe our teacher told us wrong things but i think he didn't so please tell me if its right or wrong...

Daniel W.,

Check out these two links:

http://mathforum.org/dr.math/faq/faq.number.to.0power.html

http://mathforum.org/dr.math/faq/faq.0.to.0.power.html

taurus905

"Never mistake kindness for weakness."-- Author Unknown --"The highest point to which a weak but experienced mind can rise is detecting the weakness of better men."-- Georg Lichtenberg --Simple Obfuscator (Beta not needed.), Random names for Vars and Funcs

Link to comment
Share on other sites

0^0 is

undefined.

Found this there so ..

--------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote]

Link to comment
Share on other sites

Found this there so ..

Daniel W.,

If found this at:

http://mathforum.org/dr.math/faq/faq.0.to.0.power.html

This means that depending on the context where 0^0 occurs, you might wish to substitute it with 1, indeterminate or undefined/nonexistent.

Some people feel that giving a value to a function with an essential discontinuity at a point, such as x^y at (0,0), is an inelegant patch and should not be done. Others point out correctly that in mathematics, usefulness and consistency are very important, and that under these parameters 0^0 = 1 is the natural choice.

The following is a list of reasons why 0^0 should be 1.

http://mathforum.org/dr.math/faq/faq.0.to.0.power.html

taurus905

"Never mistake kindness for weakness."-- Author Unknown --"The highest point to which a weak but experienced mind can rise is detecting the weakness of better men."-- Georg Lichtenberg --Simple Obfuscator (Beta not needed.), Random names for Vars and Funcs

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...