Assign x values is plots

something like

using Roots
using Plots

J=f(x)=x^2+10sin(x)
g(x)=f(x)-1000
find_zeros(g,0,10000)

plot(J, 0, 100)
hline!([1000])

?
I’m not really sure, what you mean by

how to assign 0 values

Assign them to what?

1 Like