⇐ back

    Creating a variable

    to create a variable:

    create new variable by typing it's identifier (name) and assigning a value:

    ex2

    initializing expression (on right side) can refer to variables (or other entities) created before:

    ex3

    You can refer non-existing entities as well and define them later. In other words, you can create not fully defined variables and functions. However, such entities cannot be calculated, until they are fully defined. Vectors and matrices should be fully defined at the moment of creation.

    if we consider, that a and b are cathetus of a rectangular triangle, then it's hypotenuse can be obtained as: