Linked Questions

4 votes
3 answers
322 views

Find the zero crossing in data [duplicate]

I have the following list. l = Table[Sin[i], {i, -4 Pi, 4 Pi}] // N which gives me the following data, ...
Lohrasb's user avatar
  • 359
2 votes
2 answers
1k views

How do I get all the roots within a certain range for an equation? [duplicate]

I wish to find ALL the roots of the following equation $ x \tan(ax) - c = 0$ within a range, where a and c are constants I control. I've been using ...
Shreyas Padhy's user avatar
1 vote
0 answers
599 views

Obtaining values from interpolating functions [duplicate]

A similar question has been asked in the post HERE but the current question is more complicated: I have the following differential system ...
user2085's user avatar
1 vote
0 answers
59 views

How to find x for certain y from InterpolatingFunction [duplicate]

As shown in the picture, I get the data after using NDSolve. Now I want to get the x for cetain y, how can I do this? The last three lines is the way I try to ...
John Tu's user avatar
  • 11
78 votes
5 answers
29k views

How to find all the local minima/maxima in a range

I want to find : all local maxima in range all local minima in range From those points I can interpolate and combine functions upper and lower boundary. What I am really interested in, is the mean ...
Margus's user avatar
  • 1,987
29 votes
4 answers
11k views

How to find numerically all roots of a function in a given range?

It is common that I search numerically for all zeros (roots) of a function in a given range. I have written two simple minded functions that perform this task, and I know of similar functions on this ...
yohbs's user avatar
  • 7,046
13 votes
6 answers
1k views

Solving this challenging ODE

Consider the ODE: $$w^{(4)}(x) + (L-x)w''(x) - w'(x) = 0 $$ with some of the following boundary conditions: free: $w'' = 0$, $w'''=0$, clamped: $w = 0$, $w'=0$, pivot: $w = 0$, $w''=0$. Two such ...
anderstood's user avatar
  • 14.3k
11 votes
5 answers
794 views

NDEigenvalues vs. FindRoot for finding the eigenvalues of Airy equation?

Say I am trying to find the first 5 eigenvalues of the differential equation $f''(x)=\lambda x f(x)$, on the interval [-1,0], with boundary conditions $f(-1)=f(0)=0$. I will try to do this 3 ways, ...
guest84924657's user avatar
10 votes
3 answers
845 views

Labeling solutions of an Eigenvalue equation involving Bessel functions

I'm solving the Schrödinger equation for a particle in an annular geometry with hard wall boundary conditions and I've reduced it to the following equation: $$J_m(k\,R_1)\,Y_m(k\,R_2) - J_m(k\,R_2)\,...
Aegon's user avatar
  • 769
9 votes
3 answers
526 views

Why can't NSolve solve for the obvious zeros?

Bug introduced in 13.2 or earlier and fixed in 14.0 ...
Vancheers's user avatar
  • 736
5 votes
3 answers
714 views

How can I solve this equation: $(47^{(u + 1)} + 3^{(u + 1)})/(u + 1) ==50^{1.5}/1.5$?

Solve[(47^(u + 1) + 3^(u + 1))/(u + 1) ==(50^1.5)/1.5,u] The code I tried is above, but it showed me a message problem "Solve was unable to solve the system ...
MarV's user avatar
  • 121
5 votes
2 answers
12k views

Find all roots in range

Is there any way to check for all roots in a range? Jens' findAllRoots function is pretty good, but runs at approx. 10% of roots missed when I ran a quick check on ...
martin's user avatar
  • 8,678
5 votes
3 answers
861 views

Why does the following Solve take so long?

Why does the following take Mathematica so long to reply to? Solve[BetaRegularized[0.5, k, n - k - 1] == 0.035, k] where $n = 1000$ By the way, In case there is ...
user120911's user avatar
  • 2,655
6 votes
2 answers
803 views

Techniques to find all local minima of black box function with n continuous derivatives?

I have a blackbox function f on [a,b] that is known to be continuous, and has n continuous derivatives. The function uses polynomial interpolations (but isn't a polynomial interpolation itself), so no ...
user avatar
2 votes
3 answers
898 views

Find all roots of a function with parabolic cylinder functions in a range of the variable

I want to find all roots of a function involving Parabolic Cylinder Functions. In what follows, I define 2 variables $\xi1$ and $\xi2$, which in turn depend on $\omega$. My function is then defined as ...
Ambrose Chau's user avatar

15 30 50 per page