1. Home
  2. Explore
  3. Mathematics
  4. Numerical Methods in Maple

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Numerical Methods in Maple

  • 94Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Numerical ODEs
In Maple, the command used for numerical solutions of univariate initial-value and boundary-value differential equations is
.

94 questions

  1. 1
    In Maple, the command used for numerical solutions of univariate initial-value and boundary-value differential equations is
    _____
    .
    Hint

    Think of Maple's main solver for ordinary differential equations.

    Answer

    dsolve

  2. 2
    In a Maple dsolve call, the option that requests a numerical rather than an exact solution is
    _____
    .
    Hint

    This option contrasts with symbolic or exact solving.

    Answer

    numeric

  3. 3
    For a boundary-value problem, conditions are specified at more than one
    _____
    point.
    Hint

    For an ODE in time, this could be different time locations.

    Answer

    independent variable

  4. 4
    The Maple command that can plot the solution of a numerical ordinary differential equation is
    _____
    .
    Hint

    Its name combines the abbreviation for ordinary differential equation with plotting.

    Answer

    odeplot

  5. 5
    A nonlinear leading ordinary differential equation can be treated numerically as a
    _____
    .
    Hint

    This class of systems includes algebraic constraints along with differential equations.

    Answer

    DAE

  6. 6
    An additional initial condition may be needed when the equation contains a squared derivative because the derivative can have either a positive or
    _____
    value.
    Hint

    Both signs produce the same result after squaring.

    Answer

    negative

  7. 7
    Maple's native PDE numerical support is limited primarily to problems with one space variable and one
    _____
    variable.
    Hint

    This is the usual one-dimensional time-dependent PDE setting.

    Answer

    time

  8. 8
    For a numerical PDE problem, Maple returns a solution
    _____
    rather than an ordinary solution procedure.
    Hint

    This returned object provides direct access to plotting and evaluation features.

    Answer

    module

  9. 9
    A PDE solution module can directly produce a three-dimensional plot as well as an
    _____
    .
    Hint

    This displays how the solution changes over time.

    Answer

    animation

  10. 10
    The standard PDE methods mentioned include Lax-Friedrichs, leapfrog, and
    _____
    .
    Hint

    It is another finite-difference method for standard PDEs.

    Answer

    Du Fort-Frankel

  11. 11
    For high-accuracy initial-value problems, Maple provides Taylor-series methods and step solvers such as Rosenbrock and
    _____
    .
    Hint

    This is the other step solver named alongside Rosenbrock.

    Answer

    LSOD

  12. 12
    For a high-accuracy harmonic-oscillator calculation, the solver recommended over a standard Runge–Kutta pair is the
    _____
    method.
    Hint

    It is designed to compute accurate local expansions.

    Answer

    Taylor series

  13. 13
    For a stiff problem, setting
    _____
    equal to true requests a stiff numerical method in the dsolve call.
    Hint

    This option has the same name as the type of problem.

    Answer

    stiff

  14. 14
    Using a stiff method for a stiff problem is generally more
    _____
    than using a standard RKF45 method.
    Hint

    The stiff example required far fewer right-hand-side evaluations.

    Answer

    efficient

  15. 15
    In Maple event handling, the part that determines when an event occurs is called the
    _____
    .
    Hint

    It asks the question 'when should the event occur?'

    Answer

    trigger

  16. 16
    In Maple event handling, the part that specifies what happens after the event occurs is called the
    _____
    .
    Hint

    It answers the question 'what should we do?'

    Answer

    action

  17. 17
    A common event trigger occurs when an expression passes through
    _____
    .
    Hint

    This detects a sign change or a zero crossing.

    Answer

    zero

  18. 18
    An event can be configured to trigger when an expression goes outside a specified
    _____
    .
    Hint

    This is useful when a variable must remain within acceptable bounds.

    Answer

    range

  19. 19
    Maple supports event triggers based on a specific time or a
    _____
    time value.
    Hint

    A periodic trigger can fire repeatedly at fixed intervals.

    Answer

    periodic

  20. 20
    The event action used to stop a simulation is
    _____
    .
    Hint

    It means to terminate further integration at the event.

    Answer

    halt

  21. 21
    Resetting a dependent variable during an event is an example of
    _____
    the problem.
    Hint

    The workshop also uses the shorter noun form 'reinit.'

    Answer

    reinitializing

  22. 22
    A variable that changes during a simulation and is updated by events should generally be declared as a
    _____
    variable rather than a parameter.
    Hint

    It changes at specific event times instead of varying continuously.

    Answer

    discrete

  23. 23
    A discrete variable can be used to count how many times an event has caused a
    _____
    .
    Hint

    The example increments a variable named num reset.

    Answer

    reset

  24. 24
    State-machine equations are evaluated in exactly the
    _____
    specified in their list.
    Hint

    This property matters when using to begin and to end.

    Answer

    order

  25. 25
    Within a state machine, the command to begin returns evaluation to the
    _____
    of the discrete-equation list.
    Hint

    It jumps back to the first state-machine action.

    Answer

    start

  26. 26
    Within a state machine, the command to end jumps evaluation to the
    _____
    of the discrete-equation list.
    Hint

    It skips to the final part of the state-machine framework.

    Answer

    end

  27. 27
    Numerical initial-value problem solutions in Maple are computed
    _____
    when requested, rather than necessarily all at once.
    Hint

    Requesting a value causes the computation to proceed to that point.

    Answer

    on request

  28. 28
    To reuse one numerical solution procedure for different input values, the problem can be
    _____
    .
    Hint

    The model contains named quantities whose values can be set later.

    Answer

    parameterized

  29. 29
    Combining parameterization with the
    _____
    option can rapidly produce solutions for many parameter values.
    Hint

    This option generates compiled code for the numerical computation.

    Answer

    compile

  30. 30
    Maple supports arbitrary-digit arithmetic by setting the number of working
    _____
    .
    Hint

    The workshop sets this value to 30 for a high-precision example.

    Answer

    digits

  31. 31
    For initial-value problems, both absolute and
    _____
    error tolerances can be specified.
    Hint

    This tolerance measures error relative to the magnitude of the solution.

    Answer

    relative

  32. 32
    The Maple solver function used to find a parameter value satisfying a scalar objective equation is
    _____
    .
    Hint

    It solves numerical equations rather than minimizing an objective.

    Answer

    fsolve

  33. 33
    When defining an objective function for fsolve, unevaluation quotes delay evaluation until fsolve supplies a numeric value for
    _____
    .
    Hint

    This is the variable used as the trial input to the objective.

    Answer

    x

  34. 34
    The purpose of an objective function in the first optimization example is to return the value of the solution at
    _____
    .
    Hint

    The target condition is that y at this point equals 2.

    Answer

    one

  35. 35
    The Maple function used to find a local minimum of an objective function is
    _____
    .
    Hint

    It searches for the smallest objective value over a specified region.

    Answer

    minimize

  36. 36
    The optimization function that returns both the objective value and the parameter where it occurs is
    _____
    .
    Hint

    It is used after minimizing the damping-time objective.

    Answer

    optimize

  37. 37
    Because minimize and fsolve find local solutions, a search should often be restricted using a specified
    _____
    .
    Hint

    The workshop excludes an undesired local minimum by limiting the search interval.

    Answer

    range

  38. 38
    For the damped oscillator, the optimization objective is the time at which the total energy reaches
    _____
    .
    Hint

    This represents the sensor's resolution threshold.

    Answer

    1e-6

  39. 39
    The damping constant that gives classical critical damping is normally
    _____
    when the mass and spring constant are both one.
    Hint

    The practical optimum in the example differs because the target is a measurable threshold rather than exact zero.

    Answer

    two

  40. 40
    The Maple boundary-value solver uses only
    _____
    error tolerance rather than relative error tolerance.
    Hint

    This differs from the initial-value solver.

    Answer

    absolute

  41. 41
    In the singular spherical-coordinate boundary-value example, a midpoint method is needed to handle the coefficient
    _____
    at the origin.
    Hint

    Direct evaluation at the origin causes a problem because a radius appears in a denominator.

    Answer

    singularity

  42. 42
    One midpoint method named for the singular boundary-value problem is
    _____
    .
    Hint

    It is one of the two available midpoint methods mentioned.

    Answer

    middefer

  43. 43
    For the singular spherical-coordinate problem, the boundary condition at the right endpoint specifies a zero
    _____
    .
    Hint

    This condition sets the derivative at the right boundary to zero.

    Answer

    slope

  44. 44
    Increasing the coefficient multiplying the leading derivative in a difficult nonlinear BVP can make the problem easier to
    _____
    .
    Hint

    The workshop tests values such as 1, one-tenth, and one-eightieth.

    Answer

    solve

  45. 45
    As the small coefficient in the difficult BVP decreases, a sharp boundary layer develops in the
    _____
    of the domain.
    Hint

    It is an interior rather than an endpoint layer.

    Answer

    middle

  46. 46
    When the default mesh is insufficient for a boundary-value problem, the maximum number of mesh points can be increased with
    _____
    .
    Hint

    This option controls the largest mesh allowed by the solver.

    Answer

    max mesh

  47. 47
    The method of gradually changing an easier problem into the target difficult problem is called
    _____
    .
    Hint

    It moves from a problem with a large coefficient to one with a small coefficient.

    Answer

    continuation

  48. 48
    Continuation is especially useful when a problem contains a small coefficient or a strongly
    _____
    nonlinear term.
    Hint

    Such terms can make direct Newton iteration fail.

    Answer

    nonlinear

  49. 49
    In the continuation example, the continuation parameter starts with the easy problem when its value is
    _____
    .
    Hint

    At the other endpoint, the parameter equals one and produces the target problem.

    Answer

    zero

  50. 50
    Continuation is powerful but generally requires trial and error and human
    _____
    to choose an effective path.
    Hint

    The solver does not automatically know the best continuation strategy in every case.

    Answer

    interaction

  51. 51
    In the shooting approach for an eigenvalue problem, the eigenvalue parameter is treated as an unknown
    _____
    .
    Hint

    The objective function takes this quantity as input.

    Answer

    parameter

  52. 52
    A normalization condition is introduced in the shooting method to avoid the uninteresting
    _____
    solution.
    Hint

    The original homogeneous boundary conditions naturally admit this solution.

    Answer

    zero

  53. 53
    The shooting objective function returns the value of the solution at the right endpoint, and eigenvalues occur where that value is
    _____
    .
    Hint

    The second boundary condition requires the function to vanish there.

    Answer

    zero

  54. 54
    The shooting method converts the eigenvalue problem into an initial-value problem with a free
    _____
    .
    Hint

    The unknown constant is varied until the endpoint condition is met.

    Answer

    parameter

  55. 55
    The alternative to shooting described for eigenvalue problems uses the boundary-value solver with an approximate initial
    _____
    .
    Hint

    The solver needs a starting function, not merely a starting parameter.

    Answer

    solution

  56. 56
    Maple's boundary-value solver can treat a free parameter as an additional degree of
    _____
    .
    Hint

    This lets a two-point second-order BVP be specified with three conditions.

    Answer

    freedom

  57. 57
    To obtain the second eigenfunction with the BVP approach, the initial approximate function can be given two
    _____
    .
    Hint

    The number of bumps helps distinguish higher eigenfunctions.

    Answer

    bumps

  58. 58
    If the BVP approach returns the same eigenvalue and function again, the initial guess was not sufficiently
    _____
    .
    Hint

    A different mode requires a meaningfully different starting guess.

    Answer

    distinct

  59. 59
    The shooting method is generally more
    _____
    than the BVP guessing method for systematically finding eigenvalues.
    Hint

    The BVP method is described as ad hoc and dependent on guesses.

    Answer

    systematic

  60. 60
    A piecewise binary representation reduces the number of decisions needed to evaluate a piecewise solution from linear growth to logarithmic
    _____
    .
    Hint

    The number of decisions scales with the logarithm of the number of branches.

    Answer

    growth

  61. 61
    The ordinary piecewise representation can make evaluation linear in the number of branches, causing plotting to become
    _____
    time.
    Hint

    Plotting evaluates many points, each requiring a potentially linear lookup.

    Answer

    quadratic

  62. 62
    In Maple's DAE methods, prolongation is essentially a specialized word for
    _____
    .
    Hint

    The system is differentiated until it reaches a lower index.

    Answer

    differentiation

  63. 63
    The RKF45, CK45, and Rosenbrock DAE methods can generally handle problems of
    _____
    one.
    Hint

    Higher-index systems are differentiated until they reach this level.

    Answer

    index

  64. 64
    For a higher-index DAE, prolongation produces constraints whose error is monitored by an
    _____
    control mechanism.
    Hint

    This mechanism also controls the differential-step error.

    Answer

    error

  65. 65
    Projection is performed at the end of each numerical step to keep the DAE constraints
    _____
    .
    Hint

    The solution is projected back onto the constraint surface.

    Answer

    exact

  66. 66
    MEBDFI is described as a direct DAE method that does not perform prolongation or
    _____
    .
    Hint

    It works directly with the original system.

    Answer

    projection

  67. 67
    The pendulum example is a simple index-three
    _____
    .
    Hint

    It combines differential equations for coordinates with an algebraic circle constraint.

    Answer

    DAE

  68. 68
    For the pendulum, differentiating the positional constraint twice and eliminating second derivatives produces an algebraic equation for
    _____
    .
    Hint

    This unknown is associated with the constraint force.

    Answer

    lambda

  69. 69
    To obtain a differential equation for lambda in the pendulum example, the constraint would need to be differentiated
    _____
    times.
    Hint

    Two differentiations produce an algebraic equation for lambda.

    Answer

    three

  70. 70
    In a delay differential equation, values of the solution before the starting time are called the
    _____
    history.
    Hint

    The example specifies values from time minus one to time zero.

    Answer

    initial

  71. 71
    Assuming a constant value for all prior times in a delay problem is not always appropriate because the actual initial history may be a
    _____
    .
    Hint

    The workshop contrasts a constant history with an exponential one.

    Answer

    function

  72. 72
    A nonconstant delay history can be represented in the existing formulation using a modifying
    _____
    term.
    Hint

    This term changes the solution representation over the initial-history interval.

    Answer

    piecewise

  73. 73
    A lag added to the pendulum's force term causes the motion to lose its true
    _____
    behavior.
    Hint

    The delayed system changes over time instead of repeating exactly.

    Answer

    periodic

  74. 74
    The delayed pendulum still remains on the unit
    _____
    because its algebraic constraint is enforced.
    Hint

    The original pendulum constraint requires a radius of one centered at the origin.

    Answer

    circle

  75. 75
    Maple's delay implementation stores an accurate interpolant of solution values from
    _____
    times.
    Hint

    Delayed evaluation requires access to the solution before the current time.

    Answer

    prior

  76. 76
    The amount of prior interpolant data retained for a delay problem is limited to what is needed in order to reduce
    _____
    usage.
    Hint

    Storing too much history has a computational cost.

    Answer

    memory

  77. 77
    For a one-dimensional reaction-diffusion PDE, Maple uses a full spatial
    _____
    difference discretization.
    Hint

    The method places the solution on a spatial grid.

    Answer

    finite

  78. 78
    The two reactant concentrations in the reaction-diffusion example are represented by U and
    _____
    .
    Hint

    They are the two dependent concentration variables.

    Answer

    V

  79. 79
    The one-dimensional finite-difference grid for the two-dimensional heat-equation demonstration contains n+1n+1n+1 by
    _____
    points.
    Hint

    The same number of points is used in both spatial directions.

    Answer

    n+1n+1n+1

  80. 80
    The central finite-difference approximation shown for a second derivative is a
    _____
    -order formula.
    Hint

    It uses the neighboring values on both sides of the central grid point.

    Answer

    second

  81. 81
    With n=20n=20n=20, the two-dimensional heat-equation discretization produces a grid with
    _____
    by 21 points.
    Hint

    The grid size is n+1n+1n+1 in each direction.

    Answer

    21

  82. 82
    The discrete two-dimensional heat equation at an interior node depends on the central value and its four neighboring nodes, for a total of
    _____
    unknown values.
    Hint

    Count the current node plus one node in each coordinate direction.

    Answer

    five

  83. 83
    For the heat-equation example, the boundary conditions set all boundary values of the solution to
    _____
    .
    Hint

    The same fixed value is imposed along every edge.

    Answer

    zero

  84. 84
    The initial condition for the discretized PDE is assigned only to interior grid points because the boundary values are already
    _____
    .
    Hint

    The endpoints are determined by the boundary conditions.

    Answer

    fixed

  85. 85
    For a two-dimensional PDE without native support, the method of
    _____
    converts the spatial problem into a system of ODEs.
    Hint

    The full name is method of lines.

    Answer

    lines

  86. 86
    The two-dimensional heat equation is solved in the workshop by combining finite differences with the method of
    _____
    .
    Hint

    This approach uses spatial discretization followed by numerical ODE integration.

    Answer

    lines

  87. 87
    A three-dimensional spatial discretization with 20 points in each direction creates approximately 20320^3203
    _____
    .
    Hint

    The number grows cubically with the number of grid points per dimension.

    Answer

    equations

  88. 88
    When constructing a large set of equations or boundary conditions, Maple's
    _____
    command is more efficient than repeatedly appending inside a for loop.
    Hint

    It constructs the final data structure without intermediate structures.

    Answer

    seq

  89. 89
    Repeatedly appending to a growing data structure inside a for loop can make the construction cost grow
    _____
    with the loop length.
    Hint

    Each intermediate structure must be rebuilt or stored.

    Answer

    quadratically

  90. 90
    The programmer interface for dsolve is useful when the model contains an operation such as
    _____
    that prevents direct use of the standard form.
    Hint

    This operation represents symbolic integration.

    Answer

    int

  91. 91
    The procedure form of dsolve requires a system to be converted into first-
    _____
    differential equations.
    Hint

    Each equation must involve only first derivatives.

    Answer

    order

  92. 92
    A procedure supplied to the programmer interface can call arbitrary Maple functionality, but the
    _____
    option may fail when the called computation is especially complicated.
    Hint

    Compilation requires the procedure's operations to be suitable for compiled execution.

    Answer

    compile

  93. 93
    In the programmer-interface example, the numerical solution repeatedly calls Maple's symbolic
    _____
    for different time values.
    Hint

    It is the operation that evaluates the integral appearing in the model.

    Answer

    int

  94. 94
    A compact procedure that loops over a spatial grid can replace a very large explicitly written system when implementing the method of
    _____
    .
    Hint

    It is the same PDE-to-ODE approach used for higher-dimensional problems.

    Answer

    lines

1 of 94
Question 1 of 94

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent