The table is set up for Euler's method applied to \(y'=1-y^2\) with \(y(0)=0.5\) and \(h=0.25\). Complete the missing \(y_n\) and slope entries. Round displayed entries to four decimal places as needed, but use unrounded values in later updates.
<table><thead><tr><th>Step</th><th>\(x_n\)</th><th>\(y_n\)</th><th>\(f(x_n,y_n)\)</th></tr></thead><tbody><tr><td>\(0\)</td><td>\(0\)</td><td>\(0.5\)</td><td>?</td></tr><tr><td>\(1\)</td><td>\(0.25\)</td><td>?</td><td>?</td></tr><tr><td>\(2\)</td><td>\(0.5\)</td><td>?</td><td>?</td></tr><tr><td>\(3\)</td><td>\(0.75\)</td><td>?</td><td>?</td></tr><tr><td>\(4\)</td><td>\(1\)</td><td>?</td><td>—</td></tr></tbody></table>
Hints
- Use \(1-y_n^2\) to compute the slope in each completed row.
- Advance with \(y_{n+1}=y_n+0.25f(x_n,y_n)\).
- Display four decimals as requested but retain unrounded \(y_n\) values for later slopes.
Solution
1. Apply \(y_{n+1}=y_n+h f(x_n,y_n)\) row by row, retaining unrounded values for each subsequent update.
2. The completed displayed values are \(x_0=0, y_0=0.5, f=0.75\); \(x_1=0.25, y_1=0.6875, f\approx0.5273\); \(x_2=0.5, y_2\approx0.8193, f\approx0.3287\); \(x_3=0.75, y_3\approx0.9015, f\approx0.1873\); \(x_4=1, y_4\approx0.9483\).
Answer
\(x_0=0, y_0=0.5, f=0.75\); \(x_1=0.25, y_1=0.6875, f\approx0.5273\); \(x_2=0.5, y_2\approx0.8193, f\approx0.3287\); \(x_3=0.75, y_3\approx0.9015, f\approx0.1873\); \(x_4=1, y_4\approx0.9483\)