Question: Solve this with matlab. Below is the given information. xl = -5; xu = 5; yl = -10; yu = 10; x = linspace(xl,xu,127); y

 Solve this with matlab. Below is the given information. xl =-5; xu = 5; yl = -10; yu = 10; x =

Solve this with matlab. Below is the given information.

xl = -5; xu = 5; yl = -10; yu = 10; x = linspace(xl,xu,127); y = linspace(yl,yu,127);

For the last part, they ask for the average bacteria growth to be printed. Please run your code and the answer to the average bacteria growth should be 18.97. Thank you!!

:)

Your team is using a rectangular bacteria-enhancing membrane with dimensions (* (-5,5]) and (y (-10,10]) to grow bacteria. The membrane is designed such that most of the bacteria grows along the x-centreline (i.e. x = 0). The growth of the bacteria on the membrane at saturation is described by: B(x, y) = 30 - x2 - 5 cos? XY 5 where B represents the bacteria growth. A plot of B against x and y is shown below. The average bacteria growth of the plate can be calculated as: Beverage = "186.y ) dedy where A represents the total surface area of the membrane. The composite Simpson's 3/8 rule is given by Isimp 3/8 -- [10+(20)+(+-( E46) +- Vi=3,6,9... i=4,7,10... In the comp simp38 vector.m file, complete the function file for the Composite Simpson's 3/8 rule which integrates the vector inputs. The function should print an error statement if an incorrect number of points is supplied for integration. In the Q2b.m file, calculate the average bacteria on the membrane using the composite Simpson's 3/8 rule using 127 equally spaced points in each direction (x and y). Start by evaluating the inner integral along the x dimension for each value of y. The resulting values can then be integrated along the y dimension for the outer integral. The membrane is designed to curate an average bacteria growth greater than 20. Does this membrane achieve the required amount or does the membrane need to be redesigned? Use fprintf() to print a statement containing the average bacteria growth to 2 decimal places and whether the membrane needs to be redesigned

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!