Skip to main content
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
Results tagged with
Search options not deleted user 18811

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

2 votes
2 answers
2k views

Solve an equation with specific domain?

How can I write a code in Mathematica to solve an equation with variable in specific domains? For instance, I want to write a code for Solve[{2 x + 1 == y && x > 0 && y > 0}, {x, y}, Integers] // Col …
asad's user avatar
  • 848
0 votes
1 answer
183 views

Solve an equation with two specific domains?

In Solve an equation with specific domain? I asked how to write a code in Mathematica with one specific domain for one of its variables. Now I have a questions: If two of the variables are from spe …
asad's user avatar
  • 848
1 vote
2 answers
583 views

determine the coefficients of a quadratic equation with "Solve"

Assume we want to determine the coefficients (integer) of a quadratic equation by having some information about the input and output values. If I enter the input and output individually before the com …
asad's user avatar
  • 848
0 votes
1 answer
91 views

Produce result faster than "Table[If[...]]"

I would like to generate a list of output satisfying some condition for instance an equation but faster than the following code: t=4;p=20; Union[Flatten[Table[If[t<=(4a b d-1)c/(a+b)<=t+1,{(4a b d-1) …
asad's user avatar
  • 848
0 votes
1 answer
70 views

remove one of the column in the output of Solve command

I would like to remove one variable in the output of the "Solve" command without changing the rest. For instance, in the following code p = 6; A = Solve[{p == x + y + z + t && x > 0 && y >= x && z >= …
asad's user avatar
  • 848