Linked Questions

2
votes
1answer
176 views

How to use output from previous line in Plot? [duplicate]

Suppose, I want to solve a equation and want to obtain it's first root. In this case I've used In[1]=:Solve[b^2 + b*z + 1 == 0, b][[1]] This gives ...
4
votes
1answer
133 views

Check if an inequality holds among the solutions returned by Solve [duplicate]

Let's say I solve a system: Solve[{a == 3* c, b == 2 *a}, {a, b}] and then want to see if the values found for a and ...
1
vote
1answer
306 views

How to extract Solve results as variables [duplicate]

Possible Duplicate: Assign the results from a Solve to variable(s) In the following example: ...
0
votes
2answers
89 views

How to get a number from Solve [duplicate]

It's often useful to get just one number from Solve. I use the following construction for acquiring one solution from the expression returned by ...
0
votes
1answer
162 views

Assign the result of Solve in a list [duplicate]

Possible Duplicate: Assign the results from a Solve to variable(s) I want to assign the results of a Solve command in a list. For example Solve[-((287 s^3)/50) == 0, s] returns {{s -> 0}, ...
0
votes
0answers
125 views

The /. syntax in numerical methods [duplicate]

I have an analytical approximation method for solving an ODE and want to compare this to an NDSolve solution, but the syntax is confusing me. To get the solution from NDSolve, I define the ODE as eqn ...
0
votes
1answer
84 views

How to convert the expression '{a->a0, b->b0}' to the expression 'a=a0; b=b0'? [duplicate]

How to convert the expression '{a->a0, b->b0}' to the expression 'a=a0; b=b0'? I think this is a common question and do not know if someone has asked it before. Any help or suggestion will be ...
0
votes
0answers
95 views

Assigning the answer of Solve to a variable [duplicate]

If I enter Solve[(x-2)(x+2)==0,x] then the answer comes up as {{x -> 2}, {x -> -2}} I want to make two variables ...
0
votes
1answer
41 views

Error when solving equations constructed with Table [duplicate]

I have a couple of questions about the problem I am trying to solve ...
0
votes
1answer
36 views

Storing solution to x and y [duplicate]

If I do sol=Solve[{2x+2==y,3x+9==y},{x,y}] then Mathematica will tell me {{x -> -7, y -> -12}} But I would like to ...
0
votes
0answers
43 views

Store results of inequality [duplicate]

I eveluated some values using Reduce commend and I store them in a Table ...
157
votes
19answers
14k views

What are the most common pitfalls awaiting new users?

As you may already know, Mathematica is a wonderful piece of software. However, it has a few characteristics that tend to confuse new (and sometimes not-so-new) users. That can be clearly seen from ...
34
votes
9answers
1k views

Injecting a sequence of expressions into a held expression

Consider the following toy example: Hold[{1, 2, x}] /. x -> Sequence[3, 4] It will give Hold[{1, 2, Sequence[3, 4]}] ...
6
votes
3answers
628 views

Arithmetic operation on the value returned by Solve

I want to modify the value that is returned by Solve. Example: SolC1 = Solve[Sin[ π x / L] == 1, x] {{x -> L/2}} I need to add n to x so that x becomes ...
2
votes
1answer
508 views

FindRoot Infinite expression 1/0 encountered error

I have 1 equation in 1 variable, which when I use Plot, looks like this: ...

15 30 50 per page