# Tagged Questions

Questions on the analytic and numeric equation solving functions of Mathematica (Solve, Reduce, NSolve, FindRoot, DSolve, RSolve, etc.).

77 views

### Solving two equations with modified Bessel functions

I am trying to solve two equations with Bessel functions in them, 1) C1*BesselK[0, 3.7268*10^-4*x] == 1.3*10^-6 2) ...
49 views

### Substituting values of variables in solution of a system of linear equations

After solving a system of 21 linear equations in 21 variables (called Xi in my code) I got the values for all the 21 variables, in the following way: ...
37 views

### Solving integral equation

I want to solve the following integral equation for $k$: $\left[\frac{\int_0^\infty e^{-ay}(1+y)^{C} dy}{\int_0^\infty e^{-ay}(1+y)^{C-1} dy}\right]-1=\int_0^\infty e^{-ay}(1+y)^{k} dy$ where $C$ ...
23 views

### Help Compiling Vectors using Iterations

So I have a nice code that runs properly, which I include below but, in my naiveté, I'm having issues iterating my procedure. Simply put, I have a function of two real variables $f(x,y)$ and I want ...
73 views

### Solve equation for a function as solution

I need to solve the following function: $$h(z) = \sum^{40}_{k=0} \frac{k \, p(k)}{z- k \, h(z)}$$ where $p(k)$ is a probability distribution (in this case binomial with n = 40). Note that $h(z)$ is ...
54 views

### Arranging sides of an equation [duplicate]

I have to create my own function to solve equations (first and second degree). Assuming you have any input equation, how can I do to bring everything to the first side of the equation? Example. I ...
36 views

### Matrix with equations as entries - how to choose them and solve them

I have a matrix in Mathematica, which I have built using Normal[SparseArray]. Each entry of this matrix is an equation in one variable. What I need to do is 1) to select some of the entries of the ...
31 views

### Parameterize Subset of Complicated Zero Set

I recently asked this question: Evaluating Functions on Zero Sets (of other functions), and got fantastic assistance, but realized that there seems to be an extra issue when you're trying to ...
55 views

### Module output rules like Solve FindRoot etc built-in functions

How do I print rules {x -> values} as an output from my module? I'd like it formatted just like those from the built-in functions, so that users can use Out[ ] or % to directly apply the rules. ...
208 views

### How to change parameters to equations of physical properties they belong to in an equation?

First off, I want to apologize for my poor English as I am not a native speaker. In my physics research, I had to solve a system of equations, from which I would get a solution for the speed of an ...
24 views

### Using the “reduce” function with s lot of equations and inequalities

I am using "reduce" to obtain all positive integers (plus 0) which satisfy a group of equations and inequalities. I have to automatize this procedure because I have to use "reduce" with at least 100 ...
103 views

### Evaluating Functions on Zero Sets (of other functions)

I have a highly non-trivial function, call it $f(x,y)$, in which I want to look at its zero set in the $(x,y)$ plane, and plot/evaluate a different function $g$ precisely along this zero set. I have ...
111 views

### Find all the non-negative integer solutions of a linear equation

For the linear equation x[1] + x[2] + x[3] + x[4] + x[5] == n Is there any efficient way to find all the non-negative integer solutions of this equation when n ...
87 views

### Solve equation with two different sets of replacement rules

I want to solve eqn for c0 in the following code. I want to do it with both replacement rules. I realize I could just use solve ...
85 views

### Interactive Application using Manipulate for Fibonacci Series

I am working on creating interactive app using Manipulate function on fibonacci series using SeriesCoefficient. I want to plot the fibonacci numbers based on the slider of Manipulate function. I ...
5k views

### Solving a time-dependent Schrödinger equation

I want to solve the time-dependent Schrödinger equation: $$i\partial_t \psi(t) = H(t)\psi(t)$$ for matrix, time-dependent $H(t)$ and vector $\psi$. What is an efficient way of doing this so that ...
48 views

### Is there a way to tell how much time FindRoot is spending calculating Jacobians?

I am solving a large number of trascendental equations by scanning FindRoot over a bunch of seeds and a bunch of different parameter values, and I would like to ...
277 views

### Archimedes' Scheme to find $\pi$

Given an Archimedes' scheme $$a_{n+1}=\frac{2a_nb_n}{a_n+b_n}$$ $$b_{n+1}=\sqrt{a_{n+1}b_n}$$ with initial values $a_0=2\sqrt{3},b_0=3.$ How do I prove using Mathematica that this converges to ...
255 views

### Can Mathematica solve functional equations with nested variable?

First, inline free form input can solve these equations: But it seems no native Mathematica function can solve these, there is even an error page for equations of this form (nestdv). Now my ...
132 views

### loops and data file

I have solved a set of equations for a specific given data point and restricted my solutions to 100. then I did TrimmedMean to have the mean value of all 100 ...
147 views

### NSolve or Solve or FindRoot

I need to solve this equation: A == M/(f d/2 (1 + Sqrt[1 - 3.53 (M/(b d^2 c))])) to find M, with: A = 0 to 19635 for intervals of 5 f = 500 d = 100 to 500 ...
28 views

### Question about # Symbol [duplicate]

I am trying to solve an equation and the solution includes # symbols. I read up on them but can't understand how they are related to my solution. I solved a simple trigonometric equation of third ...
1k views

### Getting an InterpolatingFunction from a ContourPlot

I have a function, say minimizeme[Ω_][β_][ϵ_] = ϵ^2 Ω - Log[2 (Cosh[2 β] + Cosh[2 β ϵ])]/(2 β); I want to find its critical points in $\epsilon$ for a given ...
70 views

### Finding roots of Bessel function $y=3J_1(x)+xJ_1'(x)$ is returning inaccurate roots. Not Kernel bug [closed]

I can't figure out why Mathematica is returning the incorrect roots. The first five should be 2.9496,5.84113,8.87273,11,9561, and 15.0624 according to my textbook. ...
66 views

### How to find intersection points of linear and semi-logarithmic plots

Hopefully the title depicts what I am trying to do. Below is a figure of my calculations that is shown in logarithmic scale in the x-axis. I am trying to find a way to find the intersection point at ...
63 views

### Solving a big number of non linear equations

I have three trapezoids. The first sharing its upper side (I will call b_{i+1} in the code) with the second, the third sharing its lower side with the upper side of the second. All shared sides are ...
34 views

### How to speed up Solve command in Mathematica 8.0?

I have two complicated mathematical functions $f(s)$ and $g(M)$ that are complicated functions of $s$ and $M$ respectively. I would like to solve the equation $f(s)=g(M)$ in order to plot $s$ vs. $M$. ...
64 views

### Using NSolve for Elliptic Equations over Fundamental Parallelogram in Complex Plane [closed]

I'm considering solving elliptic functions over a fundamental domain of the torus with half-periods $\omega_{1}=\pi/2$ and $\omega_{2} = \pi \tau /2$, where $\tau$ is the modular parameter of the ...
37 views

### Find a independent variable value from the numerical solutions of a system of differential equations

I have calculated the solutions for the following system of differential equations using NDSolve ...
54 views