-
Notifications
You must be signed in to change notification settings - Fork 3
/
output.html
91 lines (90 loc) · 2.64 KB
/
output.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html>
<head>
<title>Comparison of Renting vs. Buying in London</title>
<style>
/* Add your custom CSS styles here if needed */
</style>
</head>
<body>
<h1>Comparison of Renting vs. Buying in London</h1>
<table border="1" class="dataframe table table-bordered table-hover">
<thead>
<tr style="text-align: right;">
<th>Description</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>Initial Property Price</td>
<td>400000</td>
</tr>
<tr>
<td>Annual Rent</td>
<td>15000</td>
</tr>
<tr>
<td>Mortgage Interest Rate</td>
<td>5.0%</td>
</tr>
<tr>
<td>Mortgage Term</td>
<td>20</td>
</tr>
<tr>
<td>Down Payment</td>
<td>20000.0</td>
</tr>
<tr>
<td>Annual Property Price Appreciation</td>
<td>3.0%</td>
</tr>
<tr>
<td>Inflation Rate</td>
<td>8.0%</td>
</tr>
<tr>
<td>Adjusted Property Price</td>
<td>722444.493868</td>
</tr>
<tr>
<td>Adjusted Annual Rent</td>
<td>69914.357158</td>
</tr>
<tr>
<td>Total Rent Costs</td>
<td>1398287.143155</td>
</tr>
<tr>
<td>Total Mortgage Payments</td>
<td>2507.831809</td>
</tr>
<tr>
<td>Total Buying Costs</td>
<td>70507.831809</td>
</tr>
<tr>
<td>Home Equity</td>
<td>20000.0</td>
</tr>
</tbody>
</table>
<h2>Price Trend Chart</h2>
<div>
<p>Years</p>
<p>[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]</p>
</div>
<div>
<p>Property Price for Renting</p>
<p>[69914.35715773962, 72011.78787247182, 74172.14150864596, 76397.30575390534, 78689.22492652251, 81049.90167431819, 83481.39872454773, 85985.84068628417, 88565.4159068727, 91222.37838407888, 93959.04973560125, 96777.8212276693, 99681.15586449936, 102671.59054043435, 105751.7382566474, 108924.29040434682, 112192.01911647723, 115557.77968997153, 119024.5130806707, 122595.24847309082, 126273.10592728354]</p>
</div>
<div>
<p>Property Price for Buying</p>
<p>[722444.4938677659, 744117.8286837989, 766441.3635443128, 789434.6044506422, 813117.6425841616, 837511.1718616864, 862636.507017537, 888515.6022280632, 915171.0702949051, 942626.2024037522, 970904.9884758649, 1000032.1381301408, 1030033.102274045, 1060934.0953422664, 1092762.1182025345, 1125544.9817486105, 1159311.3312010688, 1194090.671137101, 1229913.3912712142, 1266810.7930093505, 1304815.1167996312]</p>
</div>
<div>
<img src="price_trend_chart.png" alt="Price Trend Chart">
</div>
</body>
</html>