Reference no: EM131252201
Project
Project: Using a program environment (i. e. Raptor, Basic, C, Python). Choose one of the problems below and using the topic covered in Chapter 3 of the text (Robot Programming: A Guide to Programming Autonomous Robots), do the following:
i. Draw the flowchart (pseudocode)
ii. Write the program
iii. Submit a report.
1. A biologist determines that the approximate number, Number, or bacteria present in a culture after Time (in days) is given by the following formula:
Number = BacteriaPresent * 2(Timen/10)
Where BacteriaPresent is the number present at the beginning of the observation period. Let the user input BacteriaPresent, the number of bacteria present at the beginning. Then compute the number of bacteria in the culture after each day for the first 10 days. Do this in a loop so the user can see the results in a table. The output table should have headings for day and Number of Bacteria Present (on that day).
2. Suppose a pair of dice is rolled and its sum is recorded. For example, if the first die comes up 4 and the second comes up 8, we record the value 12. Write a program to generate what outcomes are most likely. Identify if it is more likely that the sum of a roll of a pair of dice will be 7 or 11.
This can be answered by simulating an experiment with a program that uses random numbers. For each roll of the dice, we need to generate two random numbers - one for each die - in the range from 1 to 6. Then we add these numbers and keep track of the number of times the sum is 7 or 11. If we roll the dice (generate a pair of random numbers) thousands of times, the sum (7 or 11) with the larger count is presumably the one that is more likely to occur.
3. Write a re-usable program to calculate various averages in your classes. It doesn't matter if you have 3 exams or 33 exams. The program should compute the computer the average as such:
ExamAverage = SumGrades/CountGrades
The output should show the number of grades entered and the average of the grades.
Find the symmetric nash equilibrium
: Find the symmetric Nash equilibrium of this n-player normal-form game. - Compute the probability that at least one person calls for help in equilibrium.
|
Quantity in thousands and is in thousands
: where is the quantity in thousands and is in thousands. Although Arizona is farther away from Ohio than Michigan is from Ohio, assume the transportation costs (for delivery) is the same and, for simplicity, equal to zero.
|
Prove that every game has a nash equilibrium
: Prove that every 2 × 2 game has a Nash equilibrium. - Do this by considering the following general game and breaking the analysis:
|
Relationship between health education and health promotion
: In what ways are they connected, and in what ways do they differ? What social, environmental, political, economic, and organizational factors are involved in these processes? How do Health Educators operationalize health education and health promo..
|
Write a re-usable program to calculate various averages
: Write a re-usable program to calculate various averages in your classes. It doesn't matter if you have 3 exams or 33 exams. The program should compute the computer the average as such.
|
Extra banana would increase utility
: Inez reports that an extra banana would increase her utility by two units and an extra pear would increase her utility by two units and an extra pear would increase her utility by two units and an extra pear would increase her utility by six units..
|
How are hybrid composites classified
: Do all properties of composites always improve over their individual constituents? Give examples.
|
Describe conditions that reduce aircraft utilization factors
: What are the qualifications, certifications, and responsibilities of a commercial pilot? What are the qualifications, certifications, and responsibilities of an Airframe and Powerplant mechanic? What are the qualifications, certifications, and respon..
|
How many nash equilibria does this game have
: Determine whether this game has a symmetric mixed-strategy Nash equilibrium in which each player selects X with probability p. If you can find such an equilibrium, what is p?
|