F2 = 0
F3: F2 + 5.0
F4: F3 + 5.0
F5: F4 + 5.0
F6: F5 + 5.0
F7: F6 + 5.0
F8: F7 + 5.0
F9: F8 + 5.0
F10: F9 + 5.0
F11: F10 + 5.0
F12: F11 + 5.0
F13: F12 + 5.0
F14: F13 + 5.0
F15: F14 + 5.0
F16: F15 + 5.0
F17: F16 + 5.0
F18: F17 + 5.0
F19: F18 + 5.0
F20: F19 + 5.0
G2 = 86
G3 = 72
G4 = 64
G5 = 57.6
G6 = 53
G7 = 48
G8 = 45
G9 = 42
G10 = 39.5
G11 = 37
G12 = 35
G13 = 33.5
G14 = 32
G15 = 31
G16 = 30
G17 = 28.5
G18 = 27
G19 = 27
G20 = 26
k = 0.09500000000000001 (slider from 0 to 1, step 0.0050)
T_r = 20 (slider from -10 to 30, step 1)
T_0 = 86 (slider from -5 to 100, step 1)
P_1: (F2, G2)
P_2: (F3, G3)
P_3: (F4, G4)
P_4: (F5, G5)
P_5: (F6, G6)
P_6: (F7, G7)
P_7: (F8, G8)
P_8: (F9, G9)
P_9: (F10, G10)
P_{10}: (F11, G11)
P_{11}: (F12, G12)
P_{12}: (F13, G13)
P_{13}: (F14, G14)
P_{14}: (F15, G15)
P_{15}: (F16, G16)
P_{16}: (F17, G17)
P_{17}: (F18, G18)
P_{18}: (F19, G19)
P_{19}: (F20, G20)
L_1: {P_1, P_2, P_3, P_4, P_5, P_6, P_7, P_8, P_9, P_{10}, P_{11}, P_{12}, P_{13}, P_{14}, P_{15}, P_{16}, P_{17}, P_{18}, P_{19}}
A1 = 0
B1: T_0
C1: -1.0 * 1.0 k * (B1 - T_r)
A2: A1 + 3.0
B2: B1 + C1
C2: -1.0 * 1.0 k * (B2 - T_r)
A3: A2 + 3.0
B3: B2 + C2
C3: -1.0 * 1.0 k * (B3 - T_r)
A4: A3 + 3.0
B4: B3 + C3
C4: -1.0 * 1.0 k * (B4 - T_r)
A5: A4 + 3.0
B5: B4 + C4
C5: -1.0 * 1.0 k * (B5 - T_r)
A6: A5 + 3.0
B6: B5 + C5
C6: -1.0 * 1.0 k * (B6 - T_r)
A7: A6 + 3.0
B7: B6 + C6
C7: -1.0 * 1.0 k * (B7 - T_r)
A8: A7 + 3.0
B8: B7 + C7
C8: -1.0 * 1.0 k * (B8 - T_r)
A9: A8 + 3.0
B9: B8 + C8
C9: -1.0 * 1.0 k * (B9 - T_r)
A10: A9 + 3.0
B10: B9 + C9
C10: -1.0 * 1.0 k * (B10 - T_r)
A11: A10 + 3.0
B11: B10 + C10
C11: -1.0 * 1.0 k * (B11 - T_r)
A12: A11 + 3.0
B12: B11 + C11
C12: -1.0 * 1.0 k * (B12 - T_r)
A13: A12 + 3.0
B13: B12 + C12
C13: -1.0 * 1.0 k * (B13 - T_r)
A14: A13 + 3.0
B14: B13 + C13
C14: -1.0 * 1.0 k * (B14 - T_r)
A15: A14 + 3.0
B15: B14 + C14
C15: -1.0 * 1.0 k * (B15 - T_r)
A16: A15 + 3.0
B16: B15 + C15
C16: -1.0 * 1.0 k * (B16 - T_r)
A17: A16 + 3.0
B17: B16 + C16
C17: -1.0 * 1.0 k * (B17 - T_r)
A18: A17 + 3.0
B18: B17 + C17
C18: -1.0 * 1.0 k * (B18 - T_r)
A19: A18 + 3.0
B19: B18 + C18
C19: -1.0 * 1.0 k * (B19 - T_r)
A20: A19 + 3.0
B20: B19 + C19
C20: -1.0 * 1.0 k * (B20 - T_r)
A21: A20 + 3.0
B21: B20 + C20
C21: -1.0 * 1.0 k * (B21 - T_r)
A22: A21 + 3.0
B22: B21 + C21
C22: -1.0 * 1.0 k * (B22 - T_r)
A23: A22 + 3.0
B23: B22 + C22
C23: -1.0 * 1.0 k * (B23 - T_r)
A24: A23 + 3.0
B24: B23 + C23
C24: -1.0 * 1.0 k * (B24 - T_r)
A25: A24 + 3.0
B25: B24 + C24
C25: -1.0 * 1.0 k * (B25 - T_r)
A26: A25 + 3.0
B26: B25 + C25
C26: -1.0 * 1.0 k * (B26 - T_r)
A27: A26 + 3.0
B27: B26 + C26
C27: -1.0 * 1.0 k * (B27 - T_r)
A28: A27 + 3.0
B28: B27 + C27
C28: -1.0 * 1.0 k * (B28 - T_r)
A29: A28 + 3.0
B29: B28 + C28
C29: -1.0 * 1.0 k * (B29 - T_r)
A30: A29 + 3.0
B30: B29 + C29
C30: -1.0 * 1.0 k * (B30 - T_r)
P_{20}: (A1, B1)
P_{21}: (A2, B2)
P_{22}: (A3, B3)
P_{23}: (A4, B4)
P_{24}: (A5, B5)
P_{25}: (A6, B6)
P_{26}: (A7, B7)
P_{27}: (A8, B8)
P_{28}: (A9, B9)
P_{29}: (A10, B10)
P_{30}: (A11, B11)
P_{31}: (A12, B12)
P_{32}: (A13, B13)
P_{33}: (A14, B14)
P_{34}: (A15, B15)
P_{35}: (A16, B16)
P_{36}: (A17, B17)
P_{37}: (A18, B18)
P_{38}: (A19, B19)
P_{39}: (A20, B20)
P_{40}: (A21, B21)
P_{41}: (A22, B22)
P_{42}: (A23, B23)
P_{43}: (A24, B24)
P_{44}: (A25, B25)
P_{45}: (A26, B26)
P_{46}: (A27, B27)
P_{47}: (A28, B28)
P_{48}: (A29, B29)
P_{49}: (A30, B30)
L_3: {P_{20}, P_{21}, P_{22}, P_{23}, P_{24}, P_{25}, P_{26}, P_{27}, P_{28}, P_{29}, P_{30}, P_{31}, P_{32}, P_{33}, P_{34}, P_{35}, P_{36}, P_{37}, P_{38}, P_{39}, P_{40}, P_{41}, P_{42}, P_{43}, P_{44}, P_{45}, P_{46}, P_{47}, P_{48}, P_{49}}
L_2: L_1 - (0.0, 20.0)
g = FitExp(L_2)
f(x) = g(x) + 20.0