Question: Exercise 1 . Let r = 0 . 3 . Identify the inflow and outflow terms and save them as separate math functions. Plot these

Exercise 1. Let r=0.3. Identify the inflow and outflow terms and save them as separate math functions. Plot these functions on the same set of axes, making sure to add axes labels, legend labels, and unique colors to allow the inflow and outflow graphs to be easily identified. Plot both functions for values of x from 0 to 3.5. Note that since x is a concentration it cannot be negative.
Exercise 2. Repeat Exercise 1 but set r=0.6.
Exercise 3. Modify your code from Exercise 2 to turn it into an interactive that allows the user to vary the value of r from 0.3 to 0.6. Use ymin=0 and ymax =1.5 options in the plot function to fix the bounds for the y axis so that does not change when you change the value of r.
 Exercise 1. Let r=0.3. Identify the inflow and outflow terms and

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!