Yes:
Z = [ ( Z - 2 ) + 3 ] / { (X + 3) (Z + B) }
========= ======= =======
----------------- -------------------
In algebra, there are several types of bracketing
symbols like [] () {}, and others.
A left-bracket [ can only match a right-bracket ];
a left-brace { can only match a right-brace };
and so on.
This is like QBasic where DO matches LOOP and
IF matches END IF.
Here is another example of correctly balanced algebra:
R = { A + [ (B + 3) (B - 2) + Z ] [ (4A + 6) - (3B - 2) ] } + 32
======= ======= ======== ========
----------------------- -----------------------
--------------------------------------------------------
Is the following ALGEBRA correct? Try underlining the parts grouped together by matching parentheses.
W = [ (A + B) ( Z - 2 ] * 3) / ( X + 3 )
(Don't figure out what it means.)