{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lab 1 - ECOR 2606 Lab 1 Part 1 An experiment involves the...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ECOR 2606 Lab 1 Part 1 An experiment involves the growth of e-coli in a perti dish. It has been determined that the growth rate of the bacteria is governed by the following equation: t e t B 17 . 0 75 . 56 1 250 ) ( where B ( t ) is the number of bacteria (in '000) t is the time (in hours) Use Matlab in "calculator" mode to calculate the number of bacteria at t = 0 hours and t = 4 hours. In Matlab e x is calculated using function exp : exp(x) gives e x Keep in mind that in Matlab previous command cans be recalled using the up arrow. To solve the expression for t = 4 hours you need only recall and edit your previous command. Implement B ( t ) as an "anonymous" function and test your function with t = 0 hours and t = 4. Now try your function with a vector containing 0 and 4 as shown below: B([0 4]) If you get strange red messages instead of the right answers find the problem and correct it. Use fplot to plot B ( t ) for from 0 to 40 hours. Add a grid and appropriate x and y labels.
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern