For questions specific to version 8.x.x of Wolfram Mathematica, or not applicable to versions 7 or earlier. Dedicated Mathematica Stack Exchange site: https://mathematica.stackexchange.com/
Questions tagged [mathematica-8]
199 questions
0
votes
1 answer
Plotting multiple gridlines and give seperate labels in Mathematica
I am trying to make the following plot:
Pars = {ep -> 0.5, f1p -> 0.3, f2p -> 0.1, dp -> 0.05, q -> 0.1,
en -> 0.4, d -> 0.1, Q -> 0.1, f2n -> 0.3, f1n -> 0.4, a -> 0.05,
N1 -> 0.5, N2 -> 0.5}; #Parameters
PlotREq1 =
Plot[R = S /. Pars,…

Rspacer
- 2,369
- 1
- 14
- 40
0
votes
1 answer
Calculation issue for LaguerreL in Maple Leaf
I am trying to calculate LaguerreL(n, a x) in Maple but a problem is occurring.
It works for decimals and nor fractions, I think.
Meaning, it works for LaguerreL(m,n,0.5) and not for LaguerreL(m,n, 1/2).
Should not it work for both?
Does not…

Khyati Malhan
- 1
- 1
0
votes
1 answer
Solving a nonlinear system of matrices using Mathematica
I am trying to find solutions to nonlinear systems of matrix equations with Mathematica. The solution space is too complicated to try to use Solve, and thus I have tried to use FindInstance. Here is this simplest example of a nonlinear system that I…

Hunter Vallejos
- 131
- 1
- 5
0
votes
0 answers
ErrorListPlot shows only errorbars but not the data points.
I have been using the command ErrorListPlot in almost all of my mathematica scripts. However, recently I have seen that after execution of my mathematica script, the function ErrorListPlot shows red colored (while all executed functions are black…

PythonNoob
- 139
- 2
- 7
0
votes
1 answer
Manipulate an image mathematica
I'm having trouble making an image move left to right in mathematica.
I have the manipulate for a point,
(*Rook Movement*)
Manipulate[
Graphics[Translate[Point[{0, 0}], {t, t2}], Axes -> True,
PlotRange -> {{0, 8}, {0, 8}}], {t, 0, 8}, {t2,…

NeilnGauss
- 13
- 3
0
votes
2 answers
How to get a list of elements from the lower triangular matrix
I am new to Mathematica.
I have a lower triangular matrix defined as follow
A = Table[If[i > j, Subscript[a, i, j], 0], {i, s}, {j, s}];
I would like to the lower triangular elements in a list. For example, when s = 2, the list would contain…

kirikoumath
- 723
- 9
- 20
0
votes
1 answer
How to know 4 nodes (in one line) have same directions (or not)
If I have 4 nodes on a line, for example:
Main line is formed by nodes A(0,0) and B(5,0)
and there is a line on this main line which is formed by C(2,0) and D(4,0)
It is clear that vector AB has the same direction with vector CD, or in other…

bestrong
- 151
- 10
0
votes
0 answers
Multiple Regression Analysis in SPSS
Currently we are working on a research paper in which we have conducted psychological experiment to get data-set. After that we have applied Multiple regression to find the relation among dependent variable and independent variables. our model was…

Khan
- 1
- 2
0
votes
1 answer
Plotting a infinite potential well (double well)
I've been trying to plot a double well potential graph with a piecewise potential function that has 3 regions, my code however is not properly plotting what I am looking for.
This is what I got so far:
As you can see the plot start in the middle…

user665997
- 313
- 1
- 4
- 18
0
votes
1 answer
Mathematica Maximization, Won't maximize a * 0.3
I'm Having a problem maximizing this function in mathematica:
Maximize[a + 0.3 * b, 0 < b < 10, a]
I just get the above back again as output when I run the code, Not helpfull
However when I maximize the equivalent function:
Maximize[a + (3/10) * b,…

James Peach
- 49
- 8
0
votes
1 answer
Define a region in using MaxValue[] function in Mathematica
The following two gives completely different output from Mathematica.
The online document does not seem to require a pair of curly braces.
https://reference.wolfram.com/language/ref/MaxValue.html
Tau = 10;
Diff = 1/3;
phi[tau_] := 0.5 Sin[Pi…

user2008151314
- 680
- 6
- 10
0
votes
1 answer
How to draw a 2d projection (circle) of a 3D object (sphere) in Mathematica?
SphericalPlot3D[
Cos[[Theta]], {[Theta], 0, [Pi]}, {[Phi], 0, 2 [Pi]}]
This gives me a sphere. But what should I do in order to get a projection of it along any of the plane, let say a-b plane? It should look like a circle. Any idea would be…

Tanmoy Chakraborty
- 45
- 3
- 9
0
votes
0 answers
How to make a jump difussion graphic
I have to plot the next jump diffusion model using Mathematica or a similar tool:
namely, a Geometric Brownian motion with compound Poisson jumps.
I can use any program for it.
Note:
I have found the next similar code but it does not work when I…

Edin_91
- 1
0
votes
1 answer
Calculating area of a function using Riemann's Sum
f[x_] := 2/(2x+2)
Limit[
Sum[
deltaX = 1/n;
xk = 0 + k * deltaX;
f[xk]*deltaX,
{k, 1, n}
],
n-> \[Infinity]
]
I have the following code however, It doesn't work. The error:
$RecursionLimit::reclim:…

kjanko
- 552
- 1
- 5
- 24
0
votes
1 answer
Solving a system of 36 equations and 24 variables in Mathematica
I want to solve the following system of equations, but when I use Solve or NRoots my machine seems does not response. Are there any ideas to help? Can you run the code on your machine and give me the result.
Solve[{a122 * a223 + a123*a323 +…

Reema
- 15
- 3