Polymath Tutorial
Polymath Tutorial
Polymath Tutorial
Polymath Capabilities
Linear Equations Solver Nonlinear Equations Solver Differential Equations Solver Regression
Linear & Polynomial Data Table Multiple Linear or Multiple Nonlinear Regression
Additional Capabilities
Export to Excel Calculator and unit conversion tools Polymath Export to Matlab (see help Menu for more information)
Todays Class
Provide information on Polymath
How to open and use the software
1. New program 13. Solve system of ODEs 2. Open file 14. Regress and analyze data 3. Open recent file 15. Calculator 4. Save file 16. Unit converter 5. Cut 17. Scientific constants 6. Copy 18. Setup preferences 7. Paste 19. Help 8. Delete 9. Find 10. Find and replace 11. Solve system of linear equations 12. Solve system of nonlinear equations
Help Menu
1. Open a new sheet by clicking on the blank sheet in the upper corner. 2. Open Nonlinear Equations
3. In the upper left corner, click the f(x)+ button. This will allow you to enter one of the two equations. 4. A new window will open. 5. Type in the first equation as shown before.
3. In the upper left corner, click the f(x)+ button. This will allow you to enter one of the two equations. 4. A new window will open. 5. Type in the first equation as shown before. 6. Press Done.
7. You should see the new equation in the worksheet, as well as the comments. 8. Enter the second equation by repeating the same steps.
9. You will see the two equations and two initial value guesses in the worksheet. 10. The red X displays the undefined variables. 11. Enter the undefined variables by either 1) clicking on the x(=)+ button in the menu or 2) entering directly into the worksheet.
9. You will see the two equations and two initial value guesses in the worksheet. 10. The red X displays the undefined variables. 11. Enter the undefined variables by either 1) clicking on the x(=)+ button in the menu or 2) entering directly into the worksheet. 12. Now you should see a blue check mark indicating this system of equations can be solved. 13. To solve, click the purple arrow.
For differential equations, an initial value is needed for all variables. A final value is needed for the independent variable.
Using Polymath, we can monitor the conversion of A, the formation (and disappearance) of B, and the formation of C. Species Balances:
d ( A) k1* A d (t )
d ( B) k1* A k 2 * B d (t )
d (C ) k2* B d (t )
5. Add the three equations with the following initial parameters: A(0)=1, B(0)=0, C(0)=0 6. We still have two undefined variables: k2 and k1 7. Enter k1 as 1 and k2 as 2.
5. Add the three equations with the following initial parameters: A(0)=1, B(0)=0, C(0)=0 6. We still have two undefined variables: k2 and k1 7. Enter k1 as 1 and k2 as 2.
We have an error. We need to enter the initial and final values for our independent variable (t).
8. To add the final values for t, select Edit followed by Define Initial and Final values 9. Then enter the initial and final values for t: 0 and 3.
8. To add the final values for t, select Edit followed by Define Initial and Final values 9. Then enter the initial and final values for t: 0 and 3. 10. Select Problem and Arrange Equations to sort the list.
8. To add the final values for t, select Edit followed by Define Initial and Final values 9. Then enter the initial and final values for t: 0 and 3. 10. Select Problem and Arrange Equations to sort the list.
Before we solve, lets add a title. 11. Select Edit and Enter Problem Title
Graph
Run Program
Concentration Profiles
To order Polymath
http://www.polymath-software.com/ 5 day free trial
Use the trial to see if you would like to purchase the software
$20/4 months