Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Your team is using a rectangular bacteria-enhancing membrane with dimensions (x (-5,5]) and (y (-10,10)) to grow bacteria. The membrane is designed such that most

image text in transcribedimage text in transcribed

Your team is using a rectangular bacteria-enhancing membrane with dimensions (x (-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? (13) 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: Baverage 1 10 B(x,y) dxdy -10 J-5 where A represents the total surface area of the membrane. Note: Q2a-Q2b are independent from Q2c. Q2d is also a standalone question. Note: figure(6)' in Q2b.m contains a plot of the B(x,y) to help visualise the bacteria growth values. Q2a The composite Simpson's 3/8 rule is given by n-3 f(x) Vi=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. *You should have six figure windows by the end of this task. Q2b 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. *You should have six figure windows by the end of this task

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Technology

Authors: Suad Alagic

1st Edition

354096276X, 978-3540962762

More Books

Students also viewed these Databases questions