Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. (25 points) In a flask of yeast medium, there are 100.000 yeast cells at time =0. The yeast cells are increasing their number by
1. (25 points) In a flask of yeast medium, there are 100.000 yeast cells at time =0. The yeast cells are increasing their number by 30% every hour. But the flask is contaminated by 10 bacteria cells at time =0. The bacteria are increasing their number by %80 every hour. a. Write a loop that finds and reports the time when number of bacteria cells exceed the number of yeast cells. b. Plot the number of yeast cells and bacteria cells with respect to time, using the data you generated in part a. 2. (25 points) Write a function that takes HES number of a person, and HESlist as arguments, searches the number in the list of HES numbers and reports if the person is positive for corona virus or not. Test your script using the following list, where test result of each person is given after their HES number: HESlist =[D21,, G5A7, '+', 'Z6P1', '+','C4R4, '-' ] 3. (20 points) Answer the following questions a. Solve the following linear equation system using Python: 2x1+x2+3x3=104x1+4x2+x3=154x1+2x2+6x3=20 b. Calculate the value of following integral in Python: 110xexp(x)dx 4. (30 points) A contestant in ModaBuMudur TV show is going to buy a combination of cloths in a shop, they will buy a shirt, a pair of trousers and a pair of shoes. But there are some rules: 1. They cannot wear red and pink together, 2. they cannot wear blue and green together, 3. they cannot wear three pieces of the same colour, except for black. Given the three availability lists (will be generated in the template file), write a script that will choose them a random combination of three pieces that will not violate the rules. Report the colours of each piece they buy. all = ['white', 'yellow', 'orange', 'pink', 'red', 'purple', 'blue', 'green', 'black']
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started