Difference between revisions of "Mathematical Expressions"

Line 14: Line 14:
  
 
In words square root of (A to the power of B plus 20)
 
In words square root of (A to the power of B plus 20)
 +
 +
Trigonometric functions:
 +
 +
Normal functions as SIN(x), COS(x), TAN(x) and COT(x) need x as input argument in degree. The reverse functions of above are named ASIN(x), ACOS(x), ATAN(x) and ACOT(x) and deliver degrees as output.
 +
 +
The functions ending with R as SINR(x) will need x in radians as input respectively deliver as output radians as ASINR(x) does.
 +
 +
Some examples:
 +
 +
SIN(30)=0.5 ASIN(0.5)=30° ASINR(0.5)=0.524rad
 +
SINR(PI/4)=0.707 ASIN(0.707)=45°
 +
 +
If the argument of a function is stored in local variable A and the result should show up in local variable C then open variable A and give it the desired value say 0.5 then open variable C, there select ‘Expression’ and write as example ASINR. Now open the blue rectangle and select the variable (A in this case). Thereafter ASINR{lv=A}) is displayed In the 'Set C' window. Back in the main window the following is displayed:
 +
 +
? Set Variable
 +
  A:0.5
 +
? Set Variable
 +
  C:ASINR({lv=A})

Revision as of 13:33, 5 January 2024

Generally arithmetic operators and distinct values need to be typed by hand while variables can be chosen from the menu opening by hitting the blue rectangle on the ‘Expression’ line. The benefit is: Only existing variables are used and the curly braces plus the ‘lv=’ or ‘v=’ in case of a global variable is typed automatically.

Some examples:

To add local variables A and B and store the result in C open ‘? Set Variable’ (C) there select 'Expression' and select via the blue rectangle first 'A' then type '+' and next select 'B'. Finally the line reads {lv=A}+{lv=B}.

To add 130 to C the command in the ‘Action Window’ should read as:

C:{lv=C}+130 or C:{lv=C}+1.3E2 using scientific notation.


C: ({lv=A}^{lv=B}+20)^0.5 with A=2, B=3 the result is C=5.29

In words square root of (A to the power of B plus 20)

Trigonometric functions:

Normal functions as SIN(x), COS(x), TAN(x) and COT(x) need x as input argument in degree. The reverse functions of above are named ASIN(x), ACOS(x), ATAN(x) and ACOT(x) and deliver degrees as output.

The functions ending with R as SINR(x) will need x in radians as input respectively deliver as output radians as ASINR(x) does.

Some examples:

SIN(30)=0.5 ASIN(0.5)=30° ASINR(0.5)=0.524rad SINR(PI/4)=0.707 ASIN(0.707)=45°

If the argument of a function is stored in local variable A and the result should show up in local variable C then open variable A and give it the desired value say 0.5 then open variable C, there select ‘Expression’ and write as example ASINR. Now open the blue rectangle and select the variable (A in this case). Thereafter ASINR{lv=A}) is displayed In the 'Set C' window. Back in the main window the following is displayed:

? Set Variable

  A:0.5

? Set Variable

  C:ASINR({lv=A})