Written Work
[1] Give the code construct (consisting of a most a few lines) that, if incorporated into your FunEval application (Assignment 7) would perform data validation for (a) the specification of F(x), the function to be evaluated and (b) the specification of x, the input evaluation value.
[2](a) For code maintenance, why are DLL's preferred over static libraries?
(b) If the header file associated with a class in a DLL is changed, must codes dependent on the DLL be recompiled in order to accommodate this change? Explain.
[3] In Assignment 10, you will be asked to create an enhanced version of the application you will have created for this assignment.
(a) Provide a sketch of the user interface you intend to create for Assignment 10.
(b) Create a state diagram for the application you intend to construct.
Computational Work
(a) Create an application that displays a phase plane
plot of the solution of a two-dimensional autonomous system of differential equations. This application should
use an adaptive fourth order Runge-Kutta method to create the solution. Minimally, your application
should
(i) Have a user interface that allows the user to specify the initial conditions and specify the system of differential equations using character strings (e.g. specify symbolically two functions in the variables x and y).
(ii) Plot a solution trajectory for times from t = 0 to t = 20 in the region [-2,2]x[-2,2] when a "Solve" button is hit.(iii) The bounding box for the region should have tick marks and labels.
(iv) The plot window should resize as the application window resizes.
(v) Have a "Clear" button for clearing the current solution plot.
Using Submit, turn in