11-19-2017, 08:18 AM
The programme takes an complex number
(a,b)
from Home screen Ans & returns the result of
COMB(a,b)
to Ans, the answer differing from the result of in-built function COMB for the case where
a<b
the function COMB resulting in an error, while this programme returns
0.
Motivation: From the 49G on the function COMB returns 0 for a<b, a result I find more comfortable than error.
(a,b)
from Home screen Ans & returns the result of
COMB(a,b)
to Ans, the answer differing from the result of in-built function COMB for the case where
a<b
the function COMB resulting in an error, while this programme returns
0.
Motivation: From the 49G on the function COMB returns 0 for a<b, a result I find more comfortable than error.
Code:
COMB0
IFERR
COMB(RE(Ans),IM(Ans)):
THEN
0:
END: