1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Olin [163]
3 years ago
10

write a function interest() that takes one input, a floating-point interest rate (e.g., 0.06, which corresponds to a 6% interest

rate). your function should compute and return how long (in years) it will take for an investment to double in value. note: the number of years it takes for an investment to double does not depend on the value of the initial investment.
Computers and Technology
1 answer:
Novay_Z [31]3 years ago
8 0

Code:

def interest():

   interest_rate = 0.06

   investment = input(int('Investment: '))

   yield = 0

   year = 0

   while (yield < investment):

       year += 1

       yield  = investment * interest_rate

   print (year)

NOTE: i wrote this code assuming that the investment for the next year is the same as the first year and so forth

You might be interested in
HELP!! 20 POINTS!!
Svetlanka [38]

Signal processing deals with the analysis and operation of a. mechanical signals b. electrical signals c. biological signals. These can be  b. digital c. analog which vary across a range of values or b. digital with only two possible values.

Explanation:

  • In signal processing, a signal is a function that conveys information about a phenomenon. In electronics and telecommunications, it refers to any time varying voltage, current or electromagnetic wave that carries information.
  • A signal may also be defined as an observable change in a quality such as quantity...
  • A signal can be audio, video, speech, image, sonar and radar-related
  • Signal processing deals with the analysis and operation of mechanical signals, electrical signals and  biological signals.
  • The value of the signal is an electric potential which is voltage is also a signal.
  • The term analog signal usually refers to electrical signals. Analog signals may also be other mediums such as mechanical, pneumatic or hydraulic.
  • An analog signal signifies a continuous signal that keeps changes with a time period. A digital signal signifies a discrete signal that carries binary data and has discrete values. Analog signals are continuous sine waves. Digital signal is square waves

7 0
3 years ago
What is a motherboard?
laila [671]

Answer:

A mother board is something that helps a electronic run im guessing

Explanation:

6 0
3 years ago
Read 2 more answers
You are the network administrator for a company and you want to separate the traffic from the accounting department from the res
vichka [17]

Answer:

internetwork

Explanation:

According to my research on information technology, I can say that based on the information provided within the question the type of network that should be implemented is called an internetwork. This refers to interconnecting different types of networks to build a large, global network" such that any pair of connected hosts can exchange packets.

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

3 0
3 years ago
Thanks for asking me to ask a ques !!
Tamiku [17]

Answer:

I'm not sure what this means by Hope you have a great day :)

5 0
4 years ago
If a computer has a multicore processor, what can the operating system do to improve performance? How does this technique work
OLga [1]

Answer:

If a computer has a multicore processor then the operating system can run multiple threads to better the performance. And the maximum number of threads is equal to the number of cores. For one core there can be one thread. And the technique that is required here is termed as the multithreaded programming. And if you have a multicore processor, and if you assume that all your target device has that level of the processor then you can make use of it in designing applications as well. However, you need to provide an alternative for the device that does not have this facility.

Explanation:

Please check the answer section.

8 0
3 years ago
Other questions:
  • Create an enumeration named Month that holds values for the months of the year. With JANUARY equal to 1, FEBRUARY equal to 2, an
    13·1 answer
  • HOW CAN YOU CHANGE YOUR BACKGROUND
    12·1 answer
  • what’s The abbreviation of afk and what does That Mean in gaming playing in Multiplayer online battle arena games
    10·1 answer
  • In c++ when you create a class and you don't want to put the class and the main program in one source file and let's say you cre
    14·1 answer
  • Halp Computer Science
    12·2 answers
  • When a CPU executes each instruction in a program, it uses a process known as the __________.
    15·1 answer
  • 1. The Bank manager is imposing a 10% interest rate on the new salary loan to every account in the BPI Family Bank. (ANSWER SHOU
    15·1 answer
  • How computer viruses spread from one computer to another​
    10·1 answer
  • An individual involved with the aspect of a project will be concerned with budgets and the costs associated with running a busin
    10·2 answers
  • Which UPPER function is written so that all text in cell B4 will be capitalized? O=UPPER(B4) O=UPPER[B4] O UPPER B4 O=UPPER
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!