Polymath 5 Overview
Polymath 5 Overview
0 - OVERVIEW
POLYMATH is a proven computational system, which has been specifically created for educational or professional use. The various POLYMATH programs allow the user to apply effective numerical analysis techniques during interactive problem solving on personal computers. Results are presented graphically for easy understanding and for incorporation into papers and reports. Students, engineers, mathematicians, scientists, or anyone with a need to solve problems will appreciate the efficiency and speed of problem solution. The POLYMATH main, task selection window is shown below.
The main options available in this window are the following: LIN: Linear Equations Solver. Enter (in matrix form) and solve a new system of up to 64 simultaneous linear equations. NLE: Nonlinear Equations Solver. Enter and solve a new system of up to 200 nonlinear algebraic equations. DEQ: Differential Equations Solver. Enter and solve a new system of up to 200 ordinary differential equations. REG: Data analysis and Regression. Enter, analyze, regress, and plot set of up to 350 data points. calc: Calculator. Enter and evaluate explicit expressions with a variety of intrinsic functions. units: Unit Conversion. Convert selected units into desired units. const: Useful Constants. Find selected scientific and engineering constants
setup: Parameter Settings. Modify parameters of numerical solution algorithms Additional information such as the current filename, problem title, and system time is shown in the status bar.
The options and information available on this screen are the following: Add NLE: Input a new nonlinear (implicit) algebraic equation Add EE: Input a new explicit algebraic equation Remove: Delete the highlighted equation Edit: Edit/Alter the highlighted equation Comments: This check-box hides/unhides the comments column in the equations entry table. The comments column is not used by POLYMATH for the numerical calculations, optionally users can benefit from it by adding comments and remarks. : Selecting this option opens a window showing a list of defined and undefined variables : Move the highlighted equation downward : Move the highlighted equation upward : Problem setup state. Red light - incomplete (missing definition, initial state etc.). Green light - complete, ready to be solved. : Solve the system of equations. Note that this option is displayed only when a valid set of equations, including initial guesses for the variables, have been entered. Solve with: Select the preferred solution algorithm from 4 choices.
At the bottom of the window the number of nonlinear and auxiliary equations is listed and problem setup related warning messages (undefined variables, missing initial values etc.) are given. Detailed additional information is provided with regard to the following subjects: Entering the equations and initial estimates into the program Variables and expressions Solution algorithms Solution report Troubleshooting
The options and information available on this screen are the following: Add DE: Input a new differential equation Add EE: Input a new explicit algebraic equation Remove: Delete the highlighted equation Edit: Edit/Alter the highlighted equation
Comments: This check-box can hide/unhide the comments column in the equations entry table. The comments column is not used by POLYMATH for the numerical calculations. This optional feature allows users to add comments. : Selecting this option opens a window showing a list of defined and undefined variables : Move the highlighted equation downward : Move the highlighted equation upward : Problem setup state. Red light - incomplete (missing definition, initial state etc.). Green light - complete, ready to be solved. : Integrate the system of equations. Note that this option is displayed only when a valid set of equations, including initial and final values of the variables, has been entered. Table: When this option is marked a table containing the values of all the variables as function of independent variable will be created during integration. Graph: When this option is marked, a plot of the integrated values of the differential variables versus the independent variable will be created during integration. Report: When this option is marked a report containing initial, final, maximal and minimal values of all the variables, list of the equations in the system and some additional information will be shown after the integration is finished. Indep Var: Name of the independent variable. Solve with: Select the preferred solution algorithm identified in the pull down menu from among 6 choices including two for stiff problems. Initial Value: Initial value of the independent variable. Final Value: Final value of the independent variable. At the bottom of the window the number of nonlinear and auxiliary equations is listed and problem setup related warning messages (undefined variables, missing initial values etc.) are given.
The options available in this window are the following: Dependent Variable: Select the dependent variable for regression. Independent Variable: Select the independent variable for regression (indicated by 'x' in the regression equation above). Polynomial Degree: Select the degree of the polynomial (indicated by 'n' in equation above), select the '1/Linear' polynomial for linear regression. Through origin: If this option is marked, the free parameter is set to zero in the regression model (a0=0). Polynomial Integration: If this parameter is marked, the integral of the polynomial between the specified boundaries is calculated. Polynomial Differentiation: If this parameter is marked, the derivative of the polynomial at the specified point is calculated. Graph: If this option is marked, a graph showing the calculated curve (or points) and the data points is prepared and displayed. Residuals:
If this option is marked, a graph showing the deviation between the data and the calculated values of the dependent variable (error, residuals) points is prepared and displayed. Store Model in Column: Store the regression model and the calculated parameters in the next available empty column. Report: If this option is marked, a report showing the regression model the numerical values and confidence intervals of the parameters and some additional statistical and other information are presented and displayed. Solve (blue arrow): Carry out the regression and the additional calculations.
The options available in this window are the following: Dependent Variable: Select the one of the column names as the dependent variable for regression. Independent Variables: Select the independent variables for regression (indicated by other column names 'x1, x2, ... ,xn' in the regression equation above). Note that holding down the Cntr key while then pressing left button of the mouse will select more than one variable. Through origin: If this option is marked, the free parameter is set to zero in the regression model (a0 = 0). Graph: If this option is marked, a graph showing the calculated points and the data points is prepared and displayed. Residuals: If this option is marked, a graph showing the deviation between the data and the calculated values of the dependent variable (error, residuals) points is prepared and displayed. Store Model in column: Store the regression model and the calculated parameters in the next available empty column. Report: If this option is marked, a report showing the regression model the numerical values and confidence intervals of the parameters and some additional statistical and other information are
presented and displayed Solve (blue arrow): Carry out the regression and the additional calculations.
Enter Model: Type in a new regression model equation or edit an existing equation. Enter Initial Guess for Model Parameters: After entering the model, an initial guess for all the parameters should be provided in this area. Graph: If this option is marked, a graph showing the calculated points and the data points is prepared and displayed. Residuals:
If this option is marked, a graph showing the deviation between the data and the calculated values of the dependent variable (error, residuals) points is prepared and displayed. Store Model in column: Store the regression model and the calculated parameters in the next available empty column. Report: If this option is marked, a report showing the regression model the numerical values and confidence intervals of the parameters and some additional statistical and other information is presented and displayed. Solve (blue arrow): Carry out the regression with either the Levenberg-Marquardt or other algorithm and perform the additional calculations. To enter a model equation, press the "Enter Model" button. On the left-hand side, select the name of the dependent variable (it should be the name of an existing data column). On the right hand side, type in an equation containing numerical constants, column names, and parameter names. The program will identify the valid column names and will assign all the other names appearing in the equation as parameter names. You are requested to provide initial estimates for all the parameters.
Data Analysis
Tabulated data often cannot be represented satisfactorily by a regression model or it can be difficult to find such a model. The purpose of this part of the program to help you interpolate, differentiate, integrate and plot data for which no regression model is available. The window for selection of the type of the data analysis to be carried out is shown below. The options available in this window are the following.
Interpolation: Calculation of the value of the dependent variable for a specified value of the independent variable Differentiation: Calculation of the derivative of the dependent variable for a specified value of the independent variable Integration: Calculation of the integral of the dependent variable for a specified region of the independent variable Independent variable: Select the independent variable/s for the analysis Dependent variable: Select the dependent variable for the analysis Solve with: Select the solution method. Solve: Carry out the analysis
Graphical presentations can be created from the Data Table or are given as an option from several of the programs. The window for creation of a graph in the Data Table give a selection of the column variable for plotting as shown in the following window.
The resulting graph shown below has many options. Once the graph has been edited, it can be copied to other applications such as word processors, spreadsheets, or desktop publishing packages.
The graph editing options can be reached using either the Curves, X-axis and Y-axis dropdown menus or by pressing the right button on the mouse. Using the right button the menu options are displayed as shown below. The following options are available: Max Y-axis: Change the upper bound on the Y (vertical) axis. Min Y-axis: Change the lower bound on the Y (vertical) axis. Max X-axis: Change the upper bound on the X (horizontal) axis. Min X-axis: Change the lower bound on the X (horizontal) axis. Scatter connected: Show the curve connecting the calculated and/or stored data points. Draw points: Show the calculated and/or stored data points. Auto scale: Determines whether the program automatically changes the scale as users remove/add function curves. Curves and Functions: Option to remove variables and to add function plots to the graph. Title: Add or change graph title. Subtitle: Add or change graph subtitle. Inverse grid lines: Show grid lines if they are not shown, remove them if they are shown. Legend box: The legend box can be dragged to a different location, if necessary, using the mouse.
In addition to the options presented here there are options available to change the format of the labels in the X and Y axes, change the width of the various lines and curves and change the size of the points drown. These options can be reached using the drop-down menus.