(Finite difference formulas) Given \(h > 0\), compute weights \(\{w_j\}_{j=0}^2\) for the following one-sided finite difference formula for the first derivative \(f'(x)\): \[ f'(x) \approx \sum _{j=0}^2 w_j f(x+jh) = w_0 f(x) + w_1 f(x+h) + w_2 f(x+2h). \]
What is the order of accuracy of your formula?