0
votes
2answers
97 views

Using Mathematica to find the areas described by polar curves

I am working on a project and I need to find the area of the surface inside the polar-curve $r=2\cos(\theta)$ and outside the polar-curve $r=1$. The graph is pretty straightforward: just two ...
0
votes
1answer
94 views

Move figure to origin [closed]

I have used PixelValuePositions to get coordinates from a figure. But I would like to move the figure, so the origin is in the middle of the figure. An example ...
4
votes
1answer
60 views

Why does documentation search fail on substrings?

For example many times I have to type the full string exactly which defeats the point of a search, so perhaps this is a bug?
1
vote
0answers
34 views

Save a Mathematica notebook evaluated [duplicate]

My notebooks can take some time to evaluate and by quitting Mathematica, I have to reevaluate every definition I've made once I restart Mathematica. Is there a way to tell Mathematica to save the ...
4
votes
2answers
262 views

Repeatedly applying a function

I have a list of numbers: allNums = {2, 5, 10, 17, 26, 1, 3, 7, 13, 21, 31, 1, 2, 11, 28, 53, 1, 6, 19, 40, 69} I calculate all possible pairs of two numbers ...
5
votes
0answers
73 views

InterpolationOrder has no effect on ListContourPlot when the data is of the form {x,y,f[x,y]}

This is related to the issue brought up here, if you want to mark it as duplicate feel free to do so, but it is slightly separate. Take two sets of data, identical except for the form, ...
5
votes
1answer
120 views

Manipulator reset bug

Bug introduced in 10.3 or earlier, fixed in 10.4. When the + opener is opened, two things happen: ...
3
votes
1answer
102 views
1
vote
1answer
93 views

PametricPlot3D vs ContourPlot3D

Basically, I don't know whether I am missing something mathematically fundamental or I misued Mathematica's functions. ...
1
vote
0answers
50 views

Eliminate a variable from a differential equation and an algebra equation then collect the remaining variables

Recently, I am attempting to eliminate a variable from a differential equation (DE) and an algebra equation (AE), then collect the remaining variables as a new (grand) parameter. Actually, I have ...
0
votes
1answer
119 views

Plotting two variables indirectly dependent on each other

I have the following system of linear ODEs for "i" number of species "c" migrating in "j" number of habitats: ...
1
vote
0answers
80 views

How to increase the font size when printing?

Under print settings there are a number of options for print format (working, condensed, printout, printout grey, ...). It seems clear that the print settings are configurable, but perhaps that is ...
2
votes
2answers
95 views

Combine graphics with GraphicsGrid

...
4
votes
2answers
147 views

How to set the bar exactly in the center of plot marker?

ErrorListPlot usually does not put the error bar exactly in the center of the plot markers. For example: ...
1
vote
0answers
101 views

Insert elements in several positions in a list [closed]

How to insert multiple elements in a list? list={1,2,3,4,5,6,7,8,9} Output: ...
3
votes
3answers
132 views

Making a Button smaller in width

I can't seem to figure out how to make the width of a Button smaller. I tried change the first 26 below to a number like 10. But it doesn't seem to effect the ...
1
vote
0answers
109 views

Wolfram Cloud Question - VectorPlot3D

I tried Mathematica in the Wolfram Cloud when it first came out. I found it riddled with glitches. I'm attempting to give a second shot now. I tried plotting the following code: ...
1
vote
1answer
34 views

Normal subgroups, Group order, Automorphisms

I am a beginner at Mathematica and have a few problems. Find all normal subgroups of the Alternating Group A[4]. Find the order of a group Aut(U[8]). Find the group Aut(S[3]). I've been trying to ...
1
vote
1answer
44 views

How to solve Quadratic Program in vector form?

I've gotten Q matrix and Y vector, Q matrix is a 7x7 matrix, but the "NMinimize" in wolfram seem can only solve the real number not vector, how to solve it in vector form? (alpha 7x1 vector, Y 7x1 ...
3
votes
2answers
120 views

BarChart with empty bars removed

Consider the following BarChart: ...
4
votes
1answer
214 views

Plotting Riemann Surface of $w(z)=\sqrt{1-z^{2}}$

I'm working in the plotting the Riemann surface of two functions, namely: $$ w_{1}(z)=\sqrt{1-z^{2}} \,, $$ and $$ w_{2}(z)=\tanh\left(k\sqrt{1-z^{2}}\right)-2iz\frac{\sqrt{1-z^{2}}}{1-2z^{2}}\,, ...
0
votes
1answer
39 views

Efficient calculation of leading order behavior of rational function under a limit?

Considering a rational function, as for example myExpr=(x+3)(2+5x+6x^2)/(x(x-5)(x+20)) I would like to have a function that tells me the leading order behavior ...
-1
votes
1answer
55 views

Solve Numerical Equation [closed]

I want to find $x\in \ \mathbb{Q} $ such that the first ten digits of $ x \pi $ are 1.234567890. I tried: ...
0
votes
1answer
56 views

Plot the evolution of an approximation - Animate

Here's the code ...
0
votes
0answers
51 views

Exploring contours plots of two Binormal distributions

I am facing a little interesting problem. Let´s suppose two binormal distributions, as follows: ...
14
votes
4answers
741 views

How to count number of small dots in a picture

I have this picture of small particles in a polymer film. I want to count how many particles in the figure, so that I can have a rough estimation of the particle density. But the image quality is ...
5
votes
0answers
120 views

Has anybody been able to build WSTP applications under Visual Studio 2015's IDE?

I recently picked up an old project involving WSTP (formerly MathLink) programs, and as a starting place tried to get the demos provided by Wolfram to compile. The instructions were dated, referring ...
0
votes
0answers
29 views

How can I efficiently select certain mesh elements based on measurement criteria?

I am trying to do some mesh cleaning based on element size, but I'm having a hard time seeing how to best use the MeshRegion data structure to accomplish it without ...
1
vote
1answer
130 views

Time-dependent pde with periodic boundary conditions - NDSolve gives incorrect results

I'm trying to solve very simple differential equation with perdiodic boundary conditions and non-constant initial condition, however the results I'm getting don't seem to be correct. Here's my code: ...
5
votes
1answer
254 views

How to construct a tree from a notebook?

Given the notebook itself we can think of it as a tree graph: the root vertex is the empty notebook itself, the headers of cell groups are vertices, and all other cells as leaf vertices. I'd like to ...
1
vote
1answer
92 views

Plotting data from a Table in Mathematica

I have been able to solve some differential equations using Tables. The code works fine without errors. However, I am unable to plot the results. Any help would be appreciated. ...
2
votes
1answer
125 views

NDSolve::depdole error

I'm trying to solve a pair of differential equations with NDSolve. They contain a discontinuous function bounce. I've trimmed ...
9
votes
2answers
130 views

Animating a growing ListPlot

I stumbled upon this (rather contrived but interesting) integer sequence. As it exhibits quite different behaviour at different scales, I would like to generate an animated ...
4
votes
1answer
281 views

Graphs in 3 dimensions

I have a desired graph as here: the dashed line is just for perspective representation. I tried with LayeredGraphPlot and ...
0
votes
2answers
170 views

Using 0 < x < 10 as a condition in an equation

How do I write 0 < x < 10 on the right side in the equation. If #1 + #2 is bigger than 0 and smaller than 10. And is it possible to require -10 < x < 10 with the additional condition x != ...
6
votes
1answer
138 views

Bug in Export - known by Wolfram Support - upper plot margin depends on string length of upper horizontal axis label

Bug introduced in 9.0 and persisting through 10.3 or later ! See at bottom the answer by Wolfram Research. I am running Mathematica 10.3. For test purposes I have used the following code: ...
1
vote
1answer
59 views

Issue with ImageCrop and Rasterize

This is related to 1. I use the following code: ...
3
votes
1answer
67 views

How to change the word's color in string

The picture I load is my target: This is my code in mathematica ...
3
votes
1answer
120 views

Is there a way to control the placement of individual tick mark labels?

Let me start by saying there are a lot of other questions here on SE and elsewhere about tick marks in MMA but I think I am correct in saying that none of them cover exactly what I want (apologies if ...
0
votes
2answers
70 views

If Which Piecewise-defined function [closed]

How would I write a function using If and/or Which command for following Piecewise-defined function then plot the function ...
12
votes
2answers
333 views

Zooming using GeoGraphics

Suppose I do: GeoGraphics[Entity["City", {"Eureka", "California", "UnitedStates"}]] What do folks do at this point to zoom in to various parts of the image?
2
votes
0answers
60 views

DiscretizeRegion fails on two clearly intersecting cylinders

Intersecting cylinders has been on the top here lately, so it got me to thinking of this, ...
4
votes
2answers
96 views

Unescape Formatting in Strings [closed]

Mathematica has a dirty habit of sometimes escaping all the formatting in my strings when loading a .nb. I know this is inevitable for ...
-2
votes
1answer
83 views

Tricky ellipse problem [closed]

I have this equation and I need to show it is en equation of ellipse, could anyone help me? 5x^2 - 4xy + 5y^2 = 21
0
votes
0answers
38 views

non-intersecting cylinders and DiscretizeRegion, RegionIntersection [duplicate]

This is a sequel to my previous post. ...
0
votes
0answers
69 views

ensemble averaging

Herephixis $\phi_{xx}$ a coherence matrix and the angle brackets denote ensemble averaging. $E_x$ is the x component of the electric field. $$\phi_{xx}=\langle ...
0
votes
0answers
41 views

Ordering of MeshCoordinates in MeshRegion and associated BoundaryMeshRegion

When generating a MeshRegion from a BoundaryMeshRegion and vice versa it would be advantageous if the two types of objects were ...
0
votes
1answer
45 views

Strange eigenvector behaviour for matrix with large numerical values

I'm trying to compute the eigenvectors of a matrix with large numerical values $$ \left( \begin{array}{ccccc} 0 & 1.\times 10^{18} & 100 \text{X} & 0 & 1.\times 10^{11} \text{X} \\ ...
2
votes
2answers
46 views

Deciding whether the return value of a function is defined based on its input [duplicate]

I have been met with the following problem: I have defined the following: myFunc[e_Integer]; That means, if I call: ...
1
vote
1answer
82 views

How to import an external pdf file leaving text as text?

When Importing in Mathematica (v10.3) a pdf file containing some text, the text is "vectorialized", meaning that it does not seem to be loaded as text, and ...

15 30 50 per page