Calculates the Laplace transform of a function at a value.