Numerical Integration (With Precision)

In a previous blog entry, I explained the higher-order function sum and how to use the Substitution Model to follow the execution of a function. In this entry, I will use the sum function to perform numerical integration, and in the process run into some pitfalls of Java's BigDecimal. I will show how the language Clojure provides an elegant solution to the "exact quotient cannot be represented" problem of BigDecimal.

Continue Reading

End of content

No more pages to load

Close Menu