<?php
$MSRP_name = 28155;
$Invoice = 27157;
$INVOICE_Discount = 2000;
$Carvoy_cost =24382; echo '$Carvoy_cost = ', $Carvoy_cost, "\n";
$Profit = 1000;
$Rebates = 0;
$Dealer_Cash = 7200;
$Miles_Per_Year = 10000;
$MONTH_TERM = 36;
$MF_RATE = 0.00001;
$Tax_Rate = 0.08875;
$Bank_Fee = 625;
$Reg_Fee = 312.5;
$Net_cap_Cost = 25382; echo '$Net_cap_Cost = ', $Net_cap_Cost, "\n" ;
$Res_value = 0.54;
$Adj_Res_value = 0.46;
$month36_residual_value = 15203.70; echo '$month36_residual_value = ', $month36_residual_value, "\n" ;
$Dep_Value = $Net_cap_Cost - $month36_residual_value; echo '$Dep_Value = ', $Dep_Value, "\n";
$Value_for_MF = $Net_cap_Cost + $month36_residual_value; echo '$Value_for_MF = ' , $Value_for_MF, "\n";
$Raw_monthly = $Dep_Value / $MONTH_TERM; echo '$Raw_monthly = ' , $Raw_monthly, "\n";
$Interest_Value = 0.41 ; echo '$Interest_Value = ' , $Interest_Value, "\n";
$Bottom_line_monthly = $Raw_monthly + $Interest_Value; echo '$Bottom_line_monthly = ' , $Bottom_line_monthly, "\n";
$Upfront_Tax = $Bottom_line_monthly * $MONTH_TERM * $Tax_Rate; echo '$Upfront_Tax = ' , $Upfront_Tax, "\n";
$Cashdown_Tax = $Bank_Fee * $Tax_Rate ; echo '$Cashdown_Tax = ' , $Cashdown_Tax, "\n";
$Tire_Tax = 12.5;
$Enter_Due_On_Signing = 5000;
$tax_fees = $Cashdown_Tax + $Tire_Tax + $Reg_Fee + $Bank_Fee ; echo '$tax_fees = ' , $tax_fees, "\n";
$feesdue = ( - ( 1 / (1+$MF_RATE*$MONTH_TERM-$MONTH_TERM+$Tax_Rate*$MONTH_TERM*$MONTH_TERM*$MF_RATE) ) )*($Net_cap_Cost-$Enter_Due_On_Signing-$month36_residual_value+$tax_fees*$MONTH_TERM+$Tax_Rate*$MONTH_TERM*$Enter_Due_On_Signing-$Tax_Rate*$MONTH_TERM*$month36_residual_value+$Tax_Rate*$MONTH_TERM*$MONTH_TERM*$MF_RATE*$Net_cap_Cost-$Tax_Rate*$MONTH_TERM*$MONTH_TERM*$MF_RATE*$Enter_Due_On_Signing+$Tax_Rate*$MONTH_TERM*$MONTH_TERM*$month36_residual_value*$MF_RATE+$MF_RATE*$MONTH_TERM*$Net_cap_Cost-$MF_RATE*$MONTH_TERM*$Enter_Due_On_Signing+$month36_residual_value*$MF_RATE*$MONTH_TERM);
//$feesdue = ( ( $tax_fees+$Enter_Due_On_Signing*$Tax_Rate ) / (1+$Tax_Rate));
//$feesdue = ($Net_cap_Cost-$Enter_Due_On_Signing-$month36_residual_value+$tax_fees*$MONTH_TERM+$Enter_Due_On_Signing*$MONTH_TERM*$Tax_Rate+$MF_RATE*$MONTH_TERM*$Net_cap_Cost-$MF_RATE*$MONTH_TERM*$Enter_Due_On_Signing+$MF_RATE*$MONTH_TERM*$month36_residual_value)/($MONTH_TERM*$Tax_Rate+$MONTH_TERM-1-$MF_RATE*$MONTH_TERM);
echo $tax_fees;
echo PHP_EOL;
echo $feesdue;
- Output for git.master, git.master_jit, rfc.property-hooks
- $Carvoy_cost = 24382
$Net_cap_Cost = 25382
$month36_residual_value = 15203.7
$Dep_Value = 10178.3
$Value_for_MF = 40585.7
$Raw_monthly = 282.73055555556
$Interest_Value = 0.41
$Bottom_line_monthly = 283.14055555556
$Upfront_Tax = 904.634075
$Cashdown_Tax = 55.46875
$tax_fees = 1005.46875
1005.46875
252.2421702933
This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.
Active branches
Archived branches
Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page
preferences:
60.98 ms | 402 KiB | 8 Q