You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for the delayed response - the parameters to run the code are in the "if name==main:" section (see below) debt in dollars, interest rates in %, taxes in % net income etc.
If you have trouble finding ' import zach' just comment out that line and the 'zach.exportpdffigs' and instead use plt.show()
debt = {"cc":2000., "student":49042, "auto":12000}
rate = {"cc":15.07, "student":6.8, "auto": 4.3}
studentloanpayment = loan_monthlypayment(debt['student'], 10, rate['student'])
autoloanpayment = loan_monthlypayment(debt['auto'], 5, rate['auto'])
#ccrate - http://www.creditcards.com/credit-card-news/interest-rate-report-100114-up-2121.php
#student loan rate - https://www.credible.com/blog/what-are-average-student-loan-interest-rates/
#auto - 4.3%
income0 = 50000 #at time = 0
raisepercent = 3. #percentage raise per year
taxes = 25. #percentage of income paid to taxes
Emergency_FundMonths = 4
inflation = 1.5#percent
#expenses
rice_beans = 150.*4.333 # dollars per week
#housing
percent_housing = 25 #percentage of income paid to housing
maxhousing = 1500#
utils = 200#
mortgage_interest = 4 #percent
mortgage_value = 200000. #
mortgage_downpayment = 0.2*mortgage_value
loan_term = 15 #yrs
Which are the required parameters to run the calculator?
The text was updated successfully, but these errors were encountered: