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

learn more… | top users | synonyms (4)

0
votes
1answer
2k views

How can I get the solution of complicated implicit function?

The question is what is the method to solve the implicit function has real and imaginary number. For example, The function is $$F(x,y)=(-I*x + 2*y^2)^2 + x^2 - 4*y^4*Sqrt[1 - I*x/(y^2)]$$ Although ...
0
votes
1answer
236 views

Reap and Sow From NDSolve solution

I want to get the answer of my NDSolve in the form of table (the value of each x and y). ...
0
votes
1answer
305 views

Solve telling me all my solutions are zero

I'm trying to use Mathematica to solve a complicated system of equations. Here is a screenshot of the equations, and what Mathematica outputs. The variables $v_i$ and $w_i$ act as constants in ...
0
votes
1answer
75 views

Non Linear Equation Solving with Matrices

Suppose I have the following matrix equalities: A=X, B=Y where the left-hand side matrices are numeric and the right hand side contains non-linear combinations of unknowns. Since I have quite a few ...
0
votes
1answer
47 views
0
votes
1answer
83 views

How can I resolve the insufficient memory to complete the computation problem for solving function with iterated variables?

I am trying to solve for a value x in a function where the variables varies with iterations of K. Also, there is one variable called "rvsum" which is updated with a certain formula as well. I have ...
0
votes
1answer
158 views

Finding real roots for an eigth-degree polynomial

The context for this problem is identical to my first question. Unfortunately my previous result for $L$ was inexact since it was a relatively simple approximation. This time I have managed to produce ...
0
votes
2answers
108 views

Solving an Equation (Recursively)

I have the following Values: $a[0]=1;a[1]=0;a[2]=0;a[3]=0;a[4]=\frac{g_2}{20};a[5]=0$. I need to compute the value of $b[n]$ in the following equation $$a[n]=\sum _{m=0}^{n} (m-2) \;\;a[m] ...
0
votes
1answer
79 views

A problem with “RiccatiSolve::ncsol: Cannot compute a stabilizing solution to the matrix equation ”

I have a SSM ( State Space Model ) and I want to calculate its optimum gains unisng LQOutputRegulatorGains[] command. When I run the code, it solves the equations ...
0
votes
2answers
170 views

Solving a system of equations using matrix form

Please bear with me as I am a beginner at Mathematica. In the following system, all variables on the right hand side are known, except for w1, ...
0
votes
2answers
47 views

how to define roots of an equation as a function? [closed]

I need to solve an equation depending on 3variables in only one variables and define the roots as a function of the remaining variables? I used some thing like that: ...
0
votes
1answer
163 views

Nonlinear system of equations

I have been working to find an equilibrium solution for a Hamiltonian dynamical system. I have reduced the problem to the simultaneous solution of 3 equations: ...
0
votes
1answer
40 views

NSolve stalls when given an equation containing Log

Why does NSolve not work for this type of equation? ...
0
votes
1answer
97 views

Solving a system of equations where two variables can only be one of several discrete values

I want to solve a three-equation system, but I need to constrain two of the variables so that they can only take one of several discrete values that I would specify (this is a circuit design problem ...
0
votes
2answers
158 views

Eliminate variables by dividing two equations

how is it possible to divide two equations with Mathematica? I have the following code: ...
0
votes
1answer
71 views

Solving polynomial equations takes infinit time

I need to solve an polynimial equation, but when i try to use Solve or NSolve in mathematica, its cant find the solution in appropriate time (i interrupted calculation after 5 hour left). The ...
0
votes
1answer
187 views

How to enter and solve this equation in finite fields?

Is there a way in Mathematica 9 to enter and solve the following equation $p(x) = r^x$ where $p(x)$ is a polynomial whose coefficients are drawn from a finite field, and $r$ is a primitive root of ...
0
votes
1answer
69 views

LMS distance from a point to an InterpolatingFunction

I have a short script to NDSolve a second-order nonlinear BVP, which as its output produces an InterpolatingFunction object. I ...
0
votes
3answers
364 views

How can I solve my system of two simultaneous equations?

How to solve the system {b - a*Sqrt[a^2 + b^2 + 1] - a^2*(a*b - Sqrt[a^2 + b^2 + 1]) == 0, a - b*Sqrt[a^2 + b^2 + 1] - b^2*(a*b - Sqrt[a^2 + b^2 + 1]) == 0} ...
0
votes
2answers
188 views

Solving Within InverseCDF

I have the following input data: Remove["Global`*"] x = 5/30 // N; y = 0.8; μ = 0.2; T = 5; ρ = 0.8; σ (*to be determined*) And this is the given equation: ...
0
votes
2answers
226 views

Reduce on equations involving integrals

Here's part of problem from a college physics text: A time-dependent force F = (8.00 i - 4.00 t j) N (where t is in seconds) is applied to a 2.00-kg object initially at rest. (a) At what time ...
0
votes
1answer
799 views

Solving derivative of cumulative normal distribution log likelihood

I am a newbie and I'm trying to use Mathematica to obtain the symbolic Maximum Likelihood Estimation for a cumulative normal distribution. So far I have reached the step where I have the derivative of ...
0
votes
1answer
174 views

Solving a differential equation for a variable in a function

This may sound like a very trivial question, but I need to solve a differential equation as follows: ...
0
votes
2answers
140 views

How to get special solutions of this system of equations?

I only want to get all the solutions of this system of the solutions with a value of $k$, we have the same values ​​of $m$ ...
0
votes
1answer
307 views

I can't get Compile to work

I've got some problems with my code, and I try to make it faster. Some of you suggested me to split my problem, and I'm here... I post the same function with and without Compile. This is a support ...
0
votes
1answer
221 views

Solve not satisfying simple boundary conditions

I am trying to solve the following equations for the coefficients c1 and c2. ...
0
votes
1answer
143 views

Industrial Level Applications. Recipe for mixed notation of equations set

I am working with large (linear) equations set within Mathematica in numerical notation. For example, set from 4056 eq. is solved for a second, no more. There is no doubt, result is great. But even ...
0
votes
1answer
128 views

Numerical rule evaluation -> {True, False} to deviation of target equation

I solve some equations numerically with FindRoot[] returning a quadruple {1,2,3,4}. Because the solver sometimes do not find any roots depending on parameterization of these equations I select only ...
0
votes
1answer
74 views

Solving A Series of Equations

I want to find the solutions of a series of equations as I stated in this question before. I understood how to solve the equations by maximizing the value of a variable but now I want to find the ...
0
votes
1answer
69 views

Mathematica answers `Solve[Integrate[f, x] == x^4, f]` wrong [closed]

The input Solve[Integrate[f, x] == x^4, f] ouputs {{f -> x^3}} Why?
0
votes
2answers
62 views

NSolve gives {{ x -> #}}, How do I make x = #; I need to use the x value again later

I want to use: demand = {1.92, 2.07, 2.37, 2.72, 2.87}*10^6; NSolve[SetV == demand[[1]]/(Cpf (1 - χ)), χ] I want to make a vector of solutions ...
0
votes
2answers
114 views

Systems of equations

As I stated in this question I am trying to find the roots of a set of equations. I followed the instructions that the answer gave me and Mathematica gave me the solutions. 1- However whenever I try ...
0
votes
1answer
40 views

How to find the Nth zero of a function

It's an almost same question with "a multiple roots finding" but, the order of roots is important in my case. Basically, I'm trying to find Nth crossing point of the following graph: ...
0
votes
1answer
65 views

Plotting and Analysing derivatives of solution of differential equation [closed]

Using NDSolve I found the solution for the differential equation that governs the dynamics of a simple pendulum. How do I plot the derivatives of the solution? Also, I would like to find the ...
0
votes
3answers
99 views

How to manipulate with external data?

I have a .txt file which contains a lot of triples (a, b, c) (one per row) which should be coefficients of my equation ax^2+bx+c=0. I want to include each triple in .nb file and solve each equation. ...
0
votes
2answers
164 views

Find Root Iteration

I have an iterative sum from $k=0$ to $k=n$ where the resulting sum is a polynomial of degree $n$. I want to find the numerical root of this polynomial using FindRoot, starting from $x_0$ where the ...
0
votes
1answer
52 views

How to find the value of a solution of an ODE at a particular point [closed]

I'm trying to find the value of $z(y)$ at a particular time, say $y=0.5$. I've solved the differential equation. I tried using z3 = z[3] /. sol, but it's not ...
0
votes
1answer
142 views

Can mathematica rearrange an equation and solve/plot it? [closed]

Suppose we have this equation: $$ sin(x+y+z) = x^2y - wz$$ I want mathematica to plot contours of $x$ with axes of $y$ against $z$ in the limit $w \rightarrow 1$, tried this code but didn't work. ...
0
votes
1answer
116 views

Problems with Solve

I am having a problem similar to the previous question here. Solve either takes forever (I assume infinity) to run or returns an error. I have tried various combinations of using Round, Chop, N and ...
0
votes
2answers
68 views

Solving a system with three equations and two variables [closed]

I am trying to solve some equations with two variables. This is the last step in the process of determining a x tilt angle of a molecule, as well its depolarization ...
0
votes
1answer
58 views

Using NDSolve with coupled ODE [closed]

I am trying to solve a simple coupled ODE in Mathematica but an error keeps on popping. I am very new to Mathematica. ...
0
votes
1answer
119 views

Solving a system of equations with variable coefficients

I am trying to solve a system of equation which seems to be simple but much as I tried I couldn't solve it in Mathematica and it says the coefficients need to be exact. Now, I was wondering if someone ...
0
votes
2answers
102 views

Symmetric function of the roots of a polynomial

First, I'm a beginner. I can compute the sum of roots with the follwing: Roots[x^7 + 5 x^6 + x^5 + x + 1 == 0, x] Plus @@ (x /. {ToRules[%]}) // Simplify Of ...
0
votes
1answer
60 views

Dsolve is not solving equation ( 3 system with 2.order diferantial equations) [closed]

I added an image of my equations at the bottom. I dont understand why it is not solving. This is 3 systems with 2.order diferantial equations. I also put my initial conditions. But it is not solving. ...
0
votes
1answer
101 views

Equation in implicit form

This is simple example: v = {1.48622576, 1.53444276, 1.42299438} v/(v + 1) Out[1]:= {0.597784, 0.605436, 0.587288} In the above case expression v/(v + 1) is ...
0
votes
1answer
107 views

Mathematica Compute Time Is Extremely Long (Integrate simple function with parameter scan)

I was wondering if you can help. I have a set of equations I need to solve for a list of parameters; entering each parameter value and solving anew each time is simply not economical. I found a way ...
0
votes
1answer
132 views

Why mathematica have difficulty solving nonlinear equations? [closed]

I tried to solve this equation via Mathematica: ...
0
votes
1answer
134 views

Solving a system of two equations of third degree

I am trying to solve the following system of two equations for x and y. The solutions for x and y have to be positive and the parameters s and c are positive (to have a coherent interpretation of my ...
0
votes
2answers
102 views

Solving for any one variable in a formula given values for all the others [closed]

Consider the formula for the area of a rectangle. I can write the formula as area[length_, width_] := length*width and plug in numbers for the dimensions and get ...