Estimating function intergral - function containing a sine or a cosine

julia> using QuadGK

julia> I, err = quadgk(x -> log(x) * sin(10π * x), 0, 1)
(-0.12813684841011241, 6.022027749476766e-10)

err is an estimate of the error.

3 Likes