Error of the If command in the input bar
I found an error of the if command when entering two domain restriction conditions for multivariable functions.
I do not understand why if I put the command from the input bar it does not work and it produces an error message. But if I first enter the function without conditions in the input bar and then change it from the properties window the command does not give errors. If I place if nested in the input bar if they work.
If(x > 0, If(0 < y < 1, 5ℯ^(-3π² x) sin(π y)))
If(0 < y < 1, If(x > 0, 5ℯ^(-3π² x) sin(π y)))
The nested if graphs are not the same as the if graph with the conditions separately.
In addition, the commands using and and or generate other graphics with restrictions.
If(x > 1 ∧ 0 < y < 1, 5ℯ^(-3π² x) sin(π y))
If(x > 1 ∨ 0 < y < 1, 5ℯ^(-3π² x) sin(π y))