Programming with an iterative formula - Area Spill Function Example
- August 14, 2023
- 1 reply
- 3261 views
Mathcad Prime 9
Hello Mathcad experts,
I want to create a spill area as a function of time for transient evaporation calculations. I currently use a formula developed by Dow Chemicals from the late 70's to calculate in the radius of a spill for a given time with an assumed rate and volume. This formula is iterative. See Yellow highlighted for manual manipulation.

I am currently manually changing the time intervals and entering the resulting radius and time into a matrix and then curve fitting to make an area function.

Once the volume has been spilled, I assume the area no longer grows. This seems possible to automate with programming. I'm a novice programmer and have been working diligently without much success. I mostly am having trouble with the iterative formula.
See attached Prime 9 excerpt of my calculations.
Help would be greatly appreciated.
Regards,
Colin



