Neither of these results are useful.
A more elaborate function can be written which also handles list and matrix arguments:
atan2(
α
x,
α
y)
Func
©(x,y) 4-quadrant arctan(y/x)
©Must be installed in math\
©6jan02/[email protected]
local
α
t,
ε
m,
τ
x
© Function name, error message,
α
x type
"atan2 error"
→ε
m
© Initialize error message
define
α
t(
α
,
β
)=func
© Function finds atan2() of simple elements
when(
α
=0 and
β
=0,undef,R
▶
P
θ
(
α
,
β
))
endfunc
getType(
α
x)
→τ
x
© Save argument type for later tests
if
τ
x
≠
getType(
α
y):return
ε
m
© Return error if arguments not same type
if
τ
x="LIST" then
© Handle list arguments
if dim(
α
x)
≠
dim(
α
y):return
ε
m
return seq(
α
t(
α
x[k],
α
y[k]),k,
1
,dim(
α
x))
elseif
τ
x="MAT" then
© Handle matrix arguments
if rowdim(
α
x)
≠
rowdim(
α
y) or coldim(
α
x)
≠
coldim(
α
y):return
ε
m
© Validate dimensions
return list
▶
mat(math\atan2(mat
▶
list(
α
x),mat
▶
list(
α
y)),coldim(
α
x))
elseif
τ
x="NUM" then
© Handle numeric arguments
return
α
t(
α
x,
α
y)
else
© Return error for all other arg types
return
ε
m
endif
EndFunc
Both arguments of atan2() must be the same type, and must be numbers, lists or expressions. atan2()
does not work with symbolic arguments.
Typical calls and results in Degree angle mode are:
atan2(1,1)
returns
45
atan2(-1,-1)
returns
-135
atan2({1,-1},{1,-1})
returns
{45,-135}
returns
a tan 2
1
−
1
0 3
,
1
1
0
3
45
135
undef 30
[6.49] Taylor() polynomial function finds tangent line
The line tangent to a function y = f(x) at a point x = a is defined by the criteria that the line passes
through point (a,f(a)) and the slope of the line is the derivative of f(x) at x = a. If the tangent line is
[1]
y
=
m
$
x
+
n
6 - 82
Summary of Contents for TI-92+
Page 52: ...Component side of PCB GraphLink I O connector detail 1 41...
Page 53: ...LCD connector detail PCB switch side 1 42...
Page 54: ...Key pad sheet contact side Key pad sheet key side 1 43...
Page 55: ...Key cap detail 1 44...
Page 57: ...Component side of PCB with shield removed A detail view of the intergrated circuits 1 46...
Page 410: ...void extensionroutine2 void Credit to Bhuvanesh Bhatt 10 4...