Tobot, I asked my trig teacher about your Monte Carlo method, but she said she didnt know of it. Could you please explain it, or point me towards a resource that could explain it (and other usefull math tricks).
My program currently is using trapizoids .5(b1 + b2)F where F is the frequency of sampling. it runs the X value through the equation one time to get B1 and then adds the frequency to the X and runs the equation to get B2, then find them as a trapizoid, then adds that to the previoud trapizoids.
if i set F low enough i can get some reasonably accurate results, and they are a lot better than what the textbook has us doing at this point (the average of sigmas for left and right rectangles) |