Examples and Applications Index
This worksheet provides access to the example worksheets and applications that are available through the help system. The worksheets have been organized into topical sections, with a complete alphabetical listing of all example worksheets at the end. Click the box to the left of a section name to expand the section and display the list of examples. Click the appropriate hyperlink in a section to open the corresponding worksheet.
Example worksheets and workbooks are also installed with the Maple software. Example worksheets can be found in the examples directory of your Maple installation. Sample workbooks can be found in the data/Workbook directory of your Maple installation.
For additional applications and other free resources, visit the Maple Application Center.

Language and System


•

examples/binarytree: A demonstration of programming a Maple package, this worksheet implements a dictionary structure that uses binary trees.

•

examples/CodeCoverage: A demonstration of programming a Maple package, this worksheet creates a package for code coverage profiling.

•

examples/GMP: An introduction to the GNU Multiple Precision (GMP) integer library and Maple exact arbitraryprecision integer arithmetic.

•

examples/LinearAlgebraMigration: An overview of converting worksheets that use the superseded linalg package to use the LinearAlgebra and VectorCalculus packages.

•

examples/LinkedListPackage: A demonstration of programming a Maple package, this worksheet implements a linked list structure and operations on the pairs.

•

examples/Task: Examples using the Task Programming Model for multithreaded programming.



Connectivity


•

examples/CodeGeneration: An introduction to the Maple package that controls the translation of Maple code to other languages.

•

examples/Quiz: An introduction to generating interactive tests using the Grading package. If desired, you can create a quiz that can then be exported as a Maple T.A. course module.



Calculus


•

examples/Calculus1Tangents: Tangents, function inverses, and plotting by sampling in the visualization component of the Student[Calculus1] package.



Statistics


•

examples/IrisData: Examples of using summary statistics and principal component analysis on the Iris data set.

•

examples/RobustStatistics: An overview of the Statistics package commands for describing data sets that have noisy measurements.

•

examples/StatisticsEstimation: An overview of the Statistics package commands for statistical estimation, including maximum likelihood estimation.



App Authoring


•

examples/Explore: Examples using the Explore command to construct and insert a collection of embedded components used to explore an expression or a plot.



Maplet Applications


•

examples/AlertMaplet: An example Maplet application providing advanced information for the Alert example Maplet application.

•

examples/BezoutMatrixMaplet: An example Maplet application providing advanced information for the advanced LinearAlgebra BezoutMatrix Maplet application.

•

examples/ConditionNumberMaplet: An example Maplet application providing advanced information for the advanced LinearAlgebra ConditionNumber Maplet application.

•

examples/ConfirmMaplet: An example Maplet application providing advanced information for the example Confirm Maplet application.

•

examples/GetColorMaplet: An example Maplet application providing advanced information for the GetColor example Maplet application.

•

examples/GetEquationMaplet: An example Maplet application providing advanced information for the GetEquation example Maplet application.

•

examples/GetExpressionMaplet: An example Maplet application providing advanced information for the GetExpression example Maplet application.

•

examples/GetFileMaplet: An example Maplet application providing advanced information for the GetFile example Maplet application.

•

examples/GetInputMaplet: An example Maplet application providing advanced information for the GetInput example Maplet application.

•

examples/HilbertMatrixMaplet: An example Maplet application providing advanced information for the advanced LinearAlgebra HilbertMatrix Maplet application.

•

examples/IntegrationMaplet: An example Maplet application providing advanced information for the advanced Integration Maplet application.

•

examples/MatrixNormMaplet: An example Maplet application providing advanced information for the advanced LinearAlgebra MatrixNorm Maplet application.

•

examples/MessageMaplet: An example Maplet application providing advanced information for the Message example Maplet application.

•

examples/QRDecompositionMaplet: An example Maplet application providing advanced information for the advanced LinearAlgebra QRDecomposition Maplet application.

•

examples/QuestionMaplet: An example Maplet application providing advanced information for the Question example Maplet application.

•

examples/SelectionMaplet: An example Maplet application providing advanced information for the Selection example Maplet application.

•

examples/ShowTableMaplet: An example Maplet application providing advanced information for the advanced ShowTable Maplet application.

•

examples/SingularValuesMaplet: An example Maplet application providing advanced information for the advanced LinearAlgebra SingularValues Maplet application.

•

examples/VectorNormMaplet: An example Maplet application providing advanced information for the advanced LinearAlgebra VectorNorm Maplet application.



Algebra


•

examples/LinearAlgebraMigration: An overview of converting worksheets that use the superseded linalg package to use the LinearAlgebra and VectorCalculus packages.



Discrete Mathematics


•

Combinatorial Structures Package, Sample Structures: A simple collection of combstruct examples showing how to generate random trees, investigate the distribution of height by simulation, enumerate functional graphs, alcohols, necklaces, expression trees, and more.

•

Wavelet Transforms: An introduction to the mathematical concepts behind the wavelet transforms available, and the ways in which you would implement such concepts in Maple.



Differential Equations


•

examples/deplot: Special facilities for plotting solutions of differential equations.

•

examples/deplot3d: Plotting solutions of differential equations in three dimensions.



DifferentialAlgebraic Equations




Symbolic Calculations


•

examples/define: Using the Maple define command to specify a function by its behavior.



Numeric Calculations


•

examples/Optimization: Overview of using the Optimization package to find local optima. It includes linear programming, quadratic programming, nonlinear programming, and least squares examples.



Mathematical Visualization


•

examples/BranchCuts: A visual exploration of branches and branch cuts for the inverse trig and hyperbolic functions.

•

examples/Calculus1Tangents: Tangents, function inverses, and plotting by sampling in the visualization component of the Student[Calculus1] package.

•

examples/deplot: Special facilities for plotting solutions of differential equations.

•

examples/deplot3d: Plotting solutions of differential equations in three dimensions.

See the Plotting Guide for other sample graphs.


Grading and Assessment


•

examples/Quiz: An introduction to generating interactive tests using the Grading package. If desired, you can create a quiz that can then be exported as a Maple T.A. course module.



Science and Engineering


•

applications/AntennaArray: An application that calculates the array factor and directivity for a uniform linear antenna array.

•

applications/AmplifierGain: An application that plots the gain of an amplifier circuit for both ideal and nonideal response using commands.

•

applications/AmplifierGainApp: An application that plots the gain of an amplifier circuit for both ideal and nonideal response using sliders and input fields.

•

applications/BinaryDistillation: An application that finds the required number of stages for separating two liquid components by using the McCabeThiele method.

•

applications/BouncingBall: Example on how event modeling in the dsolve
command can be used to model a ball bouncing on a hilly terrain.

•

applications/DCMotor: Example to obtain the transfer function and state space model of a system, and then design a LQR controller.

•

applications/PaintProcess: An application that illustrates how Maple was used to identify and subsequently correct the source of error between the modelpredicted and actual concentrations of paint produced.

•

applications/RadiatorDesign: An application that demonstrates the use of Maple's connectivity to CAD systems, and presents a typical usecase, for the design of a radiator assembly.

•

applications/ReactionSpontaneity: An application that calculates the temperature at which the reaction of oxygen and nitrogen to form nitrogen monoxide becomes spontaneous.

•

applications/StabilityAnalysis: An application that shows how Maple can be used to control the reentry path of a space shuttle by examining the boundaries of constant gain and phase margins.

•

ElCentroEarthquakeAnalysis: An application that analyzes accelerometer data from the 1940 El Centro earthquake.

•

examples/SignalProcessing: Examples of frequency domain analysis, windowing, filtering, and signal analysis using the Signal Processing package.

•

Thermal Engineering with Maple: A collection of applications related to thermal engineering.

•

Thermal Engineering/Heat Transfer/Energy Needed to Vaporize Ethanol: An application that calculates the energy needed to vaporize liquid ethanol at an initial temperature and pressure.

•

Thermal Engineering/Heat Transfer/Heat Transfer Coefficient across Flat Plate: An application that calculates the heat transfer coefficient of air flowing across a flat plate.

•

Thermal Engineering/Misc/Particle Falling through Air: An application that models a particle falling through air.

•

Thermal Engineering/Psychrometric Modeling/Adiabatic Mixing of Air: An application that mixes humid air and plots the thermodynamic process on a psychrometric chart.

•

Thermal Engineering/Psychrometric Modeling/Human Comfort Zone: An application that conditions air into the human comfort zone and plots the thermodynamic process on a psychrometric chart.

•

Thermal Engineering/Misc/Saturation Temperature of Fluids: An application that plots the saturation temperature, or boiling point, of a userselected fluid as a function of pressure.

•

Thermal Engineering/Refrigeration/Flow through an Expansion Valve: An application that models the thermodynamics of flow through an expansion valve.

•

Thermal Engineering/Refrigeration/Refrigeration Cycle Analysis 1: An application that analyzes a vaporcompression refrigeration cycle.

•

Thermal Engineering/Thermodynamic Cycles/Optimize a Rankine Cycle: An application that optimizes the efficiency of a regenerative Rankine cycle.

•

Thermal Engineering/Thermodynamic Cycles/Organic Rankine Cycle: An application that analyzes a subcritical organic Rankine cycle.



Alphabetical Listing of all Examples and Applications


•

applications/AntennaArray: An application that calculates the array factor and directivity for a uniform linear antenna array.

•

applications/AmplifierGain: An application that plots the gain of an amplifier circuit for both ideal and nonideal response using commands.

•

applications/AmplifierGainApp: An application that plots the gain of an amplifier circuit for both ideal and nonideal response using sliders and input fields.

•

applications/BinaryDistillation: An application that finds the required number of stages for separating two liquid components by using the McCabeThiele method.

•

applications/BouncingBall: Example on how event modeling in the dsolve
command can be used to model a ball bouncing on a hilly terrain.

•

applications/DCMotor: Example to obtain the transfer function and state space model of a system, and then design a LQR controller.

•

applications/PaintProcess: An application that illustrates how Maple was used to identify and subsequently correct the source of error between the modelpredicted and actual concentrations of paint produced.

•

applications/RadiatorDesign: An application that demonstrates the use of Maple's connectivity to CAD systems, and presents a typical usecase, for the design of a radiator assembly.

•

applications/ReactionSpontaneity: An application that calculates the temperature at which the reaction of oxygen and nitrogen to form nitrogen monoxide becomes spontaneous.

•

applications/StabilityAnalysis: An application that shows how Maple can be used to control the reentry path of a space shuttle by examining the boundaries of constant gain and phase margins.

•

ElCentroEarthquakeAnalysis: An application that analyzes accelerometer data from the 1940 El Centro earthquake.

•

examples/AlertMaplet: An example Maplet application providing advanced information for the Alert example Maplet application.

•

examples/BezoutMatrixMaplet: An example Maplet application providing advanced information for the advanced LinearAlgebra BezoutMatrix Maplet application.

•

examples/binarytree: A demonstration of programming a Maple package, this worksheet implements a dictionary structure that uses binary trees.

•

examples/BranchCuts: A visual exploration of branches and branch cuts for the inverse trig and hyperbolic functions.

•

examples/Calculus1Tangents: Tangents, function inverses, and plotting by sampling in the visualization component of the Student[Calculus1] package.

•

examples/CodeCoverage: A demonstration of programming a Maple package, this worksheet creates a package for code coverage profiling.

•

examples/CodeGeneration: An introduction to the Maple package that controls the translation of Maple code to other languages.

•

examples/combstruct_attributes: Attribute grammars are a way to express recursively defined properties of structures. They are available in the combstruct package.

•

examples/combstruct_gen_funcs: It is possible to produce generating function equations and to solve some of them. Also, there is the allstructs function which performs exhaustive structure generation.

•

examples/combstruct_grammars: An introduction to combstruct. Learn the basics of specifications, how to get counting sequences, and how to use predefined structures (including subsets, permutations, and combinations).

•

examples/combstruct_sample_structs: A simple collection of combstruct examples showing how to generate random trees, investigate the distribution of height by simulation, enumerate functional graphs, alcohols, necklaces, expression trees, and more.

•

examples/ConditionNumberMaplet: An example Maplet application providing advanced information for the advanced LinearAlgebra ConditionNumber Maplet application.

•

examples/ConfirmMaplet: An example Maplet application providing advanced information for the example Confirm Maplet application.

•

examples/define: Using the Maple define command to specify a function by its behavior.

•

examples/deplot: Special facilities for plotting solutions of differential equations.

•

examples/deplot3d: Plotting solutions of differential equations in three dimensions.

•

examples/Explore: Examples using the Explore command to construct and insert a collection of embedded components used to explore an expression or a plot.

•

examples/GetColorMaplet: An example Maplet application providing advanced information for the GetColor example Maplet application.

•

examples/GetEquationMaplet: An example Maplet application providing advanced information for the GetEquation example Maplet application.

•

examples/GetExpressionMaplet: An example Maplet application providing advanced information for the GetExpression example Maplet application.

•

examples/GetFileMaplet: An example Maplet application providing advanced information for the GetFile example Maplet application.

•

examples/GetInputMaplet: An example Maplet application providing advanced information for the GetInput example Maplet application.

•

examples/GMP: An introduction to the GNU Multiple Precision (GMP) integer library and Maple exact arbitraryprecision integer arithmetic.

•

examples/HilbertMatrixMaplet: An example Maplet application providing advanced information for the advanced LinearAlgebra HilbertMatrix Maplet application.

•

examples/IntegrationMaplet: An example Maplet application providing advanced information for the advanced Integration Maplet application.

•

examples/IrisData: Examples of using summary statistics and principal component analysis on the Iris data set.

•

examples/LinearAlgebraMigration: An overview of converting worksheets that use the superseded linalg package to use the LinearAlgebra and VectorCalculus packages.

•

examples/LinkedListPackage: A demonstration of programming a Maple package, this worksheet implements a linked list structure and operations on the pairs.

•

examples/MatrixNormMaplet: An example Maplet application providing advanced information for the advanced LinearAlgebra MatrixNorm Maplet application.

•

examples/MessageMaplet: An example Maplet application providing advanced information for the Message example Maplet application.

•

examples/Optimization: Overview of using the Optimization package to find local optima. It includes linear programming, quadratic programming, nonlinear programming, and least squares examples.

•

examples/QRDecompositionMaplet: An example Maplet application providing advanced information for the advanced LinearAlgebra QRDecomposition Maplet application.

•

examples/QuestionMaplet: An example Maplet application providing advanced information for the Question example Maplet application.

•

examples/Quiz: An introduction to generating interactive tests using the Grading package. If desired, you can create a quiz that can then be exported as a Maple T.A. course module.

•

examples/RobustStatistics: An overview of the Statistics package commands for describing data sets that have noisy measurements.

•

examples/SelectionMaplet: An example Maplet application providing advanced information for the Selection example Maplet application.

•

examples/ShowTableMaplet: An example Maplet application providing advanced information for the advanced ShowTable Maplet application.

•

examples/SignalProcessing: Examples of frequency domain analysis, windowing, filtering, and signal analysis using the Signal Processing package.

•

examples/SingularValuesMaplet: An example Maplet application providing advanced information for the advanced LinearAlgebra SingularValues Maplet application.

•

examples/spread: A package for programmatically manipulating spreadsheets.

•

examples/StatisticsEstimation: An overview of the Statistics package commands for statistical estimation, including maximum likelihood estimation.

•

examples/Task: Examples using the Task Programming Model for multithreaded programming.

•

examples/VectorNormMaplet: An example Maplet application providing advanced information for the advanced LinearAlgebra VectorNorm Maplet application.

•

examples/Wavelets: An introduction to the mathematical concepts behind the wavelet transforms available, and the ways in which you would implement such concepts in Maple.

•

Thermal Engineering with Maple: A collection of applications related to thermal engineering.

•

Thermal Engineering/Heat Transfer/Energy Needed to Vaporize Ethanol: An application that calculates the energy needed to vaporize liquid ethanol at an initial temperature and pressure.

•

Thermal Engineering/Heat Transfer/Heat Transfer Coefficient across Flat Plate: An application that calculates the heat transfer coefficient of air flowing across a flat plate.

•

Thermal Engineering/Misc/Particle Falling through Air: An application that models a particle falling through air.

•

Thermal Engineering/Psychrometric Modeling/Adiabatic Mixing of Air: An application that mixes humid air and plots the thermodynamic process on a psychrometric chart.

•

Thermal Engineering/Psychrometric Modeling/Human Comfort Zone: An application that conditions air into the human comfort zone and plots the thermodynamic process on a psychrometric chart.

•

Thermal Engineering/Misc/Saturation Temperature of Fluids: An application that plots the saturation temperature, or boiling point, of a userselected fluid as a function of pressure.

•

Thermal Engineering/Refrigeration/Flow through an Expansion Valve: An application that models the thermodynamics of flow through an expansion valve.

•

Thermal Engineering/Refrigeration/Refrigeration Cycle Analysis 1: An application that analyzes a vaporcompression refrigeration cycle.

•

Thermal Engineering/Thermodynamic Cycles/Optimize a Rankine Cycle: An application that optimizes the efficiency of a regenerative Rankine cycle.

•

Thermal Engineering/Thermodynamic Cycles/Organic Rankine Cycle: An application that analyzes a subcritical organic Rankine cycle.


