Skip to content

Commit ff9f603

Browse files
committed
Updated car loan for dealing with fees
1 parent c8ce655 commit ff9f603

File tree

4 files changed

+56
-2
lines changed

4 files changed

+56
-2
lines changed

.DS_Store

0 Bytes
Binary file not shown.

Finance/car_loans.ipynb

Lines changed: 56 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,12 +295,44 @@
295295
},
296296
{
297297
"cell_type": "code",
298-
"execution_count": null,
298+
"execution_count": 17,
299299
"metadata": {
300300
"collapsed": true
301301
},
302302
"outputs": [],
303-
"source": []
303+
"source": [
304+
"# Tax + Emissions + Registration + Plate + Documentation\n",
305+
"P = 31115 + (32615 * 0.0975) + 50 + 200 + 65 + 80\n",
306+
"\n",
307+
"r = 0.0702 / 12\n",
308+
"n = 60"
309+
]
310+
},
311+
{
312+
"cell_type": "code",
313+
"execution_count": 18,
314+
"metadata": {
315+
"collapsed": false
316+
},
317+
"outputs": [
318+
{
319+
"data": {
320+
"text/plain": [
321+
"687.2302176619154"
322+
]
323+
},
324+
"execution_count": 18,
325+
"metadata": {},
326+
"output_type": "execute_result"
327+
}
328+
],
329+
"source": [
330+
"numerator = (r *((1 + r)**(n)) )\n",
331+
"denominator = ((1 + r)**(n)) - 1\n",
332+
"\n",
333+
"emi = P * (numerator / denominator)\n",
334+
"emi"
335+
]
304336
},
305337
{
306338
"cell_type": "code",
@@ -311,6 +343,28 @@
311343
"outputs": [],
312344
"source": []
313345
},
346+
{
347+
"cell_type": "code",
348+
"execution_count": 19,
349+
"metadata": {
350+
"collapsed": false
351+
},
352+
"outputs": [
353+
{
354+
"data": {
355+
"text/plain": [
356+
"24.590000000000032"
357+
]
358+
},
359+
"execution_count": 19,
360+
"metadata": {},
361+
"output_type": "execute_result"
362+
}
363+
],
364+
"source": [
365+
"687.23 - 662.64"
366+
]
367+
},
314368
{
315369
"cell_type": "markdown",
316370
"metadata": {},

Finance/loans.pptx

161 KB
Binary file not shown.

Finance/monthlyPaymentEvidence.png

-4.82 KB
Loading

0 commit comments

Comments
 (0)