Got it! You want to find, for each height from 0 to 220 cm, the weight that would give the same value of each index as your current values (calculated at height 183 cm and weight 75 kg).
Recap of your current values:
Height = 183 cm
Weight = 75 kg
Calculated indexes at your height and weight:
Index 1 = Height - 110 = 183 - 110 = 73
Index 2 = BMI = 75 / (1.83²) ≈ 22.4
Index 3 = Weight / Height³ = 75 / (1.83³) ≈ 12.3
Goal:
For each height ( h ) from 0 to 220 cm, find the weight ( w ) such that:
Index 1 at height ( h ) equals 73
Index 2 at height ( h ) equals 22.4
Index 3 at height ( h ) equals 12.3
Formulas to find weight ( w ) for each index:
Index 1:
[
h - 110 = 73 \implies h = 183 \quad \text{(constant, no weight dependence)}
]
Since Index 1 depends only on height, the weight is irrelevant here. So this is just a vertical line at height = 183 cm.
Index 2 (BMI):
[
\text{BMI} = \frac{w}{(h/100)^2} = 22.4
]
Solve for ( w ):
[
w = 22.4 \times \left(\frac{h}{100}\right)^2
]
Index 3:
[
\frac{w}{(h/100)^3} = 12.3
]
Solve for ( w ):
[
w = 12.3 \times \left(\frac{h}{100}\right)^3
]
Let's plot these:
Height ( h ) from 0 to 220 cm
Weight ( w ) calculated for each index
Python code to generate the graph:
python
import numpy as np
import matplotlib.pyplot as plt
# Constants from your data
index1_value = 73
index2_value = 22.4
index3_value = 12.3
# Heights from 1 cm to 220 cm (avoid zero to prevent division by zero)
heights_cm = np.linspace(1, 220, 500)
heights_m = heights_cm / 100
# Calculate weights for each index
# Index 1: weight is irrelevant, height must be 183 cm
weight_index1 = np.full_like(heights_cm, np.nan) # no weight for index 1, just mark as NaN
# Index 2 (BMI)
weight_index2 = index2_value * (heights_m ** 2)
# Index 3
weight_index3 = index3_value * (heights_m ** 3)
# Plotting
plt.figure(figsize=(10, 6))
plt.plot(heights_cm, weight_index2, label='Weight for Index 2 (BMI)')
plt.plot(heights_cm, weight_index3, label='Weight for Index 3')
plt.axvline(x=183, color='r', linestyle='--', label='Height for Index 1 (73)')
plt.title('Weight needed to maintain same index value at different heights')
plt.xlabel('Height (cm)')
plt.ylabel('Weight (kg)')
plt.legend()
plt.grid(True)
plt.ylim(0, 150)
plt.show()
Explanation of the graph:
The red dashed vertical line at 183 cm shows where Index 1 = 73 (since Index 1 depends only on height).
The blue curve shows the weight needed at each height to keep the same BMI (22.4).
The orange curve shows the weight needed at each height to keep the same Index 3 (12.3).
If you want, I can generate the graph image for you here! Would you like me to do that?