What is the difference between: i) Variable and literal ii) Constant and Coefficient (in algebra (not programming))
Answers
Answered by
43
literal is notation for representing a fixed ( const ) value. A variable is storage location associated with a symbolic name (pointed to, if you'd like). In any programming language a Literal is a constant value, where as identifiers can change their values
____________________________
A coefficient is the number in front of the letter, eg =3x2
3 is the coefficient.
A constant is just a number
eg =y=3x2+7
7 is the constant.
Answered by
1
Answer:
Variable and Literal
Variable, a name that can represent different value during the execution of the program.
Literal is not a name... it is the value itself.
Constant and Coefficient
A Coefficient is the number in front of the letter, eg- 3x 2 3 is the coefficient.
A Constant is just a number, eg- y=3x2+7
7 is the constant.
Similar questions