Question: - Q3. (5 marks) The function g(x) defined below is often referred to as the quadratic map (where r is a parameter and x is

- Q3. (5 marks) The function g(x) defined below is often referred to as the quadratic map (where r is a parameter and x is the independent variable): g(x) = rx(1 x) In the code cell below ... (i) write a function called quadratic_map that takes r and x as inputs and returns g as an output (ii) then plot this function for r = 4 with x varying from 0 to 1.0 (increments of 0.05 should be sufficient). To do this, make a call to your function quadratic_map to generate the required points for your plot. Also include the identity line on your plot (in a different color than the plotted quadratic function) for reference. [ ] # ##### 93: YOUR CODE HERE ######################
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
