numpy.fv() in Python Last Updated : 29 Nov, 2018 Comments Improve Suggest changes Like Article Like Report numpy.fv(rate, nper, pmt, pv, when = 'end') : This financial function helps user to compute future values. Parameters : rate : [scalar or (M, )array] Rate of interest as decimal (not per cent) per period nper : [scalar or (M, )array] total compounding periods pmt : [scalar or (M, )array] fixed payment pv : [scalar or (M, )array] present value when : at the beginning (when = {‘begin’, 1}) or the end (when = {‘end’, 0}) of each period. Default is {‘end’, 0} Return : value at the end of nper periods Equation being solved : fv + pv*(1+rate)**nper + pmt*(1 + rate*when)/rate*((1 + rate)**nper - 1) == 0 or when rate == 0 fv + pv + pmt * nper == 0 Code 1 : Working Python # Python program explaining fv() function import numpy as np ''' Question : Future value after 10 years of saving $100 now, with an additional monthly savings of $100. Assume the interest rate is 5% (annually) compounded monthly ? ''' # rate np pmt pv Solution = np.fv(0.05/12, 10*12, -100, -100) print("Solution : ", Solution) Output : Solution : 15692.9288943 References : https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.fv.html#numpy.fv . Comment More infoAdvertise with us Next Article numpy.fv() in Python mohit gupta_omg :) Follow Improve Article Tags : Python Python-numpy Python numpy-Financial Functions Practice Tags : python Similar Reads numpy.fabs() in Python numpy.fabs() function is used to compute the absolute values element-wise. This function returns the absolute values (positive magnitude) of the data in arr. It always return absolute values in floats. Syntax : numpy.fabs(arr, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, u 2 min read numpy.pv() in Python numpy.fv(rate, nper, pmt, fv, when = 'end') : This financial function helps user to compute future values. Parameters : rate : [array_like] Rate of interest as decimal (not per cent) per period nper : [array_like] total compounding periods pmt : [array_like] fixed payment fv : [array_like, optional] 1 min read NumPy Array in Python NumPy (Numerical Python) is a powerful library for numerical computations in Python. It is commonly referred to multidimensional container that holds the same data type. It is the core data structure of the NumPy library and is optimized for numerical and scientific computation in Python. Table of C 2 min read Python NumPy Numpy is a general-purpose array-processing package. It provides a high-performance multidimensional array object, and tools for working with these arrays. It is the fundamental package for scientific computing with Python.Besides its obvious scientific uses, Numpy can also be used as an efficient m 6 min read numpy.load() in Python numpy.load() function return the input array from a disk file with npy extension(.npy). Syntax : numpy.load(file, mmap_mode=None, allow_pickle=True, fix_imports=True, encoding='ASCII') Parameters: file : : file-like object, string, or pathlib.Path.The file to read. File-like objects must support the 2 min read Like