Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

please show all steps to complete this problem in matlab--I have no idea how to

ID: 1716014 • Letter: P

Question

please show all steps to complete this problem in matlab--I have no idea how to do it.

Create an m-file script that does the following. Begin the file with a comment at the top of the script. Each problem should be done in section. You will also create two m-file functions and a txt file will be generated as an output. Upload all these files and a published pdf of the script to the drop box. 1. First construct a function called bisectthat approximates the root location following the bisection algorithm described on slide 4. Next, UAH has 8000 students, one student returns from Spring break with a contagious flu virus. The spread of the virus, I, is given by:

I=(8000)/(1+699e^-0.6t)

Where I is the total number of students infected after t days. The college will cancel classes when 50% or more of the students are infected. After how many days will the college cancel classes? a. Compute an approximation for this value using the bisect function. b. Compute an approximation for this value using the fzero function.

Explanation / Answer

solution :-

as there is no slide available the steps may not be proper,

but remaing steps are as follows-

let S=no. of students,

I=total no of students infected after t days,

as.I=(8000)/(1+699e^-0.6t)

now use if else condition so that it may check that it may check the no of students I is not graeter than 50%.

if I is greater than 50% then the message will appear that the school shuold closed.