trashcanman
Mechanical
- Jan 4, 2002
- 469
I am trying to figure out how to do numerical integration, using Simpson's Rule. I could easily do it with Basic, but dang Vista won't run GW Basic. I could also do it with about 1000 rows and then sum it up, but want to avoid that.
It is simply evaluate f(x)*constant, store it, recalculate f(x+dx)*constant, add that to 1st value, recalculate (f(x+dx+dx)*constant, add that, on and on till it reaches the upper limit.
Is there a way to do it using the automatic iteration feature (under Tools)? It would be a sort of FOR TO type statement. Goal Seek won't work, as I am just trying to sum up a lot of calculations, not find a root.
It is simply evaluate f(x)*constant, store it, recalculate f(x+dx)*constant, add that to 1st value, recalculate (f(x+dx+dx)*constant, add that, on and on till it reaches the upper limit.
Is there a way to do it using the automatic iteration feature (under Tools)? It would be a sort of FOR TO type statement. Goal Seek won't work, as I am just trying to sum up a lot of calculations, not find a root.