# All Questions

5 views

### Solving a consistent overdetermined linear system

Not a duplicate question. I already tried all the Answers offered for this Question and they failed, so I believe this is a different problem with Solve[]. I have a solveable, consistent system of ...
12 views

### Mathematica 10.0.1 freezes in Initializing kernels (Windows 10)

I updated to Windows 10 and have been running Mathematica fine on it for over a month. For some reason, it just stopped working. I don't remember any Windows updates occurring which would have ...
10 views

### Creating a Table with a list of If statements given in a certain order

I am trying to create a conditional Table with If statements, where I move to the next condition only if the first one is satisfied, otherwise I "Break[]" and move to the next element of the table. ...
16 views

### How would one set up a conditional to evaluate at the last output value (wondrous numbers)

I know this is pretty fundamental, but I'm trying to learn Mathematica on my own and this is stumping me. I know 5 is wondrous and it takes 5 steps to reach one, but I can't figure out the input to ...
22 views

### How to center a graphic in its output cell

Say I have produced a single graphic ouput, perhaps a plot. Instead of displaying left-aligned in the notebook, I would like it to display in the center of the output cell. I would like it to stay ...
58 views

### I change a single constant and the simple script suddenly takes forever to complete

I writed a code to display the Dragon Curve fractal, and I reached my goal. The algorithm works by taking the previous two points and then adding the following one by making a 90 degrees turn left or ...
8 views

### How to solve PDE in 2D region with mixed boundary condition?

I'm trying to solve the inhomogeneous wave equation with mixed boundary conditions. How do I input these conditions? Is is still with NDSolve?
22 views

### Can I model the general political landscape with mathematica?

I want to develop a website which would model a province of 2 million people from a political point of view. Is mathematica a good fit for such a project? My background is that I'm an experienced ...
16 views

### Calculate the mean of ordered distribution of the defined distribution

15I am trying to evaluate the mean of the following: Let $a\sim Binom(10,1/2)$, consider the random variable $$d=\left|\frac{2}{\sqrt{10}}a-\sqrt{10}\right|$$ Let $d_1,\dots,d_{20}$ be i.i.d copies of ...
29 views

### Convert FullForm to XML Structure and back

How might I create a function that converts between FullForm and a XML structuce? Ultimately I'm ideally looking to use CSS and JS to edited the XML structure. ...
32 views

### Writing a function with two functions as arguments

I am trying to write a function of two functions. A function of one function works as in h[f___, x_, y_] := Integrate[f, x] h[x^2 + y, x, y] and this ...
56 views

### Why can't Mathematica simplify this expression involving conjugate of complex expression?

In theory it should recognise that all terms are real, and drop the Conjugate attribute. Any clues why this might be so?
44 views

### solve Z of matrix

x=Cz+(lambda)z x and z are n*1 column vectors C is n*n matrix (lambda) is a scalar it want to solve for z. the hint is z=Iz where I is n*n also C+(lambda) is an invalid expression, but C+(lambda)I ...
33 views

### string manipulate with “\”

I'm trying to code that makes download files from some pages. What I am using built-in function is Import, and stringreplace. I found that when I import url there is blank and I need to replace them ...
38 views

### When NSolve for X, Y, only output solution for X

I have an NSolve with two equations and two unknowns (X,Y). There is a unique solution. NSolve currently gives me the solution pair (X,Y). But I only want to read out one of the variables (say X). ...
43 views

### Mathematica hangs on “Initializing kernels…“ at startup [duplicate]

My Mathematica 10.0 doesn’t start anymore (hangs while “Initializing kernels…“). I already reduced the problem to the file pacletSiteData_10.pmd2 in ...
34 views

### Map inside LogLinearPlot with legends and different colors

I have been trying to use Plot with a nested map to make plots of a numerically integrated function with different argument parameters, and after some searching I have finally got that sorted. My MWE ...
59 views

### What part of the kernel is open sourced?

Where exactly is the "large swath of the code base" that Stephen Wolfram said was open sourced?
36 views

### Interactive ListPlot by mouse clicking

Say I have a list of 2-tuples that is visualized by ListPlot. Each 2-tuple is also associated with another graph. Now what I want to realize is to display the ...
28 views

### NewLine Inconsistency

Copy and paste the following two lines into Mathematica. 1 \[Alpha] \[NewLine] 2 f[ 1 \[Alpha] \[NewLine] 2] The first posts ...
44 views

### Plotting PV isotherms followig the Redlich Kwong equation of state

I am attempting to plot the $PV$ isotherms for 1 mole of neon from 4-1000K assuming the equations of state Redlich Kwong. I do get a graph but it looks more like the graph for ideal gas instead of ...
39 views

### Using ouput of ParametericNDSolve as argument in NMinimize: NMinimize::nnum: function value not a number

I am trying to fit some experimental data and I am trying to use NMinimize function to calculate the parameters that fit the experimental dataset. I am also using ...
77 views

### After NumberForm I cannot apply a Sine function. Why?

After NumberForm I cannot apply a Sine function. Why? This works: sol1 = x /. Solve[x^2 - 3 == 0, x] Sin[sol1] Output = $\{-Sin[\sqrt{3}],Sin[\sqrt{3}]\}$ Also ...
33 views

### highlight certain rows in various table format

I have tried a method to highlight certain rows in various tableform. An example: ...
178 views

### Make spheres same size in Row

I have different 3D graphics containing spheres, for example pic1=Sphere[{0,0,0},1]; pic2={Sphere[{-1, 0, 0}, 1], Sphere[{1, 0, 0}, 1]}; I would like to show ...
61 views

### Fast way to pass an array of integers to Java using JLink

I am using a package from java to compress a list of integers, this package provide me two methods, one for compress and other one for uncompress. Each of these methods has a version to ...
146 views

### Solve simple trig equation

I would like to solve this equation: $$-x\sin(x)=\cos(x)$$ But Solve in Mathematica doesn't work: This system cannot be solved with the methods available to ...
87 views

### How do I exclude regions from numeric integration on Mathematica?

The part of the equation that is giving me trouble is below: f[t_,v_]:= Exp[-(1/Log[1-t/v]^2)]*(v-t) I need to integrate this function over the ranges .1 ...
81 views

### Entropy of lists and sublists

If we examine the following Entropy outputs below, it can be seen that the Entropy of ...
51 views

78 views

### Calculate sum of probabilities in multinomial model

The question at hand: On average in every 7th chocoloate egg there is a figure to be drawn from a known list of special figures (e.g 15 distinct pieces) the other draws are on average fails. With ...