I am creating a worksheet for Simpson's Rule and I would like to make it flexible for different equations.
So I have a cell just for the endpoints, step size and formula, and then a table for my calculations.
I know I can just directly input the formula that I want into the table. But is there a way to do it such that when I change the formula cell, the value will change as well?
For example:
So if I changed my f(x) cell to x, it should give me (0, 1, ..., 10) under f(x) for the table.
Additionally, is there a way to stop autofill the multiplier column? I know that the first and last entries should be 1, and the middle should be the sequence of (4, 2, 4, 2, ..., 4). Is there a way to automate this?