# All Questions

48 views

### Straighforward iteration with mathematica instead of recursion

I want to use a straightforward iteration method to calculate a function which depends on itself at the previous step. It was able to solve it as a recursion function for a small value of steps, but ...
50 views

### Determine return type of CompiledFunction expression

Is there a way to extract the types of the arguments and the return type from a CompiledFunction expression? I am writing a package for code generation (basically a wrapper around CCodeGenerate) where ...
94 views

### Tracking Initialization

How to track Initialization step by step? Any tricky solution is ok. One condition, x should be ...
18 views

### How to add Shift-Enter in external script?

I often generate MMA scripts externally w/ python to copy/paste into a notebook or run MMA directly on that file. I want resulting output interleaved w/ input commands, as would happen when the ...
34 views

### Wolfram Alpha and LaTeX [on hold]

Does WolframAlpha use LaTeX to represent mathematical characters? Is there any way to copy the LaTeX output?
131 views

### Extracting the function from InterpolatingFunction object

I've used Interpolation[] to generate an InterpolatingFunction object from a list of integers. ...
130 views

### Book about using Mathematica in real world engineering projects

So far I've abused Mathematica by only using it as a notebook. That's a big waste since I've bought a student-life time Mathematica 9 / SystemModeler license. My problem is that I'm not inspired to ...
100 views

### Filling a curve towards toward the top of the plot

I have a curve. If I want to color fill or shade, not towards axis but upward form the curve, what command can I use?
212 views

### How to plot a series using different colors depending on the y-value

I have a sequence of numbers ${x_1,x_2,\ldots,x_n}$. I would like to plot the sequence using ListLinePlot but use a different color depending on if the values $x_i$ are within $a_i<x_i<b_i$. ...
51 views

57 views

### Possible bug / numerical issues with HypergeometricU — any suggestions for a fast workaround?

I've encountered some problematic behaviour with HypergeometricU. I have a probability distribution on the positive integers that takes the following form after ...
24 views

### Held keys in associations

Jacob Akkerboom commented: Note that PositionIndex does work correctly with held expressions, whereas this is a bit painful to implement using ...
285 views

### How to add named characters to Mathematica 10?

It appears that native support for the Klingon alphabet has been removed from version 10: \[KlingonA] Syntax::tsntxi: "\"!(\[ KlingonA])\" is incomplete; more ...
51 views

### Building an arch in SystemModeler

I'm trying to learn SystemModeler and struggling a little... Building on the chain pendulum example from Wolfram, I've happily made a chain with revolute joints with spring/dampeners connecting the ...
34 views

### Generating 2D models from a 3D model

I have a model of cube with randomly distributed spheres included there. ...
54 views

### How can I create a set (list) provide a kind of rule/algorithm?

Example: S = {r ∈ Q : r² < 2} Let S be the set of all rational numbers whose squares are less than 2. It follows that 1 ∈ S, 4/3 ∈ S, but 3/2 doesn't ∈ S because 9/4 ≥ 2. Thank you.
48 views

### Numerical Solving Problem, PDE

It is not possibel to solve the given equation numerically or analytically with Mathematica. ...
226 views

### Numerical value of physical constants Mathematica 10

Is there a way to use the physical constants in calculations and have Mathematica 10 figure out the final unit and numerical magnitude? When I try ...
130 views

### Extract common subexpressions from expressions [duplicate]

I am trying to evaluate multiple independent expressions with common parts. I would like Mathematica to somehow give me this common parts. It's probably not so clear, so let me give you an example. ...
16 views

147 views

### Potential pollution of Global context in fresh kernel

Bug introduced in 10.0.0 and fixed in 10.0.1 If I evaluate, with a fresh kernel Names["Global*"] I get {"rhs", "z"} ...
266 views

### Mma10 mystery: Failure of pure function substitution with Interpretation?

Bug introduced in 10.0.0 and fixed in 10.0.1 I had code to display with subscripts from Displaying index as subscript on output: e.g. C[i] -> C_i with Notation[...] or Interpretation[..]? which ...
80 views

### How can I make DensityHistogram obey the lower bound in PlotRange in version 10?

Bug introduced in 10.0.0 and fixed in 10.0.1 In version 9, DensityHistogram worked with PlotRange as expected: ...