Difference between revisions of "Manuals/calci/DELTA"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | <div style="font-size:30px">'''DELTA( | + | <div style="font-size:30px">'''DELTA (a,b)'''</div><br/> |
− | *Where ' | + | *Where 'a' is the first number and 'b' is the second number. |
DELTA() compares the two numbers to find if they are equal. Displays '1' if n1 and n2 are equal, else displays '0'. | DELTA() compares the two numbers to find if they are equal. Displays '1' if n1 and n2 are equal, else displays '0'. | ||
==Description== | ==Description== | ||
− | DELTA( | + | DELTA(a,b) |
For Example, | For Example, | ||
Line 16: | Line 16: | ||
DELTA(0) ''returns 1'' | DELTA(0) ''returns 1'' | ||
− | *Calci returns '1' if | + | *Calci returns '1' if a=b and returns '0' if a<>b. |
*Calci displays an #ERROR message if numbers are non-numeric. | *Calci displays an #ERROR message if numbers are non-numeric. | ||
− | *' | + | *'b' is optional. If not mentioned, Calci considers it as '0'. |
*This function is also called as Kronecker Delta Function. | *This function is also called as Kronecker Delta Function. |
Revision as of 12:28, 9 July 2018
DELTA (a,b)
- Where 'a' is the first number and 'b' is the second number.
DELTA() compares the two numbers to find if they are equal. Displays '1' if n1 and n2 are equal, else displays '0'.
Description
DELTA(a,b)
For Example,
DELTA(5,5) returns 1
DELTA(3.3,4.4) returns 0
DELTA(0) returns 1
- Calci returns '1' if a=b and returns '0' if a<>b.
- Calci displays an #ERROR message if numbers are non-numeric.
- 'b' is optional. If not mentioned, Calci considers it as '0'.
- This function is also called as Kronecker Delta Function.
Examples
Function | Output |
DELTA(76,54) | 0 |
DELTA(1000,1000) | 1 |
DELTA(0.005,5) | 0 |
DELTA(-200,-200) | 1 |
DELTA(30) | 0 |
DELTA(0) | 1 |
Related Videos
See Also
References