# All Questions

1answer
8 views

### Why cant mathematica solve this non linear (fractional) ode?

a1 = NDSolve[{y1''[x] - 0.1 y1[x]^0.25 == 0, y1'[0] == 0, y1[1] == 1}, I get the following errors - Power::infy: "Infinite expression 1/0.^0.75 encountered ...
0answers
6 views

1answer
42 views

### Why is FindCycle crashing for this graph?

I'm working with a directed graph, previously mentioned in Exporting a high-resolution GraphPlot of a very large graph (65,536 nodes). It can be generated with the following code: ...
1answer
135 views

### Is it possible to get the (x, y) position of nodes in a Graph?

Given a graph... RandomGraph[{20,40}] ...is it possible to retrieve the (x, y) coordinates at which the nodes are drawn? ...
1answer
70 views

### Evaluate pure function through round brackets

In have some matrices of pure functions or numbers which I multiply by other matrices or vectors. I would like the functions to be evaluated in the result, but all that I get is something like this: ...
2answers
160 views

### What's wrong with naming a rule?

Please have a look at the code below. The second Manipulate uses the name rl of the replacement rule given in the first line, ...
0answers
27 views

### Serious Startup Error code: 698 [on hold]

I had Mathematica v10.0.1, uninstalled and installed v10.4.1 on Win10 64x, and now keep getting this very strange serious startup error, any ideas how to resolve it? support is not answering :( P.S ...
2answers
56 views

### Recreating a ContourPlot3D using points

Let's define a three-dimensional surface ...
0answers
22 views

### PolynomialExtendedGCD in 2 variables

Consider a field $R$ and the ring $A=R[y]$. Consider two polynomials $g,h\in A[x]$. I want to obtain $d=\gcd(g,h)\in A[x]$ and two polynomials $s,t\in A[x]$ satisfying the Bézout relation: $sg+th=d$. ...
1answer
68 views

### FInding outliers in multiple dimensions

I'm working on dataset which isn't normally distributed.which contains three dimensions like cost, discount and profit I'm trying to find outliers in all these dimensions. I used z score to find ...
1answer
30 views

### Option for Simplify command in mathematica

What does Simplify[%[[1]], %[[2]]] mean in following code? I mean [[1]] and [[2]] exactly what does refer to? ...
0answers
42 views

### Factoring an arbitary variable in mathematica

Imagine we have a equation like this ...
0answers
42 views

### Generating random numbers using Gaussian distribution in a code and changing standard deviataion in increaments [on hold]

I am working on the following code, which calculates mean2 after taking mean/average over 100 realization of the code with each time 10 random numbers generated using Gaussian distribution. Currently ...
1answer
46 views

### Is this the right way to use for loop

Is this the right way to use for loop in order to find the sequence of $x_n$ ...
1answer
56 views

### How do I extract the values returned as Root[,] after solving the Sturm Liouville problem to take the square root?

$y''+\lambda y=0, y'(0)=0,y(1)+y'(1)=0$ ...
0answers
62 views

### unordered lists with maximum dispersion [on hold]

As you can implement the following I have a list $$L = {p1, p2, p3, p4, p5 ........ pn}, n <50$$ I need cluttering and print this list 4 ...
1answer
55 views

### Boundary conditions for NDSolve

I get the following message: Boundary values may only be specified for one independent variable. Initial values may only be specified at one value of the other independent variable. >> from ...
0answers
34 views

### Getting DSolve to return different solutions

I am Using 10.0 I am trying to solve the following ODE: $$\frac{d^2 \psi}{d\theta^2}+ \nu \psi =0$$ , $$\psi(0)=0$$,$$\psi(3\pi/4)=0$$ and Mathematica only sppits out the trivial solution PS: I am ...
0answers
27 views

### How to remove a hold from a result obtained by equating a partial derivative to 0? [on hold]

I have a function g(x,y). I want to set its partial derivative by $y$ equal to 0, obtain an expression depending on $x$ and use it in further calculations. However, the code I am using puts a hold on ...
0answers
47 views

### Product of Two Functions

I wrote a little messy conditional probability distribution. In the output, however, the numerator shows like p^2 (A) (B|A), rather than ...
3answers
195 views

### Deriving a PDF for an annulus distribution

I would like to derive the PDF for an ''annulus'' type distribution, defined by the parameters $\theta\sim U(0,2 \pi)$ and $d\sim N(0,\sigma)$; where $\theta$ is the angle round a circle of radius ...
0answers
31 views

### Compute the Breslow-Day statistic in Mathematica [on hold]

How would one compute the Breslow-Day statistic in Mathematica? Is it part of an existing package or can it be derived from one?
0answers
77 views

### Trouble exporting graphics to SVG (or PNG)

I'm trying to export a Graphics object to SVG (or, failing that, PNG). The graphic is a chart of ~1000 simple geometric "configurations"; below is a small excerpt ...
1answer
40 views

### KaryTree of Text .csv and Correlation

How can I make a KaryTree of this raw-data (raw-data at the end of the question): This is is data from a political survey in which I ask 5 questions with the following possible answers: Q1: 'Y'= ...
0answers
72 views

### Mathematica gravatar engine?

This question asks about making gravatars in Mathematica, but the accepted answer is just a wrapper around the gravatar.com service. Is there an open source Mathematica engine that performs the ...
1answer
38 views

### Cartesian coordinates inside Spherical function

I would like to write a function that draws a graphic object and its projections along the x,y and z axes. I specify the $r,\theta, \phi$ of the object and an arrow and it's dashed projections are ...
0answers
17 views

### How to handle DLL dependencies between .NET dll and non-.NET dll's

I think my problem arises because I am successful with loading a .NET assembly, creating an instance and calling methods from a .NET dll. Certain methods, however, call methods from other non.NET ...
0answers
38 views

### Integrate fortran function into Mathematica

I was trying to use Fortran function in Mathematica. I was following mainly this answer . My Fortran code looks like this: ...
1answer
44 views

### CompiledFunction::cfsa Argument x at position1 should be a machine-size real number [on hold]

I have a compiled function: g:=Compile[{{x, _Real}},...] and call g through an interim function: g2[x_?NumericQ] = g[x] If ...

15 30 50 per page