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
Andrei [34K]
2 years ago
8

Fibonacci numbers are a sequence of integers, starting with 1, where the value of each number is the sum of the two previous num

bers,
e.g. 1, 1, 2, 3, 5, 8, etc. write a function called fibonacci that takes a parameter, n, which contains an integer value, and have it return the nth fibonacci number. (there are two ways to do this: one with recursion, and one without.)
Mathematics
1 answer:
Lubov Fominskaja [6]2 years ago
8 0

Answer:

i think its will be A

Step-by-step explanation:


You might be interested in
Prove the following statement.
gayaneshka [121]

Answer:

You can prove this statement as follows:

Step-by-step explanation:

An odd integer is a number of the form 2k+1 where k\in \mathbb{Z}. Consider the following cases.

Case 1. If k is even we have: (2k+1)^{2}=(2(2s)+1)^{2}=(4s+1)^{2}=16s^2+8s+1=8(2s^2+s)+1.

If we denote by m=2s^2+2 we have that (2k+1)^{2}=8m+1.

Case 2. if k is odd we have: (2k+1)^{2}=(2(2s+1)+1)^{2}=(4s+3)^{2}=16s^2+24s+9=16s^{2}+24s+8+1=8(2s^{2}+3s+1)+1.

If we denote by m=2s^{2}+24s+1 we have that (2k+1)^{2}=8m+1

This result says that the remainder when we divide the square of any odd integer by 8 is 1.

6 0
2 years ago
The side length of a square is 4 inches. Find the perimeter of the square. HELP PLEASE!
Elan Coil [88]

Answer:

16 in

Step-by-step explanation:

4 +4+4+4 = 16

6 0
2 years ago
Read 2 more answers
An advertising company conducted a survey to determine how often people of different ages shopped online. The table shows the da
ohaa [14]

Answer:

Teens who use online shopping sometimes = 6

total number of people who use online shopping sometimes = 20

total percentage of teens using online shopping sometimes = 6/20*100 => 30%

hope it helps

have a nice day

4 0
2 years ago
Dean invested $1100 into a bond. When the bond's maturity date was reached five
Oksanka [162]

Answer:

About 36%.

Step-by-step explanation:

The formula for the rate of return on investment is the total value minus the initial cost divided by the initial cost.

The total value is $1,500. The initial cost is $1,100.

(1,500 - 1,100) / 1,100 = 400 / 1,100 = 4 / 11 = 0.363636363636

So, Dean's rate of return on investment is about 36%.

Hope this helps!

7 0
3 years ago
A certain recipe ask for 5/9 cup of granola. How much is needed to make 2/3 of a recipe
Masteriza [31]
I think you divide 5/9 divided by 2/3.
5/9 divided by 2/3=4/3 simplified=2/3.
Just know I'm terrible at math so this could be like totally off the hook crazy and wrong.
7 0
3 years ago
Read 2 more answers
Other questions:
  • What is the value of x.
    9·1 answer
  • anisha invested $8,000 in an account that earns 10% interest. How much money will she have in 15 years if the interest is compou
    5·1 answer
  • I really need help on # 25 plz explain
    12·2 answers
  • I need to know how to write a proof for why CF is the perpendicular bisector of BD
    7·1 answer
  • The string that produces the lowest tone on a piano vibrates 87 times in 3 seconds. How many times would this string vibrate in
    6·1 answer
  • Solve for r:<br> B=dPIEr^2
    11·1 answer
  • Han ran 10 meters in 2.7 seconds. Priya ran 10 meters in 2.4 seconds. How long would it take han to run 50 meters.
    11·1 answer
  • Can someone help me pleaseee
    12·1 answer
  • Someone help me please
    9·1 answer
  • Is -8 a whole number
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!