For 0 raised to the 0 power the answer is 1 however this is considered a definition and not an actual calculation.Note that in this case the answer is the same for both -3 3 and (-3) 3 however they are still calculated differently. If you attempt to pass a negative number to sqrt(), then youll get a ValueError. -3 raised to the power of 3 is written (-3) 3 = -27. While you probably wont need to calculate the square root of zero often.-4 raised to the power of 2 is written (-4) 2 = 16.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |