Program to find the Depreciation of Value | Function to return the depreciation of value ; Driver code
function Depreciation ( v , r , t ) { var D = v * Math . pow ( ( 1 - r / 100 ) , t ) return D ; } var V1 = 200 , R = 10 , T = 2 ; document . write ( Depreciation ( V1 , R , T ) ) ;