Nice function `find_roots`

.

You don’t need to name the function by `J`

, unless there is another reason for introducing it.

I played with a modification of your problem:

```
using Plots, LaTeXStrings, Roots
f(x) = (x/4)^2 +10sin(x+pi/3)
g(x) = (x/5)^2
h(x) = f(x)-g(x)
xr = find_zeros(h,0,20)
#
hline(f.(xr),lw=4,lc=:orange,la=0.15,label="")
vline!(xr,lw=4,lc=:orange,la=0.15,label="")
plot!(f,0,20,lw=3,lc=:cornflowerblue,label=L"f(\cdot)")
plot!(g,0,20,lw=3,lc=:crimson,label=L"g(\cdot)")
scatter!(xr,f.(xr),ms=7,mc=:orange,label="roots",legend=:topleft)
```

which produces:

Julia is nice :-). I love the support of html colors, see, e.g., https://www.w3schools.com/colors/colors_names.asp .