I have CS background, and I'm trying to teach fundamentals of programming to students. They seem to have difficulties in understanding the difference between x=5 and x==5. However, trying to explain, made me wonder what the meaning of x=5
is in mathematics.
Is there a concept of assignment in mathematics? Or is this an equation/binding/statement/something else? What is its proper name? And does the use of the = operator differ from its use in the function below?
f(x)={1 if x mod 2 = 0
0 if x mod 2 = 1}