Skip to content

Commit 998e02e

Browse files
author
madhuredra
committed
considered adding resource of the formula
1 parent cc93a8b commit 998e02e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Maths/Fibonacci.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,10 @@ const FibonacciMatrixExpo = (num) => {
187187
return F[0][0] * (isNeg ? (-ONE) ** (num + ONE) : ONE)
188188
}
189189

190+
/*
191+
Resource : https://math.hmc.edu/funfacts/fibonacci-number-formula/
192+
*/
193+
190194
const sqrt5 = Math.sqrt(5)
191195
const phi = (1 + sqrt5) / 2
192196
const psi = (1 - sqrt5) / 2

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy