Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 3 Write an algorithm to settle the following question: A bank account starts out with $ 1 0 , 0 0 0 . Interest
Write an algorithm to settle the following question: A bank account starts out with $ Interest is compounded monthly at percent per year percent per month Every month, $ is withdrawn to meet college expenses. After how many years is the account depleted?
Consider the question in Exercise R Suppose the numbers $ percent, $ were user selectable. Are there values for which the algorithm you developed would not terminate? If so change the algorithm to make sure it always terminates.
In order to estimare the cost of painting a house, a painter needs to know the surface area of the exterior. Develop an algorithm for computing that value. Your inputs are the width, length, and height of the bouse, the number of windows and doors, and their dimensions. Assume the windows and doors have a uniform size.
In How To you made assumptions about the price of gas and annual usage to compare cars. Ideally, you would like to know which car is the better deal without making these assumptions. Why can't a computer program solve that problem?
Suppose you put your younger brother in charge of backing up your work. Write a set of derailed instructions for carrying out his task. Explain how often he should do it and what files he needs to copy from which folder to which location. Explain how he should verify that the backup was carried out correctly,
Write pseudocode for an algorithm thar describes how to prepare Sunday breakfast in your household.
The ancient Babylonians had an algorithm for determining the square root of a number Start with an initial guess of Then find the average of your guess and ag That's your next guess. Repeat until two consecutive guesses are close enough. Write pscudocode for this algorithm.
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