Questions tagged [roots]
40 questions
8
votes
2 answers
Bracketing a discontinuity in a step function
I have the function
$f(x) = \begin{cases}
0 \:\: (x < a) \\ 1/2 \:\: (x = a)\\ 1 \:\: (x > a)
\end{cases}$,
where $a$ is unknown. I can compute the function for any value of $x$, and seek to determine $a$ (to some degree of accuracy).
Given an…
user1951162
- 81
- 1
2
votes
3 answers
Finding the roots of a function like $3+\cos(x)+0.005/(x-a)$?
I have a blackbox function that (for the purposes of this question) looks like $3+\cos(x) + 0.005/(x-a)$. The location of this $a$ is unknown (but within $0\to2\pi$). (The $3+\cos(x)$ is just a (bad) approximation.) I need to find the roots of this…
user38410
- 31
- 2
0
votes
0 answers
Fastest way to find roots of second order polynomial upto single decimal point?
What is fasted way to find roots of second order polynomial up to single decimal point using a program.
Amruth A
- 101
- 2