Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92007986
  • Price:- $50

Guranteed 36 Hours Delivery, In Price:- $50

Have any Question?


Related Questions in Computer Engineering

Question what is stuxnet and what are its real-world

Question : What is Stuxnet and what are its real-world implications? Should your national government be concerned about the potential of a Stuxnet-like attack? Why or why not.

Write a program in java to satisfy the following create a

Write a program in Java to satisfy the following : Create a class to store information on Network infrastructure assets. Network Infrastructure Asset may include PCs, Monitors, Switches, Routers, Cables, Access Points et ...

1 what would be the purpose for a user to protect a

1. What would be the purpose for a user to protect a file from "read" or "write" access by other users? 2. Is there a reason why it would be safer for administrators to use two different accounts when working with a comp ...

Question critical infrastructures -1discuss cybersecurity

Question: Critical Infrastructures - 1. Discuss cybersecurity policy issues affecting SCADA and ICS systems for Critical Infrastructure services for the public, and compare those issues to the policy issues that affect t ...

Question suppose f is a function that returns the result of

Question : Suppose f is a function that returns the result of reversing the string of symbols given as its input, and g is a function that returns the concatenation of the two strings given as its input. If x is the stri ...

Suppose the following matrix represents the number of saws

Suppose the following matrix represents the number of saws ordered from your company each month over the last year. saws = [1,4,5,3,7,5,3,10,12,8, 7, 4] All the numbers should be zero or positive. (a) Use an if statement ...

Questionsummarize the ways that third-party cookies are

Question Summarize the ways that third-party cookies are created and processed. Even though cookies are not supposed to contain personally identifying data, explain how such data can readily be obtained.

Question 1 search for information on system and equipment

Question: 1. Search for information on system and equipment failure on your favorite search engine. 2. List what might be done to provide fault tolerance for a single system. 3. List what might be done to provide fault t ...

What are the challenges in implementing a healthcare

What are the challenges in implementing a Healthcare application in cloud environment? ((Need research reference links from research papers, at least 1 journal paper or 2 conference papers - The referred conference resea ...

Advertisements suggest that a new window design can save

Advertisements suggest that a new window design can save $400 per year in energy cost over its 30-year life. At an initial cost of $8,000 and zero salvage value, using IRR, is this window a good investment? MARR is 8%.

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As