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
How to determine Series Bessel function and its derivative for a complex argument in mathematica?
The argument of the spherical bessel function is a product of a complex number and a real number,i.e.,'p'. I want to find Psi(p)=p*Series[SphericalBesselJ[1.5,p],{p,0,5}].
Please follow the following program:
Subscript[ω, L] = 2*π*570;
Subscript[ω,…

user3914003
- 1
- 1
- 2
0
votes
1 answer
How to use NMaximize/NMinimize with a function and a list of variables
I have created this function which calculate the figure of merit of data acquired. The Loading variable is feed with some random numbers for the forum. In real life, I have real data.
DD = 20; Days = 3; Peak = 1;
Loading =…

toutsec
- 55
- 7
0
votes
0 answers
Find defined variables and use them in Dynamic PopupMenu in mathematica
I'm working with Mathematica,
I begin by importing the data from some CSV files, and I store them under some variable names.
For the moment let's assume we use:
sample1 = Sort[RandomReal[{0, 10}, {10, 2}]];
sample2 = Sort[RandomReal[{0, 10}, {10,…

edwincool2
- 13
- 2
0
votes
2 answers
How to save output from mathematica file into some other format and then using it later?
I have a large program in mathematica, and generate many outputs. However, I don't want those outputs to be visible in my program and I want to save the outputs in text or any other format.
Moreover I also want to call any of the outputs and perform…

zenith
- 117
- 6
0
votes
0 answers
Mathematica solving complex equation
If I have a complex equation in the form of
Solve[z^2 + 9 - 1.5 E^[-tz]==0, z]
where z = x + I y
where x , y and t are all assumed to be real.
How do I tell Mathematica 9 to separate the real and imaginary parts to make
two equations in…

Zbigniew
- 101
- 5
0
votes
1 answer
Why won't this Mathematica code maximize?
f[n_] := ((A*n^a)^(1/s) +
c*(B*(a*c*(B/A)^(1/s)*n^(1 - (a/s)))^(-(a*s)/(a - s)))^(1/s))^s +
b*log (1 - n - ((a*c*(B/A)^(1/s)*n^(1 - (a/s)))^(-(a*s)/(a - s))))
d/dn (f (n))
d/dn (f[n])
D[f[n], n]
solve…

Jake_Mill22
- 39
- 1
- 7
0
votes
1 answer
Why is this Mathematica function definition returning an error?
I am trying to put in a rather large function into mathematica:
(https://i.stack.imgur.com/pXLsT.png)
I want to get it in so I can compute the global maxima, but I keep getting an error when I try and define the function. Does anyone know why this…

Jake_Mill22
- 39
- 1
- 7
0
votes
2 answers
Creating symbolic matrix in MATLAB or Mathematica
Is it possible to define an m by m matrix (m is a symbolic integer) with say m/(m+1) as its diagonal elements and -1/m as its off-diagonal elements in MATLAB or Mathematica?
Let me give more explanations: Suppose you are asked to find the inverse…

user41838
- 119
- 1
0
votes
0 answers
a width of interval on each step of iteration
Tell me please , is in Mathematica a standard function which can find a width of interval?
I have to find it for each iteration.
(*Newton's method*)
step[f_, iter_, inter_] :=
Module[{x = Mean@First@(List @@ inter)//N},
Print["Iteration…

Julia
- 674
- 1
- 6
- 18
0
votes
1 answer
procedure with iterations of the first step Newton's method in Moore's form
I have to write the procedure with iterations of the first step Newton's method in Moore's form in Mathematica8, exactly on this example:
GIVEN:
f[x_]:=x*x-8*x+7; inter={5, 9}; eps = 10^(-6);
TO CALCULATE:
x0 := Mean[{5, 9}];
f[x0] ;
…

Julia
- 674
- 1
- 6
- 18
0
votes
1 answer
(Un)Limit CPU usage - Windows - Mathematica
I'm programming in Mathematica 8.
When I run my programme, I check with Win8 task manager that the CPU usage is at 35% as soon as it starts to run, and my memory usage also increases to 44%. Does Win8 limit the amount of CPU usage that a certain…

An old man in the sea.
- 1,169
- 1
- 13
- 30
0
votes
1 answer
Mathematica plot vector field from data file
I am trying to plot a vector field from data file. I can put the data into file in any way, but for now data file contains information in this form:
x y Fx Fy
where Fx and Fy are x and y components of a vector.
Any ideas how to plot it?

Winten
- 574
- 2
- 8
- 15
0
votes
1 answer
How can I get the plot label from the name of the plotted list?
I have a list of data called DataList. I can plot the data using ListPlot and name that plot after the input list like this:
ListPlot[DataList, PlotLabel -> ToString[HoldForm[DataList]]]
This works and I get the plot just like I want to. But I…

Stian
- 3
- 1
0
votes
2 answers
Writing Mathematica code in Matlab
Could anyone please tell me how to do this? I am new to Matlab as well as Mathematica. I have my mathematica coding. But, it gives different results when I run it different time. So, I want to run it in Matlab and verify my result. Please help me…

TMH
- 134
- 1
- 8
0
votes
1 answer
Unable to manipulate 2d Plot
I'm given the instruction:
Create a dynamic 2-D plot of:
e^(-a x) where 0<=x<=1 With a continuous slider for a where
0<=a<=10
So I enter:
Manipulate[
Plot[e^(-ax), {x,0,1}],
{a,0,10}
]
but the result is an empty graph.…

kezia
- 59
- 9