All Questions

4
votes
3answers
349 views

Camel hump string split

Given System names of 2 or more characters: systemNames = Names["System`*"] // Select[StringLength[#] > 1 &] ; Is ...
1
vote
1answer
46 views

What extrapolation method does Interpolation use by default? [on hold]

As far as I can tell, Interpolation uses cubic spline interpolation by default - please correct me if I'm wrong. What does it use for extrapolation outside of the ...
1
vote
1answer
60 views

How to embed a filled Region in a Graphics?

Let for example: regn = RegionDifference[Rectangle[{-2, -2}, {2, 2}], Disk[{0, 0}, 1]]; The only documented way I found to draw a gereric region ...
0
votes
1answer
24 views

Defining an array using this specific rule [on hold]

To a pair of natural numbers $(m,n)$ I would like to associate the $6(m-n+1)\times 2$ array whose rows consist in all pairs $\{x,y\}$ of natural numbers where $m\leq x \leq n$ and $y\in[\lceil x/5 ...
8
votes
0answers
69 views

Is plot polluting my context?

Whenever I plot something 3 temporary variables get added to my current context. Example (fresh Kernel): Plot[x, {x, -1, 1}]; Names["Global`*"] Output: ...
3
votes
5answers
98 views

Symbolic versus numeric sum (is there an inconsistency?)

Something seems to have gone awry with the analytic sum (v9.0.1). Here I insert specific values: ...
2
votes
3answers
74 views
1
vote
1answer
55 views

Non-linear system of equations with a parameter

I want to solve k*x-(x-y)*y^2==0 and y+(x-y)*y^2-(1-x-y)==0 for -10 < k <10 How ...
0
votes
0answers
64 views

Having difficulty with NDSolve [on hold]

I've entered: NDSolve[{y'[x] == z[x], z'[x] == -y[x], y[0] == 0, z[0] == 1}, {y, z}, {x, 0, Pi}] The code above was copied and pasted from the Mathematic help ...
4
votes
0answers
203 views

What is the algorithm behind Mathematicas Reduce in this equation?

Mathematica can use Reduce to arrive at an answer in this equation ...
0
votes
0answers
22 views

Trouble while opening the notebook [on hold]

http://www.physics.umd.edu/courses/CourseWare/EssentialMathematica/Primary%20topics/plotting.nb I have downloaded this notebook and opened it in my wolfram 9 ,but the problem is I am very new at ...
4
votes
2answers
102 views

How to plot a function that is not defined after certain point

I'm plotting a function that I get after numerically integrating over another function. Something like: f[x_,y_]:=NIntegrate[g[x,y,z],{z,0,1}] I know that above ...
0
votes
2answers
54 views

Handling msg for fitting

I have a trivial question: I do Monte Carlo with some curve fitting. Now always when a random run creates a complex fitting solution it should write 1 in a Matrix. How can I handle such msgs in a ...
1
vote
3answers
105 views

Applying Reduce[] to a table [duplicate]

I have a table for example: t = Table[k,{k,5}] which returns {1,2,3,4,5} and for every element in this table I want to check when it is $\leq 1 + a$. I ...
10
votes
1answer
178 views

Automatically execute command after save

I want to run some code automatically after saving my notebook. Is there a $ variable or setting for this?
0
votes
1answer
92 views

AstronomicalData not including units?

I like using mathematica to do my physics homework, and AstronomicalData is useful for that, but it doesn't seem to work properly with units. [the question is, at ...
1
vote
1answer
138 views

Combining solar system planets orbits and positions in Graphics3D and Show

I am building an animated model of the solar system, where I would like to display the OrbitPaths of the planets along with their ...
10
votes
2answers
314 views

How to get the distance of Jupiter from the sun?

I am aware of the command AstronomicalData["Jupiter", "Distance"] from which I can get the distance between the earth and Jupiter. Is there any way to use ...
1
vote
1answer
35 views

UnitConvert to Electronvolts converts to Electronvolts/Moles

The question probably is clear from the title. When I want to convert a kinetic energy, that contains the Molar Gas-Constant into Electronvolts I get eV/mol. ...
1
vote
1answer
100 views

Why does LyapunovSolve solve non-standard form?

LyapunovSolve[A,Q] solves the equation $A P + P A^T = Q$ for $P$ whereas the standard form (wikipedia,lecture notes, p.25, linear control systems) of the Lyapunov ...
0
votes
1answer
53 views

How to obtain Padé approximant of $\log(x)$? [on hold]

Having read this answer on Math.SE, I wanted to try seeing how Padé approximations converge to $\log(x)$. But my first attempt after reading the documentation failed: ...
4
votes
2answers
138 views

Ploting transition dipole moments in a 3D structure

I want to plot the transition dipole moment vectors on their respective position. For example one transition dipole moment have a position vector like R now at this ...
4
votes
1answer
83 views

Mystifying failure of NonlinearModelFit

Fitting the following two time-series (two repeats of the same exponential growth process) ...
0
votes
0answers
42 views

Product of Logarithme in Mathematica [on hold]

Hi I am trying to find a good estimation of Product[Log (k), {k, 1, n}] in terms of $log(n)$. So I wrote ...
5
votes
2answers
255 views
2
votes
3answers
155 views

Splitting a list of lists (part2)

This is a follow up from Splitting a list of lists . What would be a nice way to split the list l1 = {1,2,{a,b,c},3,{d,e}} into ...
0
votes
1answer
58 views

Duplicate values n-times [on hold]

I already asked how I can take the list {1,2,3} and get {1,1,1,2,2,2,3,3,3} out of it, adding degeneracy to the problem. So far ...
0
votes
1answer
33 views

Fit inside a module [on hold]

I have here a MMA NB which works fine outside the MODULE. BUt in the module routine there comes up an warning that the solution is not real. Can anyone here help please? ...
4
votes
2answers
352 views

Finding minimal distance between two surfaces

This code will display two parametric surfaces: ...
3
votes
1answer
92 views

Is is possible add a stylesheet into the menu?

I always use the PastelColor stylesheet in Mathematica 8, since I think it is comfortable to my eyes. But it can be no longer found in the Menu in Mathematica 10, ...
1
vote
2answers
55 views

Set Options on a system function has effect on all notebooks

I have a Notebook A with default context: "Unique to this Notebook". In there I set an option: SetOptions[Interpolation, InterpolationOrder -> 1] This has ...
3
votes
1answer
79 views

Solving simultaneous systems of linear equations

I have several systems of linear equations in matrix form, and I would like to find the $\vec{x}$ that simultaneously solves them: $$A_1\vec{x} = b_1$$ $$\vdots$$ $$A_n\vec{x} = b_n$$ Is there a ...
4
votes
0answers
70 views

Implement a piecewise function elegantly and efficiently

Given that $$ g(x)= \begin{cases} max(x_{min},x-m) & 0.5x \leq max(x_{min},x-m) \\ 0.5x & max(x_{min},x-m)<0.5x<min(1,x+m) \\ min(1,x+m) & min(1,x+m)\leq 0.5x \end{cases}$$ ...
0
votes
3answers
321 views

Solving an Integral Numerically

I have been trying to solve the integral equation below, but cant seem to find a way out of this. Can someone please help me out with suggestion? $f(t)=\int_0^{\infty}\frac{K_1a(t)}{a(t)+K_2}\,dt$ ...
3
votes
1answer
63 views

Gridbox alignment problem

I write my own stylesheet. I use GridBox and GridBoxOption to edit the environment of EquationNumbered, in which, I set ...
14
votes
1answer
910 views

Animation of double pendulum

Sadly, I am a completely newbie. I am studying Physics and in our theoretical physics class we got the task to solve the double pendulum using Mathematica. We just got the program, but no introduction ...
3
votes
1answer
215 views

Bad fonts in Mathematica 10 [on hold]

In Mathematica V10, the glyphs for mathematical and/or other special symbols are wrong. I see this in input cells and also in the Basic Math Assistant palette. How do I solve this problem?
2
votes
2answers
67 views

Find the indexes of dependent columns

I have a fairly large singular square matrix, of size 37 and rank 35. Is there a way to get a vector with the (groups of) indexes of the columns in the original matrix that are linearly dependent? ...
6
votes
1answer
233 views

Export to PDF on OS X, font missing on Windows

Here is another problem with Mathematica plots and PDF. I have Mathematica 9.0.1 on Mac OS X. I want to export my plots to PDF to include them in a LaTeX document. If I export the plot with the ...
4
votes
1answer
78 views

Throttle EventHandler KeyReleased

What might be the most elegant way to throttle the a,s functions triggered by an ...
0
votes
1answer
41 views

Entering block matrices, general case doesn't work

I want to enter several matrices at different positions in blocks. There is already a very similar answer here: http://mathematica.stackexchange.com/a/3562/6138 I thought that simply generalizing ...
0
votes
1answer
49 views

timing series algorithm [on hold]

If we have a timing series t1,t2,t3.... and every timing point means an event. A time interval T is given. Once T is given, how to calculate the maximum event number happening in T? case A ...
1
vote
1answer
268 views

Solving a complex-valued differential equation with NDSolve

I am trying to solve $dx/dt=\sqrt{1+(ix)^{1.8}}$ for initial condition $x[0] =-0.9877 + i 0.1563$, where $x$ is a complex variable. I would like to plot the imaginary part of the solution versus the ...
0
votes
0answers
25 views

How do print the limit value? [on hold]

I'm completely new to Mathematica and trying to compute the following limit: $$Limit[((2+sqrt[3])^x)-IntegerPart[((2+sqrt[3])^x)],x->Infinity]$$ Unfortunately instead of getting a numerical ...
-3
votes
0answers
26 views

Solve for l and m with imaginary numbers [on hold]

Solve for both l and m. I is imaginary number. 15 - 28i = 3l + (4m)i
6
votes
6answers
270 views
0
votes
0answers
24 views

Can anyone help me deduce a matrix inequality? [on hold]

The following lemma is taken from references firstly. Lemma 1 [1-2] Given matrices $Q=Q^{T} , F, M$ and $N$ of appropriate dimensions, then $$Q+MFN+N^{T}F^{T}M^{T}<0$$ for all $F$ satisfying ...
1
vote
1answer
150 views

Can degenerating Nicomachus' triangle down to $0$ area by using `Graph` be done?

I noticed a pattern in Nicomachus' Triangle that might be used to reduce the triangle to the number line. If the Edge size could be set to the absolute difference ...
6
votes
1answer
146 views

15 30 50 per page