# NumPy – Fibonacci Series using Binet Formula in Python import numpy as np   # We are creating an array contains n = 10 elements# for getting first 10 Fibonacci numbersa = np.arange(1, 11)lengthA = len(a)  # splitting of terms for easinesssqrtFive = np.sqrt(5)alpha = (1 + sqrtFive) / 2beta = (1 - sqrtFive) / 2  # Implementation of formula# np.rint is used for rounding off to integerFn = np.rint(((alpha ** a) - (beta ** a)) / (sqrtFive))print("The first {} numbers of Fibonacci series are {} . ".format(lengthA, Fn))