Php Code for Amortization

This php programming code is used to find the amortization . You can select the whole php code by clicking the select option and can use it. When you click text, the code will be changed to text format. This php program code will be opened in a new pop up window once you click pop-up from the right corner. You can just copy, paste this php code and use it to find the amortization .

<?php 
  $p= 12000;
  $term=10;
  $termon=3;
  $term=$term*$termon;
  $r = 1.2/1200;
  $part1 = pow((1+$r), $term);
  $part2 = $p * $r * $part1;
  $part3 = $part1 - 1;
  $emi =(100 * ($part2 / $part3)) / 100;
  echo "\nMonthly Payment is: ".round($emi);
  $tamt =(100 * $emi * $term) / 100;
  $tip = (100 * ($tamt - $p)) / 100;
  echo "\nTotal Interest without pre-payment: ".round($tip);
  ?>
Other Programming Codes
Online Calculator : Amortization Calculator
Click on the select code link to copy and paste this free php program code for amortization calculator.

english Calculators and Converters


Sitemap