happyjamandnut1555 happyjamandnut1555
  • 03-01-2020
  • Business
contestada

You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?

Respuesta :

princessesther2011
princessesther2011 princessesther2011
  • 05-01-2020

Answer:

(n^2 + n)/2 ways

Explanation:

Each time you can climb 1 or 2 steps to the top (n steps)

Number of ways climbing 1 step to the top = n combination 1 = n!/(n-1)1! = n(n-1)!/(n-1)! = n

Number of ways climbing 2 steps to the top = n combination 2 = n!/(n-2)!2! = n(n-1)(n-2)!/2(n-2)! = (n^2 - n)/2

Total number of ways = n + (n^2 - n)/2 = (2n + n^2 - n)/2 = (n^2 + n)/2 ways

Answer Link

Otras preguntas

3/7 of what number is 9? How am I suppose to figure this out?
solve for x 6(x+5)-3(x-2)=12x+18
accurate estimation of 75-33
there are two trains A and B. which are 30 kms apart. both the trains are moving towards each other with velocity of train A is 40 kms / hr velocity od train B
what kind of device can you use to to separate visible light into its different colors
If I get +16/20 on a test what percentage is that?
A resistance of  10ohm is bent in the form of a closed cirle. What is the effective resistance between the two pints of any diameter of this circle?
3/7 of what number is 9? How am I suppose to figure this out?
How many feet is this please help
What is the name of the biome in which you can encounter an elephant (in natural environment of course)