Reference no: EM131257776
Project I
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(Time/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.
What key strategies did bezos use to grow the company
: What key strategies did Bezos use to grow the company in just 17 years? Use credible sources and research to support and explain
|
What is the total transportation cost
: How many units should owner Stephen Allen ship from each plant to each regional distribution center? - What is the total transportation cost?
|
Generate the first twenty prime numbers greater
: Write a program in ARM assembly language to generate the first twenty prime numbers greater than 2 and save them into the memory locations called Primearray. For this part, you may use the following algorithm. You are required to optimize the code..
|
Where would you locate the two new plants and why
: Custom Vans, Inc., specializes in converting standard vans into campers. - Where would you locate the two new plants? Why?
|
Calculate various averages in your classes
: 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.
|
How can they apply this information to their daily lives
: How can the conclusions of your literature review inform the population towards whom your presentation is directed? How can they apply this information to their daily lives? What advice or ‘take home message' can you provide to your audience based..
|
Embedded sql to retrieve the total trip expenses
: Write a program in embedded SQL to retrieve the total trip expenses of the salesman named ‘John' for the relations of SALESPERSON (SSN, Name, start_year, Dept_no) TRIP (SSN, From_city, To_city, Departure_Date, Return_Date, Trip_ID) EXPENSE(TripID,..
|
Name the three parts of a typical queuing system
: Name the three parts of a typical queuing system. - When designing a waiting line system, what "qualitative" concerns need to be considered?
|
Ms forefront threat management gateway
: MS Forefront Threat Management Gateway is over 5 years old. What is a current MS product or feature (in it's Server 2012 release for instance) that might perform the equivalent features? What is an alternative to MS Forefront Threat Management..
|