Write a program that calculates and displays the amount ofmoney available in a bank account that initially has $8000 deposited in it and that earns interest atthe rate of 2.5 percent a year. Your program should display the amount available at the end of eachyear for a period of 10 years. Use the relationship that the money available at the end of each yearequals the amount of money in the account at the start of the year plus 0.025 times the amountavailable at the start of the year [20 points].

Answers

Answer 1

Answer:

Written in Python

import math

principal = 8000

rate = 0.025

for i in range(1, 11):

    amount = principal + principal * rate

    principal = amount

    print("Year "+str(i)+": "+str(round(amount,2)))

Explanation:

This line imports math library

import math

This line initializes principal amount to 8000

principal = 8000

This line initializes rate to 0.025

rate = 0.025

The following is an iteration from year 1 to 10

for i in range(1, 11):

    This calculates the amount at the end of the year

    amount = principal + principal * rate

    This calculates the amount at the beginning of the next year

    principal = amount

    This prints the calculated amount

    print("Year "+str(i)+": "+str(round(amount,2)))


Related Questions

what is the output? there are no answer options and I'm completely lost.

>>>answer = "five times"

>>>answer[2:7] ​

Answers

The string answer = "five times"

All strings start at index 0 and end at the length of the string minus 1

So, if we count appropriately, index 2 is v and index 7 is m

answer[2:7] goes from v to m including v but not m, therefore,

answer[2:7] = "ve ti"

You are going to send a document to a client, and you want to be absolutely sure that none of the formatting is lost. Which of these document formats would be best?


A Permissions

B Orientation

C Margins

D Location

Answers

Answer:

Explanation:

A because they would not ruin your work and they have to ask your permission if they want to edit it.

Answer: A
Explanation:

Write a program that asks the user to enter the size of a triangle (an integer from 1 to 50). Display the triangle by writing lines of asterisks. The first line will have one asterisk, the next two, and so on, with each line having one more asterisk than the previous line, up to the number entered by the user. On the next line write one fewer asterisk and continue by decreasing the number of asterisks by 1 for each successive line until only one asterisk is displayed. (Hint: Use nested for loops; the outside loop controls the number of lines to write, and the inside loop controls the number of asterisks to display on a line.) For example, if the user enters 3, the output would be:_______.a. *b. **c. ***d. **e. *

Answers

Answer:

Implemented using Python

n = int(input("Sides: "))

if(n>=1 and n <=50):

    for i in range(1,n+1):

         for j in range(1,i+1):

              print('*',end='')

         print("")

       

    for i in range(n,0,-1):

         for j in range(i,1,-1):

              print('*',end='')

         print("")

else:

         print("Range must be within 1 and 50")

Explanation:

This line prompts user for number of sides

n = int(input("Sides: "))

The line validates user input for 1 to 50

if(n>=1 and n <=50):

The following iteration uses nested loop to print * in ascending order

   for i in range(1,n+1):

         for j in range(1,i+1):

              print('*',end='')

         print("")

The following iteration uses nested loop to print * in descending order        

    for i in range(n,0,-1):

         for j in range(i,1,-1):

              print('*',end='')

         print("")

The following is executed if user input is outside 1 and 50

else:

         print("Range must be within 1 and 50")

In a singing competition, there are 34 more men than women
Find the number of women participants if the total number of
participants is 128.

Answers

Answer:

94 women are there

Explanation:

it is easy subtraction you only have to 128-34

Answer:

You have to start with 128 and then you subtract 34. Subtract them together and you get 94 participants. Isn't it that simple?

Jose wants to convert his birth year from digital to binary. Which Python function should Jose use?
O bin(year)
O bin = year
O binary(year)
O digi(year)

Answers

The correct python function is bin() therefore,

bin(year) is the correct answer.

When viewing the Mail Merge Recipients dialog box, what kinds of actions can you perform? Check all that apply. find recipient filter recipients print recipients sort column headings select/deselect recipients

Answers

Answer:

a,b,d,e on edg 2020

Explanation:

Answer:

Everything is correct except option 3/letter C.

Explanation:

A, B, D, and E

What is the World Wide Web?

A.
an information system where each document is linked to all other documents
B.
a large worldwide network of interconnected computers
C.
the collection of all online content you can access from your computer
D.
a worldwide social media network

Answers

Answer:

A an information system where each document is linked to all other documents

A. Am I formation system where each document is links Sri all other documents

Write a program which has your own versions of the Python built-in functions min and max. In other words, write the functions called maximum(aList) and minimum(aList) that do the job of the built-in Python functions max(aList) and min(aList)respectively. They should take a list as an argument and return the minimum or maximum element . Test your functions with the list [7, 5, 2, 3, 1, 8, 9, 4]. Hint: Pick the first element as the minimum (maximum) and then loop through the elements to find a smaller (larger) element. Each time you find a smaller (larger) element, update your minimum (maximum).

Answers

Answer:

def maximum(aList):

   highest = aList[0]

   for number in aList:

       if number > highest:

           highest = number

       

   return highest

def minimum(aList):

   lowest = aList[0]

   for number in aList:

       if number < lowest:

           lowest = number

       

   return lowest

print(maximum([7, 5, 2, 3, 1, 8, 9, 4]))

print(minimum([7, 5, 2, 3, 1, 8, 9, 4]))

Explanation:

Create a function named maximum that takes one parameter, aList

Initialize the highest as the first number in aList

Create a for loop that iterates through the aList. Compare each number in aList with highest. If a number is greater than highest, set it as new highest.

When the loop is done, return the highest

Create another function named minimum that takes one parameter, aList

Initialize the lowest as the first number in aList

Create a for loop that iterates through the aList. Compare each number in aList with lowest. If a number is smaller than lowest, set it as new lowest.

When the loop is done, return the lowest

Call the functions with given list and print the results

which of the following best describes compounds.
A. They can only be separated chemically
b. they are always liquid at room temperature
c. they contain the atoms of just one element
d. they have the same properties as their elements

Answers

A. They can only be separate chemically

Answer:

A.

Explanation:

I have to drag it to the correct definition plz help!

Answers

Answer:

Copyright - 1

Derivative works - 4

Intellectual property - 3

Fair use - 2

Explanation:

Use the drop-down menus to complete the statements explaining the creation and management of an outline in Word 2016. The Outline view allows a user to add, expand, and collapse content in the document. Headers can be promoted or demoted in the outline by using the directional arrows or . Level 1 headings will appear in the pane.

Answers

Answer:

Heading and subheading

shortcut keys

navigation

Explanation:

i got it wrong and it showed

Answer:

Use the drop-down menus to complete the statements explaining the creation and management of an outline in Word 2016.

The Outline view allows a user to add, expand, and collapse

✔ heading and subheading

content in the document.

Headers can be promoted or demoted in the outline by using the directional arrows or

✔ shortcut keys

.

Level 1 headings will appear in the

✔ Navigation

pane.

Explanation:

1. Discuss data processing concepts and the representation of data in the computer


2. Explain how they work together to process data

Answers

Answer:

gkvjbdsvjnmfbhui jgbfdshjcxvabgsuciusgBFIULWGSfuRyt vqwyrgfgweVGYGTV7BWUIEGDWYUGDCYg

Explanation:

Part 1 Create a program that asks the user for a temperature in Fahrenheit, and then prints the temperature in Celsius. Search the Internet for the correct calculation. Look at Chapter 1 for the miles-per-gallon example to get an idea of what should be done.

Part 2 Create a new program that will ask the user for the information needed to find the area of a trapezoid, and then print the area.

Part 3 Create your own original problem and have the user plug in the variables.

IN PYTHON

Answers

Answer:

Written in Python

import math

#1. Temperature Conversion

degreeF = float(input("Degree Fahrenheit: "))

degreeC = (degreeF - 32) * 5/9

print("Degree Celsius: "+str(round(degreeC,2)))

#2. Area of Trapezoid

Base1 = float(input("Base 1: "))

Base2 = float(input("Base 2: "))

Height = float(input("Height: "))

Area = 0.5 * (Base1 + Base2) * Height

print("Area: "+str(round(Area,2)))

#3. Addition of Two Numbers

Num1 = float(input("Number 1: "))

Num2 = float(input("Number 2: "))

print("Result: "+str(Num1 + Num2))

Explanation:

This line imports the math library

import math

Program 1 starts here

#1. Temperature Conversion

This line prompts users for input in degree Fahrenheit

degreeF = float(input("Degree Fahrenheit: "))

This line converts to degrees Celsius

degreeC = (degreeF - 32) * 5/9

This line prints the converted degree

print("Degree Celsius: "+str(round(degreeC,2)))

Program 2 starts here

#2. Area of Trapezoid

The next three lines prompts user for necessary inputs

Base1 = float(input("Base 1: "))

Base2 = float(input("Base 2: "))

Height = float(input("Height: "))

This line calculates the area

Area = 0.5 * (Base1 + Base2) * Height

This line prints the area

print("Area: "+str(round(Area,2)))

The third program begins here. I've decided to write a program that sums two numbers

#3. Addition of Two Numbers

The next two lines prompt user for inputs

Num1 = float(input("Number 1: "))

Num2 = float(input("Number 2: "))

This line calculates and prints the sum

print("Result: "+str(Num1 + Num2))

What is Chris Records LifePreneur Online Educational Training Program?

Answers

Answer:

LifePreneur stands for Lifesyle Entrepreneur. When you take the word lifestyle and entrepreneur to combine them together, you get the brand, LifePreneur. This is the concept behind Chris Record's LifePreneur company.

Lifepreneur is the long-awaited legacy project founded by online serial-entrepreneur Chris Record. Chris currently lives in scorching hot Las Vegas which is fitting because everything online he gets involved in goes big league. Chris has helped tens of thousands of people to start their own online business, and has a true passion for helping everyone succeed.

Lifepreneur is a membership program that you can join to get training in various aspects of online marketing, training and advice and investing, live in-person mentorship from Chris Record himself, and more. It is a membership program that you can sign up for free and it's designed to help you grow into more than just a business entrepreneur… A Lifepreneur.

More info : reddit's /r/LifePreneur

What are technology trends in science check all that apply

Answers

Answer:

3D Printing Molecules.

Adaptive Assurance of Autonomous Systems.

Neuromorphic Computing (new types of hardware) and Biomimetic AI.

Limits of Quantum Computing: Decoherence and use of Machine Learning.

Ethically Trustworthy AI & Anonymous Analytics.

Explanation:

Why do you think there is activity even when you are not actively using network services?

Answers

Answer:

Every social media platform has an algorithm, and just because you aren't using it, doesn't mean others are not engaged!

Explanation:

WILL MARK QUICKEST CORRECT ANSWER AS BRAINLIEST 11 PTS


Gary says, “Ports are where data enter a network before it reaches a gateway. The data travel via transmission media.”


Explain why Gary is right or wrong.



A) Gary is wrong. Ports are where connectors attach to destinations, not where data enter the network.


B) Gary is wrong. Gateways block data, so data don’t enter through them.


C) Gary is right.

Answers

Answer: Gary is wrong. Data do not travel via transmission media.

Answer:

the answer is Gary is wrong. Ports are where connectors attach to destinations, not where data enter the network.

Explanation:

correct on ed

THIS IS PYTHON QUESTION
d = math.sqrt(math.pow(player.xcor() - goal.xcor(), 2) + math.pow(player.ycor()-goal.ycor(), 2))

here is the error message that I am getting when I run this using the math module in python: TypeError: type object argument after * must be an iterable, not int

Answers

Answer:

ok

Explanation:yes

The European Union requires companies to:

a
erase user data when requested.
b
keep all data open source.
c
never sell data.
d
delete all personal customer data after two years.

Answers

Answer:

C is the correct

Explanation:

Print the two-dimensional list mult_table by row and column. Hint: Use nested loops.

Sample output with input: '1 2 3,2 4 6,3 6 9':
1 | 2 | 3
2 | 4 | 6
3 | 6 | 9

Must be in Python

Answers

Answer:

m = int(input("Rows: "))

n = int(input("Columns:= "))

mult_table = []

for i in range(0,m):

    mult_table += [0]

for i in range (0,m):

    mult_table[i] = [0]*n

for i in range (0,m):

    for j in range (0,n):

         print ('Row:',i+1,'Column:',j+1,': ',end='')

         mult_table[i][j] = int(input())

for i in range(0,m):

    for j in range(0,n):

         if not j == n-1:

              print(str(mult_table[i][j])+" | ", end='')

       else:

              print(str(mult_table[i][j]), end='')

    print(" ")

Explanation:

The next two lines prompt for rows and columns

m = int(input("Rows: "))

n = int(input("Columns:= "))

This line declares an empty list

mult_table = []

The following two iterations initializes the list

for i in range(0,m):

    mult_table += [0]

for i in range (0,m):

    mult_table[i] = [0]*n

The next iteration prompts and gets user inputs for rows and columns

for i in range (0,m):

    for j in range (0,n):

         print ('Row:',i+1,'Column:',j+1,': ',end='')

         mult_table[i][j] = int(input())

The following iteration prints the list row by row

for i in range(0,m):

    for j in range(0,n):

         if not j == n-1:

              print(str(mult_table[i][j])+" | ", end='')

       else:

              print(str(mult_table[i][j]), end='')

    print(" ")

In this exercise we have to use the knowledge of computational language in python  to describe a code, like this:

The code can be found in the attached image.

To make it easier the code can be found below as:

m = int(input("Rows: "))

n = int(input("Columns:= "))

mult_table = []

for i in range(0,m):

   mult_table += [0]

for i in range (0,m):

   mult_table[i] = [0]*n

for i in range (0,m):

   for j in range (0,n):

        print ('Row:',i+1,'Column:',j+1,': ',end='')

        mult_table[i][j] = int(input())

for i in range(0,m):

   for j in range(0,n):

        if not j == n-1:

             print(str(mult_table[i][j])+" | ", end='')

      else:

             print(str(mult_table[i][j]), end='')

   print(" ")

See more about python at brainly.com/question/26104476

An employee’s total weekly pay equals the hourly wage multiplied by the total number of regular hours, plus any overtime pay.

Overtime pay equals the total overtime hours multiplied by 1.5 times the hourly wage.

Write a program that takes as inputs the hourly wage, total regular hours, and total overtime hours and displays an employee’s total weekly pay.

Below is an example of the program inputs and output:

Enter the wage: $15.50
Enter the regular hours: 40
Enter the overtime hours: 12

The total weekly pay is $899.0

Answers

wage = float(input("Enter the wage: $"))

regular_hours = float(input("Enter the regular hours: "))

overtime_hours = float(input("Enter the overtime hours: "))

print(f"The total weekly pay is ${(regular_hours * wage) + ((wage*1.5) *overtime_hours)}")

I hope this helps!

how to write email abut new home your friend ​

Answers

Answer:

Start off with a greeting like Dear Sarah. Then you write a friendly body that tells about your home and describe it as much as you can and tell about what your bedroom theme is like and so on. Finally, top it off like a closing like Sincerely, Tessa.

Answer:

you start off by saying

Dear (name), talk about how your house is comforting and things like that... I hope thats what you were asking for.

Work made for hire. If an employer asks an independent designer to create an illustration, the copyright to that artwork is owned by the employer. true or false?

Answers

Answer:

False

Explanation:

On the basis of the designer being "independent", the artworks copyright remains with the designer. Being independent requires contractual transfer of copyright in the event that its created for another person.

The answer would be false trust me I just did this and got it correct.

After turning the volume all the way up on your speakers on your computer you still cannot hear any sound which of the following should be your next day? Should you replace your system speakers should you try to reinstall your sound card should you unplug your computer and plug it back in or should you check that your sound isn't muted?

Answers

Answer:

Shut your computer, and open it again. And if that doesn't work do it again

Explanation: The computer has done this before

3.
State and explain any Three elements of control unit​

Answers

Answer:

There are two types of control units: Hardwired control unit and Microprogrammable control unit.

Explanation:

The components of this unit are instruction registers, control signals within the CPU, control signals to/from the bus, control bus, input flags, and clock signals.

Answer:

The control unit (CU) is a component of a computer's central processing unit (CPU) that directs the operation of the processor. It tells the computer's memory, arithmetic and logic unit and input and output devices how to respond to the instructions that have been sent to the processor.

The three elements of a control unit are :

Memory or Storage Unit.a control unit.ALU(Arithmetic Logic Unit)

Explanation:

Mark brainliest.

Explain the following terms as used in word processin
(a)
Drop cap
(b) A superscript
An indent​

Answers

Answer:

A drop cap (dropped capital) is a large capital letter used as a decorative element at the beginning of a paragraph or section. The size of a drop cap is usually two or more lines.

a superscript is a character(s) half the height of a standard character and printed higher than the rest of the text.

In word processing, the word indent is used to describe the distance, or number of blank spaces used to separate a paragraph from the left or right margins.

Mrs Jones had p hens then she decided to buy p more hens. how many hens does she have in all?​

Answers

Answer:

2p

Explanation:

if she had p, then she got p again, she got two p amounts. p+p = p*2 = 2p

Xcode, Swift, and Appy Pie are all tools for doing what?

writing code in C#

creating smartphone apps

creating apps to run on a desktop or laptop

writing code in Java

Answers

Answer:

creating smartphone apps

Explanation:

Xcode, Swift, and Appy Pie are all tools for creating iOS applications.

These tools are used for app development in the iOS platform which is a rival to the Android platform.

They are used to build the apps from scratch, develop and test them,

Answer:

smart phone apps

Explanation:

What do you mean by this statement,
“Life is not a grand harmony, Conflict exist. We must learn how to live with it, use it constructive and minimize it’s destructive aspect”.

Answers

Answer with Explanation:

The statement above means that life is not always about happy moments; rather, it also includes unhappy times which teaches us many lessons. People should be aware of this, so that they'd also look at the good side of unhappy/sad moments in life. For example, when a beloved person dies, it is natural for one to cry. However, it is also important to stand up after that experience and become even stronger. This is a constructive way of moving on with life. A destructive aspect would be, not being able to move on and being stuck on one's death without thinking about the future anymore.

The best explanation of the given statement is:

If there is mutual understanding, then this would help in the conflict resolution to minimize the destructive impact.

What is Mutual Understanding?

This refers to the ability of a person or multiple persons to be able to have different points of view but also to understand that one view is NOT absolute.

With this in mind, we can note that because life is not a grand harmony, there will always be conflict, but if there is mutual understanding, then this would help in the conflict resolution to minimize the destructive impact.

Read more about conflict resolution here:

https://brainly.com/question/2267795

1) An employer has decided to award a weekly pay raise to all employees by taking the square root of the difference between his weight and the employee’s weight. For instance, an employee who weighs 16 pounds less than the employer will get a $4 per week raise. The raise should be in whole dollars (an int). Write a class file that prompts the user for the employee and the employer weight. Please output the correct raise amount making sure that all inputs are included in the output statement.

Answers

Answer:

Written in C++

#include <iostream>

#include<cmath>

using namespace std;

int main(){

   int weight1, weight2, diff;

   cout<<"Employees Weight: ";

   cin>>weight1;

   cout<<"Employers Weight: ";

   cin>>weight2;

   diff = abs(weight1 - weight2);

   float pay = round(sqrt(diff));

   cout<<pay;

   return 0;

}

Explanation:

I've added the source file as an attachment where I used comments as explanation

Other Questions
25) Match the word with the descriptions. (they can be used multiple times)colon comma dash semicolona.) goes between independent clauses before a coordinating conjunctionb.) goes at the beginning of a listc.) goes between the hours and minutes of timed.) goes after the salutation of a business lettere.) indicates an abrupt break in thoughtf.) shows special emphasis in a sentenceg.) goes between independent clauses without a coordinating conjunction The density of balsa wood is 0.170 g/cm3. What is the mass if the volume is 12.0 mL? Which is better, The Vampire Diaries or The Originals ? What is the correct term for a living organism Alicia watched a drone take off from a bridge. The height of the drone (in meters above the ground) t minutesafter takeoff is modeled byh(t) = -3t2 + 12t +96Alicia wants to know when the drone will land on the ground.1) Rewrite the function in a different form (factored or vertex) where the answer appears as a number in theequationh(t) =2) How many minutes after takeoff does the drone land on the ground?minutes what is one positive effect of culture diffusion Colin, a 7th grader, came to JCOS as a 3rd grader. He was referred by his learning consultant and had already been retained a year and attended 3 different schools. Although bright with a wonderful memory, he did not have reading or writing skills to match his ability. Like most children with learning disabilities (LD), Colin's struggles were not just academic they were social and emotional too how to analyze this case?? The vampire's eyes were burning coals, bright and red.What firgurative language is it Does respiration expend more energy more than photosynthesis? Declaration of Independence AssessmentAssessing the Context of Thomas JeffersonAssessed using Criterion D: Thinking CriticallyTo earn a 9 or 10 / 10 points:i. completes a detailed analysis of concepts, issues, models, visual representation and/or theoriesii. summarizes information to make consistent, well-supported arguments1. The author of this exhibit titled it, The Paradox of Liberty. Another way to say that is, The Contradiction of Freedom. What context/background does the note (found under the picture) provide to help you understand the title? Paradox = a self contradiction/argumentAnswer each of the questions below in sentences and put them together to form a short paragraph in this box.Step One: Describe what the Declaration of Independence is/was.Step Two: What was Thomas Jeffersons role with the Declaration of Independence?Step Three: Explain in detail what the paradox/contradiction is?2. How does the context of the note contradict/argue against the meaning of the words in the Declaration of Independence, All men are created equal?Answer each of the questions below in sentences and put them together to form a short paragraph in this box.Step One: Explain in detail what all men are created equal means. Step Two: Explain how the note (found under the picture) argues against this message.Step Three: Describe whose voices were not included in the Declaration of Independence and explain why. Please dont just say " ill explain it to you but not write it" :/ and dont just comment somethin random i need help asap! With which of the following statements about success would the author most strongly agree?A. Some people are highly skilled though purely natural ability.B. Violinists must practice harder than pianists to achieve successC. Those at the very top achieve their positions by putting in the most hours,D. Some people work harder than everyone else, but never achieve mastery. How is using the gerund different from using the infinitive?the gerund is used as a subjectthe gerund is used to stop an actionthe gerund is used as a nounthe gerund is used in a continuous ongoing action Enter the value of 7 + (-3) - 3 - 7 Which property of addition is shown? 3 +41 + 5 + 6 = 3 + 5+ 41 + 61Identity property Associative propertyCommutative propertyInverse property Are the following lines parallel, Perpendicular OR neither A. 4x - 2y = -12 B. 3x + 6y = 24 reaccin de la piel al tacto .......................... porque se sienten que las puntas difieren en cantidad ? a bag of a certain type of sand weighs 42 pounds and has a volume of 0.5 cubic feet. a sandbox has a volume of 16 cubic feet. approximately how many pounds of sand will it take to fill the sandbox Which phrase best fits in the blank box?wasted government moneyprovided citizens with government moneyencouraged people to votesupported government investigations Identify the wave with the greatestfrequency The sentence that includes the phrase that all men are created equal is an example of