0
votes
0answers
4 views

Asymptotic expansion on 3 nonlinear ordinary differential equations

The 3 nonlinear differential equations are as follows \begin{equation} \epsilon \frac{dc}{dt}=\alpha I + \ c (-K_F - K_D-K_N s-K_P(1-q)), \nonumber \end{equation} \begin{equation} \frac{ds}{dt}= ...
2
votes
1answer
19 views

Sqrt disappeared when exporting plot to PDF in version 10

In version 10, if we plot with Sqrt in y-axis, and export to PDF, the square root disappears in the PDF file. ...
0
votes
1answer
8 views

EventLocator EventAction list specification using Table versus explicit list

I have an NDSolve problem that needs a list of a large number of events that are generated programmatically. Here is a simple example that demonstrates the problem on Mathematica 7 and 8 (the versions ...
0
votes
0answers
18 views

Complex infinities in an Euler-Lagrange equation

I now wish to solve for $L(t)$ and $H(t)$ some ugly Lagrangian (in the code below) in configuration space, respectively the length and the height of a system. I tried running the code below, with the ...
2
votes
3answers
54 views

Create a list of random reals

How can I create a list of random pairs $(x,y)$ where $0<y<x<1$ and $x,y \in \mathbb{R}$ ? I can't seem to place that inequality restriction on the random numbers that are generated.
3
votes
1answer
26 views

One ChartLegend for multiple charts in Dataset?

Dataset's documentation shows how to leverage GroupBy operator at multiple levels titanic[GroupBy[Key["sex"]], GroupBy[Key["class"]], ratio, "survived"] Taking a ...
1
vote
1answer
23 views

Can I use what “headerlines” removes from a CSV as TableHeadings for the table I create from that File?

I am reading in some data from a CSV file that has a line which gives titles to each "column". Here is an example: ...
0
votes
1answer
28 views

Simplifying a symbolic product of rational powers

I'm trying to symbolically evaluate a lot of equations that can consist of up to 10 parameters. The form of these expressions is a product/quotient of rational powers of the mentioned parameters, ...
2
votes
1answer
35 views

How to read from /dev/random?

I am looking to read a few bytes from /dev/random on OS X and Linux. The simplest approach fails on both operating systems (see below). Why? What is a ...
7
votes
3answers
148 views

Possible bug in Dynamic

The code below crashes the Mathematica kernel in version 10 (not in V9) every time I run it on Windows and on Mac OS. I've sent it to WRI, but was told that they could not reproduce the crash. Does ...
0
votes
0answers
12 views

How do I turn my verbal argument into something formal in Real Analysis? [migrated]

So one of the exercises I am doing is to prove (or disprove) that 'Every compact set on a metric space is bounded'. Verbally, I can 'prove' this by simply stating: "If the every compact set on a ...
2
votes
3answers
51 views

How to transpose x and y axes on a LogPlot?

Consider the following simple LogPlot: LogPlot[Exp[x],{x,0,5}] Is there a nice way to switch the axes of a LogPlot? I'm aware that plotting the inverse ...
4
votes
2answers
86 views

Extrude 2D cross-section to 3D shape with shrinkfactor

I would like to create a 3D shape from extrusion and scaling of a 2D contour. The 2D contour that I have looks like this: and it consists of a bunch of points (here plotted with ...
0
votes
0answers
55 views

Security of the Wolfram Programming Cloud? [on hold]

We have a number of projects where we a contractually obligated to safeguard client data and intellectual property. Prior to using a tool or technology, we must provide documentation that shows how ...
2
votes
2answers
104 views

Spike train representation

I have a spike train. The data shows the time at which the neuron fired a spike. I want to plot them like this picture: Here is the data for one spike train which corresponds to the one of the ...
0
votes
0answers
26 views

NDSolve PDE, not enough boundary condition?

The PDE that I want to solve is: $$ \frac{\partial f}{\partial t} + \frac{1}{m} \left( p_x \frac{\partial f}{\partial x} + p_y \frac{\partial f}{\partial y} + p_z \frac{\partial f}{\partial z} \right) ...
2
votes
1answer
54 views

About Compile Function

I have a function that take p as a parameter, p is a 2X3X3 list, ( a 2X3X3 list can like { {{2,3},{1,2.},{1,1.}}, {{2,3.},{1,2},{1,1}}, {{2,3},{1,2},{1,1}} } ) the function just as: ...
5
votes
2answers
133 views

Line style thickness differences between Mathematica 9 and 10

I execute the same code in Mathematica 9 and MAthematica 10, and have this different results. ...
13
votes
2answers
658 views

Best practice of passing a large number of parameters to functions

I have a number of functions which all take a large number of parameters. I am wondering which is the best practice of passing these parameters to those functions. I could of course simply specify the ...
0
votes
1answer
36 views

How to use an output of a Solve function in further calculations? [on hold]

Following is the polynomial equation that gives me a single real root: ...
0
votes
0answers
38 views

Conditions under which a given function is less than zero [on hold]

I have a function say F(a,b,c,d,e) which I know can be positive or negative, depending on the values of the variables. Assume F(a,b,c,d,e) where variable "e" is the solution of G(a,b,e)=0 Is there ...
1
vote
4answers
77 views

Replacing more than one element from a Sublist

The following expression allows me to extract the value of x and y: ...
3
votes
2answers
72 views

Lookup in Inverse Symbolic Calculator+ from Mathematica

There is a useful feature in WolframAlpha that allows to find a possible closed form for approximate numeric values. It can be used, for example, to guess the value of an integral that Mathematica ...
0
votes
0answers
19 views

Simplify expression by restricting variable to be integer [on hold]

I have an expression $$\sin [2 n \pi]$$ here $n$ is an integer. How can I let mathematica know $n$ is an integer, so the expression is simplified into $0$?
0
votes
0answers
85 views

why is mathematica 10 much larger than 9 in disk space? [on hold]

I found that mathematica 10 requires 8.8GB disk space while version 9 only asks for 5.5GB. So what are the major differences? What kind of new features gives rise to the increase?
0
votes
0answers
33 views

What is taking so long in this simplification?

I killed this after 48 hours, it did not seem to be getting anywhere. In the best of all possible worlds it would spit out n!. If I put the summation in a function it does compute factorials ...
0
votes
2answers
43 views

Suppressing reduction in fraction box size in multi-level fractions [duplicate]

Mathematica display complex fractions like this, the second x look smaller, I want it look like this, how can I get it in Mathematica?
3
votes
1answer
62 views

Agglomerate output to Graph

I'm using the HierarchicalClustering package to cluster some data. So let's say I have this: ...
0
votes
0answers
33 views
5
votes
1answer
66 views

Using J/Link with Wolfram Programming Cloud

Is it possible to use J/Link in a Wolfram Programming Cloud notebook? I need it to load and use 3rd-party .jars.
0
votes
0answers
44 views

Finding Symmetries of Points on a Sphere

Currently, I am working on a project where I would like to find symmetries of points plotted on a sphere. One example would be to rotate the sphere 180 degrees about the x-axis and the picture would ...
6
votes
3answers
99 views

AssociationMap to query Dataset across levels?

Is there a way to operate on Dataset across levels to apply a function f to a key -> value pair in an Association as follows: ...
1
vote
1answer
57 views

notebooks not opening in mathematica 10

I`m a guest here, and thought I could just ask you guys. ...
1
vote
1answer
44 views

Constraint in a 2D plot with Legend

I have the following plot: ...
1
vote
1answer
42 views

Numerically Integrating to find a Maximum using NDSolve

I am trying to numerically find an equilibrium (maximum) of a function using its differential. The following is a simplified version. ...
1
vote
1answer
45 views

Some question on “Reduce”

Is this my mistake? I am trying to solve ...
0
votes
0answers
28 views

Set min and max ranges for axes in ParametricPlot

I'm having trouble with this one plot I'm trying to make. I'm using NDSolve on a system of differential equations and when I plot it with ParametricPlot, the scales or lengths of the graphs axes come ...
0
votes
0answers
35 views

Is it possible to build/simulate/extract data from a System Modeler model completely inside a notebook using the MathModelica language syntax?

See examples in: http://www.mathematica-journal.com/issue/v10i1/contents/MathModelicaPaper/MathModelicaPaper_2.html It seems to be ruled out by the statement (Chapter 2 intro): "The subset of the ...
0
votes
0answers
41 views

Approximate a function of four variables with a rational polynomial

I have a function that consists of four variables. Currently, I want to view it as function of one variable over the interval (0, 1) with the other three variables as parameters. I will plug values ...
0
votes
2answers
44 views

Defining a function from a list [on hold]

I have a list of 49 numbers, and I would like to define a function f such that f(n) is simply the nth number in the list. How can I do this?
3
votes
0answers
82 views

Mathematica 10 : Where is the Mathematica Book? [duplicate]

The question is simple. In Mathematica 9, there used to be "The Mathematica Book" integrated with the software in the help system. I can't find it anymore in version 10. Do you know if it is still ...
0
votes
0answers
61 views

FindMinimum slower in MMA10

I've recently updated one of my PCs (both have the exact same build) to Mathematica 10. After running the exact same notebook (which has two FindMinimum calls) on ...
1
vote
0answers
50 views

Why does Mathematica not go to specified order in series?

For some reason Mathematica will not evaluate this asymptotic series to the requested order. Inputting: ...
4
votes
2answers
65 views

Why can't I pass in a product of matrices in my modified matrixform? [duplicate]

In attempt to build a function that would work like MatrixForm but would wrap a matrix with brackets, I tried the following function: ...
1
vote
2answers
82 views

Line Breaks in AxesLabel or PlotLabel?

Searching got me peripherally related threads, but not exactly what I was looking for. I'm making some graphs which I want to use on exams. Sometimes, labels (specifically in AxesLabel and PlotLabel) ...
1
vote
1answer
90 views

Computational complexity of symbolic determinant

I'm using the Det function in Mathematica to compute the determinant of an $n\times n$ matrix $A$ with entries of the form $a+bt$ with $a,b$ integers and $t$ a variable, and I would like to know what ...
0
votes
1answer
38 views

Why my if statement does not work [on hold]

Thanks for your attention. I'm new to mathematica. I have the codes as below. But the If statement does not work. Anything wrong with my code? Thanks for help! Ben ...
1
vote
0answers
83 views

Classify - no memory available

I tried to use function Classify in version 10 on data sample with 15 parameters and around 1/4 million of records. I got this result: ...

15 30 50 per page