Question
Plotting a function that is determined by a Solve block and find Max/Min values
- April 24, 2012
- 7 replies
- 3075 views
Hello,
I would like to plot a function, f(t) in which I previously used a Solve block to find the max/min value for the function. Since I had to put in an intial guess for the function in my Solve block the plot won't plot unless I move it above the solve block. Two questions then...
1. Is there a better way to determine the max/min values for a continous function over a given domain? I am not really sure how to set up the Maximize function for a problem like this.
2. Is there a way to reset a variable to be undefined once you have set it?
See attached example with the questions highlighted in yellow.
Thanks,
Mike

