File tree Expand file tree Collapse file tree 5 files changed +33
-8
lines changed Expand file tree Collapse file tree 5 files changed +33
-8
lines changed Original file line number Diff line number Diff line change 198198 " # 7.5% state sales tax rate on the purchase of all vehicles\n " ,
199199 " \n " ,
200200 " # Annual percentage rate\n " ,
201- " APR = .0359 \n " ,
201+ " APR = .0702 \n " ,
202202 " \n " ,
203203 " # periodic interest rate = APR/number of periods per year\n " ,
204204 " R = APR / 12\n " ,
205205 " \n " ,
206206 " # Total number of interest periods (number of months)\n " ,
207- " n = 72 "
207+ " n = 60 "
208208 ]
209209 },
210210 {
230230 "name" : " stdout" ,
231231 "output_type" : " stream" ,
232232 "text" : [
233- " Monthly payment is: 517.08 \n "
233+ " Monthly payment is: 662.64 \n "
234234 ]
235235 }
236236 ],
242242 "cell_type" : " markdown" ,
243243 "metadata" : {},
244244 "source" : [
245- " ## How your Monthly Payment (Equated Monthly Installment) is Calculated "
245+ " ## Calculating a Monthly Payment (Simplified) "
246246 ]
247247 },
248248 {
249249 "cell_type" : " code" ,
250- "execution_count" : 69 ,
250+ "execution_count" : 9 ,
251251 "metadata" : {
252252 "collapsed" : true
253253 },
254254 "outputs" : [],
255255 "source" : [
256256 " # California sales tax 7.5%\n " ,
257- " Principal = 31115 * (1.075)\n " ,
257+ " P = 31115 * (1.075)\n " ,
258258 " \n " ,
259259 " r = 0.0702 / 12\n " ,
260260 " n = 60"
261261 ]
262262 },
263263 {
264264 "cell_type" : " code" ,
265- "execution_count" : 70 ,
265+ "execution_count" : 10 ,
266266 "metadata" : {
267267 "collapsed" : false
268268 },
273273 " 662.638532377825"
274274 ]
275275 },
276- "execution_count" : 70 ,
276+ "execution_count" : 10 ,
277277 "metadata" : {},
278278 "output_type" : " execute_result"
279279 }
286286 " emi"
287287 ]
288288 },
289+ {
290+ "cell_type" : " markdown" ,
291+ "metadata" : {},
292+ "source" : [
293+ " ## Calculating a Monthly Payment (with some fees included)"
294+ ]
295+ },
296+ {
297+ "cell_type" : " code" ,
298+ "execution_count" : null ,
299+ "metadata" : {
300+ "collapsed" : true
301+ },
302+ "outputs" : [],
303+ "source" : []
304+ },
305+ {
306+ "cell_type" : " code" ,
307+ "execution_count" : null ,
308+ "metadata" : {
309+ "collapsed" : true
310+ },
311+ "outputs" : [],
312+ "source" : []
313+ },
289314 {
290315 "cell_type" : " markdown" ,
291316 "metadata" : {},
You can’t perform that action at this time.
0 commit comments