This solver is specialized to the case where the function being solved is only defined for integer values. We still pass noninteger values to the function, but we expect that they will be rounded. This affects our stopping criteria.
1 | bssolv(x1, x2, targfun)
|
x1 |
lower bound |
x2 |
upper bound |
targfun |
function to solve |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.