Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I was able to find the function code on matlabgrader ,but it keeps telling me that y has an incorrect value for n0=100 and n0=10

image text in transcribedimage text in transcribedimage text in transcribedI was able to find the function code on matlabgrader ,but it keeps telling me that y has an incorrect value for n0=100 and n0=10 .I tried to change the variable names to ''y'' ,but it still the same thing .why does matlab keep rejecting the variables y that I found?I found 6 days for 100, n0=100, and r=1, but it marked it wrong .

Code to call your function ? Previous Assessment: 1 of 4 Tests Passed (25\%) Is y correct for n0=100,r=1 ? Variable y has an incorrect value. Is y correct for n0=10,r=1 ? Variable y has an incorrect value. Is the preferred loop used to solve the problem? How about other n0 and r? Variable y has an incorrect value. Calculate the days a type of pathogenic bacteria needed to cause a lake to reach to an unhealthy level 19 solutions submitted (max: Unlimited) | View my solutions hours, and so on. For this particular type of pathogenic bacteria and lake, the lake is not safe to swim in if the bacteria population density exceeds 104 bacteria per ml. Write a MATLAB function that will determine how long it will take for an initial pathogenic bacteria level n0 per ml to reach an unsafe level of n=1x104 per ml. function y= myFunction(no, r) the result to output y. For example, an initial bacterial level of n0=100 per ml would reach an unsafe level in a little under 6 days

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

Essentials of Database Management

Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman

1st edition

133405680, 9780133547702 , 978-0133405682

Students also viewed these Databases questions