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

learn more… | top users | synonyms (5)

1
vote
1answer
6 views

Double arrow in the outcome

Does anyone know how do I get rid of one of the double part at the start of the outcome rh-> rh-> ...
3
votes
1answer
165 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 ...
4
votes
1answer
68 views

How to equate coefficient of two polynomials? [on hold]

Given two polynomials, How can I equate coefficients of them in Mathematica? For instance a + b x + (c+d) x^2 + (e+f)x^3 == 0
-4
votes
0answers
42 views

How to solve this equation? Which command should be applied? [on hold]

I am trying to find T1 from attached equation, but it can not solved by "solve" in mathematica. how could i solve this equation?
9
votes
3answers
450 views

Using NSolve in the complex plane

I am trying to find numerical values for $\Im\ e^{\frac{1}{2} +i\ y} = \Im\ \zeta(\frac{1}{2} +i\ y)$ for a given range. I have tried: ...
0
votes
0answers
49 views

How to handle a special Neumann-like boundary condition in NDSolve?

How to solve the following nonlinear ODE with two algebraic equations and one boundary condition? ...
0
votes
0answers
53 views

Is this problem parametrically solvable or it can just be solved for specific $\sigma$ and $\theta$?

In order to solve This problem: What is the maximum value of coefficient fv with the constraint that the matrix is positive semi-definite?, I have used the following code (Determinant is computed by ...
0
votes
0answers
78 views

FindInstance—why doesn't it work with my expression?

I want to find arbitrary solution of a system of equations: ...
0
votes
1answer
45 views

Multiple stopping constraints in NDSolve

I need to numerically solve several differential equations, with several constraints, like this : ...
1
vote
1answer
156 views

Why does Mathematica not restrict the domains of Rational Expressions?

As taught in High School Mathematics: $$\begin{array}{ccl} \left\{ {(x-3)(x+3)\over 5(x+3)} : \ x\ne -3 \right\} & \ne & \left\{ {x-3\over 5} : \ x\in\mathbb{R} \right\} \\ \left\{ ...
0
votes
1answer
68 views

How to solve the following GR PDE?

Someone could help me for solving the following GR PDE? (this code do not work yet) ...
3
votes
0answers
63 views

Low accuracy while solving a multi-variable equation numerically

My question is as following: I was trying to make a function Vs2[r] with two parameters fit a set of conditions. Vs2[r]: ...
0
votes
1answer
48 views

Using Solve with Mod [on hold]

I'm new to Mathematica, and it seems like what I'm doing should be a simple operation, but I can't seem to get it to work, or return the right result. I'm assuming I'm doing something fundamentally ...
2
votes
1answer
64 views

How to get the analytical solution of this equation set

There is a equation set: {2 x^2 + 49 - 7 x - 2 x Sqrt[x^2 + 49 - 7 x] Cos[rad] == (7 - x)^2, 2 x^2 + 49 - 7 x - 2 x Sqrt[x^2 + 49 - 7 x] Cos[rad + Pi/3] == 49} ...
0
votes
1answer
62 views

what do those signs #1, #1^2, #1^3, & mean here? [duplicate]

I have read common pitfalls page and the documentation page but I still don't understand what do those signs mean here? ...
0
votes
1answer
45 views

How to represent one variable in terms of others in a system of equations? [closed]

I have an pretty complex equation set But when I clicked Ctrl+Enter (a.k.a Evaluate Cell), nothing happened. What should I do?
3
votes
1answer
52 views

Havin the problem with solving a nonlinear overdetermined system of equations

I am having a problem to solve a nonlinear overdetermined system of equations. According to one of the previous posts, I tried NMinimize, but it didn’t work. Shall ...
3
votes
0answers
125 views

Strange behaviour of NotElement in Reduce

I have observed curious behaviour on domains supplied to NotElement and Reduce and domain of an argument in calculation inside ...
0
votes
1answer
163 views

How can I solve a 3D heat transfer partial differential equation? [closed]

It's a problem about heat transfer. Here is the equation : Is it solvable using this software? Edit Sorry, I'm new to Mathematica. I have the following code for this problem ...
0
votes
1answer
43 views

Need Help with solve function [closed]

I'm trying to re-write this function x = e^(-(r+(1/2)*sigma^2)*t-(g)(sigma)*sqrt(t)), as an expression of "g" instead of "x" ...
0
votes
1answer
62 views

Computing quadrature points on triangle

According to http://math2.uncc.edu/~shaodeng/TEACHING/math5172/Lectures/Lect_15.PDF page 7, it is possible to compute coordinate of quadrature points by using the script ...
0
votes
0answers
19 views

Solving a simple ODE [duplicate]

I am trying to solve $y(x)' = \sqrt{y(x)}$ with initial condition $y(0)=0$ for $x\in \mathbb{R}$. I have tried this: DSolve[{y'[x] == Sqrt[y[x]], y[0] == 0}, y[x], x] but this gives {{y[x] -> ...
0
votes
0answers
50 views

Riemann Zeta function definition was expanded by Euler with an infinite product series [duplicate]

The Euler infinite product series definition for Riemann's zeta function requires that Mathematica use all prime numbers in the product series. Can anyone help me with the code that will give a ...
1
vote
0answers
77 views

Using functions in Solve [closed]

i wanted to calculate the real roots of a function. To my knowledge the function i defined has no real roots, so i expected an emptyset, but instead i got some Root[...#..] answers by Mathematica. ...
12
votes
1answer
380 views

Nonlinear FEM Solver for Navier-Stokes equations in 2D

it's me again. I'm trying to obtain a numerical solution to Navier-Stokes equations in 2D in a non-rectangular region. So far, this guide was very helpful, but he is using finite differences, which is ...
2
votes
1answer
85 views

How do I find the analytical roots of this polynomial? [closed]

I want to find the analytical roots of this polynomial - x - a^3*x*(a^2*x*(a*x*(x - 1) + 1)*(x - 1) + 1)*(a*x*(x - 1) + 1)*(x - 1) ...
0
votes
1answer
52 views

$4$-d system of second order PDEs

I have a $4$-dimensional nonlinear system of second order PDEs with periodic boundary conditions. Let $y(t,x)=(y_1(t,x),...,y_4(t,x))$ with $t \in \mathbb{R}$ and $x \in [0,1]$ then the system is ...
2
votes
1answer
92 views

Issue with NSolve for solving six equation and six unkown [closed]

I am trying to solve the following six equations and six unknown but It takes me one hour then the program stops. Would you please give some help. I am a beginner. $eqe1=0.000466667 \left(A_2 \cosh ...
6
votes
3answers
244 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) - ...
2
votes
1answer
56 views

How to plot linear term of a function expanded by Taylor seires in Mathematica?

I am quite new in Mathematica and I am trying to plot a linear term of a particular function in Mathematica. I have tried something like this: ...
0
votes
1answer
44 views

Simple grouping equations [closed]

I'm new in the Mathematica world. A very basic question. I have been using the command Eliminate on a set of equations as follow: ...
0
votes
1answer
71 views

How can I calculate the root of any order of power series

How can I calculate the root of any order of power series with Mathematica. Here I insert every quantity by hand. But I want to give a, ...
0
votes
0answers
31 views

Using Solve with NIntegrate [duplicate]

I have a function defined as a numerical integral of a parameter. When I try to solve for the parameter Mathematica complains that the integrand has evaluated to a non-numerical value (which makes ...
0
votes
1answer
55 views

Eliminate variable on multiple equations [closed]

I'm pretty new with Mathematica. I have to perform a really simple operation, but I'm really struggling with that. I have a set of 4 equations, for example (they can also be more complex): $ AA = 2 ...
0
votes
3answers
59 views

How to find the value of a variable using solution of Simultaneous equations? [closed]

I have to find the value of p where p=a1*x+b2*y; using the solution of the equation ...
0
votes
1answer
72 views

Computing the coefficients for Gaussian integral

I wrote a small script to find the Gaussian integral points and weights: ...
0
votes
0answers
73 views

Errro in plotting the results of FindRoot [on hold]

I would like to plot the results of FindRoot over certain range of one input. First of all I am sorry that the equation is a bit long and messy. I have tried to ...
0
votes
1answer
36 views

Transform system of equations while leaving solution set invariant?

Consider the example system of equations syst==res where syst={x + 2 y + 3 x y, 1 + 4 x + y}; res={0 , 0}; Solving for the ...
1
vote
0answers
43 views
0
votes
1answer
35 views

Simplify doesn't simplify multiple conditions from Reduce

Consider the following simple example where I try to solve an equation and then apply a bounded interval to find the right result out of an infinite amount of solutions: ...
2
votes
1answer
59 views

FindRoot of interpolating function from NDSolve

I am having issues finding the root of an interpolating function obtained from NDSolve. For example: ...
2
votes
2answers
337 views

NSolve for high degree univariate polynomials

I am trying to solve a high degree univariate polynomial using Mathematica's NSolve command. But when I plug the solutions generated by Mathematica back to the equations, the equations are massive ...
2
votes
3answers
207 views

Simultaneous equations—classify the solution set as finite, infinite, or none [duplicate]

How do I find the values of $b$ and $c$ for the equations $x + 5 y = 4$ and $2 x + by = c$ with a unique solution, an infinite set of solutions and no solutions with Mathematica?
0
votes
2answers
61 views

Graph plotted in W|A but not Mathematica

This Mathematica code gives me a blank graph but if I run it on W|A I get a result. Why? ...
4
votes
1answer
650 views

Tips for efficiently solving large system coupled (nonlinear) ODEs

I'm trying to solve a system of nonlinear, coupled ODEs, where the governing equation for the $n$-th ODE is of the form: $$\sum_k^M Q_{nk} \ddot{a}_k -\sum_{\ell}^M\sum_k^M S_n(\ell,k) ...
1
vote
1answer
48 views

Solving a simple trigonometric equation in a range

I would like to solve a simple trigonometric equation, for example $\sin\theta=\frac{1}{2},$ but Solve gives the single solution obtained by using the inverse ...
12
votes
3answers
362 views

Is there any predictor-corrector method in Mathematica for solving nonlinear system of algebraic equations?

The FindRoot Function in Matheatica can easily be used to solve systems of nonlinear algebraic equations. But, I want to solve a system of nonlinear equations with variations of some parameters. ...
1
vote
1answer
64 views

How do I plot this (x^3 - 2*x)^Ln[x]? [closed]

y=(x^3 - 2*x)^Ln[x] I'm totally clueless. I tried with y=e^(Ln[x] Ln[-2 x + x^3]) by Ln-ing on both sides but there is ...