TroglodyteDerivations commited on
Commit
96aac28
1 Parent(s): b1ce80f

Updated line 102 with: data['Et'].append((v_at_00004 - 15.974) * -1)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ for h in step_sizes:
99
  error = np.abs(15.974 - v_at_00004)
100
  data['Step size h'].append(f'{h:.7f}') # Formatting the step size to ensure it displays correctly
101
  data['v(0.00004)'].append(v_at_00004)
102
- data['Et'].append(15.974 - v_at_00004)
103
  data['|Error| %'].append((error / 15.974) * 100)
104
 
105
  df = pd.DataFrame(data)
 
99
  error = np.abs(15.974 - v_at_00004)
100
  data['Step size h'].append(f'{h:.7f}') # Formatting the step size to ensure it displays correctly
101
  data['v(0.00004)'].append(v_at_00004)
102
+ data['Et'].append((v_at_00004 - 15.974) * -1)
103
  data['|Error| %'].append((error / 15.974) * 100)
104
 
105
  df = pd.DataFrame(data)