Open main menu

Changes

The equation that broke the Internet

2 bytes added, 20:23, 27 December 2021
'''6÷2(1+2) == 6÷(2*(1+2))'''
Other calculators, including Google and Wolfram will simply strip the parenthesis and solve a different equation, 6÷2*3. This is because within the programming, the open parenthesis (bracketing) triggers a different function within the programming, an open parenthesis tells the compiler to find the innermost parenthesized term and work outwards. Thus , to get the correct answer from inferior calculators , the input must be formalized with correct bracketing. I.e. 6÷(2*(1+2))
==Spreadsheets==
Entering the equation as =6/2(1+2) into a cell in a LibreOffice Calc spreadsheet will result in Err:509 (Missing operator), Google Sheets also returns an error (Formula parse error). This forces the user to format the equation using explicit multiplication. To avoid the left to right problem, the compiler must be instructed in advance to prepare for the function with an extra pair of parenthesis =6/(2*(1+2)).