Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions on the analytic and numerical equation solving functions of Mathematica (Solve, Reduce, NSolve, FindRoot, DSolve, RSolve, etc.).
3
votes
"Reduce" an expression in terms of a sub-expression
b m - a m - p n (p (b - a) + p b - p b m - p a + p a m) == 5 b
FullSimplify@Solve[% /. a -> b - x, x][[1]] /. Rule -> Equal /. x -> b - a
{-a + b == (5 b)/(m + (-2 + m) n p^2)}
43
votes
Does Mathematica have a built-in tool that allows one to operate on both sides of an equation?
Working off of m_goldberg's idea, we can make it look a little nicer by using $Pre and $PrePrint to make equations behave as lists but still display as equations:
CASViewOn[] := (
$Pre = If[Head[#] …
5
votes
Find all roots of an interpolating function (solution to a differential equation)
You can extract values for the roots directly from the the Plot by using the MeshFunctions option.
f = x /. First@NDSolve[
{1.09 x''[t] - 0.05 x'[t] + 1.1759 Sin[x[t]] == 0, x[0] == Pi/3, x'[0] == …
30
votes
1
answer
386
views
Solve slower in versions 9 and 10
With some systems of equations, Solve is much slower in versions 9 and 10 than in earlier versions, apparently because it is doing more simplification of the results.
With the following example linea …
3
votes
Finding the conditions for degenerate solutions to a cubic equation
Starting with bbgodfrey's excellent suggestion to solve ab == ac == bc == 0, we can obtain a fairly compact list of all of the solutions. If we Reduce the equations with conditions on the variables we …