MathematicalFunctions[Evalf]
Zoom
zoom within the last plot computed using 'Evalf' related to concatenated Taylor expansions used when performing numerical computations of Heun or Appell functions
Calling Sequence
Parameters
Description
Examples
Compatibility
Zoom()
Zoom([n, m])
[n, m]
-
(optional) list with two numbers, where n represents the origin of the returned plot and m indicates the width to the left and to the right of n where the plot is being zoomed. The default value is [1, 1].
The Zoom command is used to zoom within the last plot computed using Evalf using a concatenated Taylor expansions approach when performing numerical evaluations of Heun or Appell functions. This command is useful to understand how the method of a sequence of concatenated Taylor expansions work.
When called with the extra argument [n, m], n represents the origin of the returned plot and m indicates the width to the left and to the right of n where the plot is being zoomed. Calling Zoom with no arguments is the same as calling it with the optional argument [1, 1].
Initialization: Load the command and package and set the display of special functions in output to typeset mathematical notation (textbook notation):
with⁡MathematicalFunctions,Evalf
Evalf
withMathematicalFunctions:-Evalf;Typesetting:-EnableTypesetRuleTypesetting:-SpecialFunctionRules:
Add,Evalb,Zoom,QuadrantNumbers,Singularities,GenerateRecurrence,PairwiseSummation
Consider one of the special values of AppellF1, a case where the function can be represented by a 2F1 hypergeometric function
F1 ≔ %AppellF14.0, 2.0, .3, 2.3, 1.12, 1.1
F1≔F1⁡4.0,2.0,0.3,2.3,1.12,1.1
F1=value⁡convert⁡F1,rational
F1⁡4.0,2.0,0.3,2.3,1.12,1.1=10000⁢F12⁡2,4;2310;−15
The left-hand side is AppellF1 in inert form, to avoid the automatic representation in terms of 2F1 functions, while the right-hand side involves only a hypergeometric 2F1 function. Evaluate this expression numerically
evalf⁡
5325.710910=5325.710910
Compute the same but now using a concatenated Taylor series expansion, and displaying a plot showing the centers and path of the Taylor expansions used and no other information
Evalf⁡,usetaylor,time,plot,quiet
CPU time elapsed during evaluation: .78e-1 seconds
5325.710910+1.⁢10−13⁢I=5325.710910
Zoom closer to the evaluation point 1.1, extending 1/50 to the left and right of 1.1
Zoom⁡1.1,150
In this Taylor approach, each expansion around a point is used to reach up to 95/100 of the radius of convergence before starting another expansion. Reduce that to 1/2, compute internally at Digits = 50 (but return as if computing with Digits = 10)
Evalf⁡,50,usetaylor,R=12,time,plot,zoom=1,12,quiet
CPU time elapsed during evaluation: .281 seconds
5325.710910+1.410240821⁢10−52⁢I=5325.710910
Use Zoom to zoom closer to the point z=1.1
Zoom⁡1.1,115
The MathematicalFunctions[Evalf][Zoom] command was introduced in Maple 2017.
For more information on Maple 2017 changes, see Updates in Maple 2017.
See Also
Appell
AppellF1
convert/rational
evalf
Evalf command
Evalf package
hypergeom
MathematicalFunctions
taylor
Download Help Document