I thought it might be nice to write a function in VBA that would evaluate a definite integral, given a string that represents y as a function of x and the lower and upper limit. Here's what I came up with:
Function INTEG(exp As String, min As Double, max As Double)
Dim t As Double
Dim x As...