All Questions

0
votes
0answers
2 views

Circle packed chart/bubble chart issue

I have the following list: ...
1
vote
0answers
8 views

How do i eliminate shaking of axes?

I'm trying to plot a solution for a 3-body problem i got using NDSolve, but for some reason y axis is shaking during the demonstration. How do i get rid of it? ...
0
votes
0answers
10 views

Times is not a Graphics Primitive or directive [on hold]

I looked through the forum but none of what I've found is helping. I have a problem with Graphics ...
2
votes
1answer
20 views

How to trace value assigned to local variable(variables in Module)?

Here is my code: Trace[Module[{x}, x = 1; x = 2; x = 3; j = 6; j = 7], x = _, MatchLocalNames -> True] {} I want to ...
2
votes
1answer
38 views

Plot surface of constraints: Possibly via Apply or Map Reduce over a list of equations

I have a function f(A,B,C) where for specific A and B values I can use Reduce to determine ...
0
votes
0answers
44 views

Can anyone completely work through these proofs? I’ll pay! [on hold]

QUESTION 1 (G • S) → D (S → D) → P G / P QUESTION 2 A → ~B ~ (C • ~A) / C → ~B QUESTION 3 (Q → R) • (...
0
votes
0answers
15 views

Mathematics behind distance estimation using camera [migrated]

Can some one explain the logic and calculations in deriving the distance/depth(z) value in the attached research paper. Kindly make your explanation elaborate for me to understand clearly as i was not ...
0
votes
0answers
31 views

Dynamic updating issue

I would like to evaluate/simplify a series of expressions. The first set of expressions works fine, but when I try to evaluate the second line of my code (a very simple expression), the program keeps ...
1
vote
0answers
71 views

Stokes theorem in Mathematica

I came across this problem in calculus. It makes a handwavy sense with the explanation provided. I have tried to prove it in MMA: ...
0
votes
2answers
60 views

Why are these plots not the same?

I have the following code: ...
1
vote
1answer
67 views

How can I make a frequency plot of successful trials?

I have got different files with the result of an experiment varying 2 variables. The files are in this link. Each file has 3 columns of data: the first column is the same for all the rows of the file ...
0
votes
0answers
51 views

Plotting elliptical orbits using Verlet method

I'm looking to solve a 2 body system consisting of the Earth and a body of mass in orbit. I'm using the Verlet method to numerically integrate Newton's equation of motion in order to plot an ...
0
votes
0answers
31 views

Why doesn't SetPrecision give me the precision I ask for? [duplicate]

I'm dealing with a problem requires a precision of 50 digitals after the decimal point. However, I got the following value when doing so: I don't know what's going on here, ain't it 0.09 with other ...
1
vote
0answers
23 views

GeoRegionalValuePlot optimization

I have the following piece of code that plots a colormap by zipcode. Zips is an array of zip codes (All in the US mainland) and testscore is just some made up data for testing purposes. The list of ...
3
votes
2answers
604 views

The most efficient algorithm to find all possible integer pairs which sum to a given integer

I wrote a module in Mathematica which finds all possible pairs of integers from a specified list of integers (which can be negative, zero, or positive) which sum to a specified integer m. The only ...
0
votes
1answer
51 views

Exporting a tensor

I have a complicated and large tensor what can be shown in the simplest form as follows How can I export it in this form?
1
vote
1answer
83 views
1
vote
1answer
48 views

How to update particle location with reflection in a cuboid?

Let's consider Omega= [0, x_max]*[0, y_max]*[0, z_max] the domain in which some particles move. I have a question about the update of the particles locations if ...
1
vote
0answers
20 views

Text misalignment in vector graphic format export

In converting a number of old notebooks into a format for e-readers, Mathematica has some issues with vector formats. SVG export would have been ideal to use, but the exporter fails to recognize, for ...
0
votes
0answers
58 views

Answers of a couple of Integrals

I am trying to solve an integral equation as posted below. The result shows just the equation.. without solving it. I am wondering how you write a script to get a right, clear answer. If it were to ...
1
vote
1answer
38 views

Contact with rigid obstacle in AceFEM

Does anyone of you know how to specify the simulation when a deformable body is affected by contact with some rigid body? I think it should be possible, but I am unable to find it in the manual.
0
votes
0answers
16 views

How to find a,b, and R for the given circle [duplicate]

Given the three points (x1,y1), (x2,y2),(x3,y3) find a,b,and R for the circle (x-a)^2 +(y - b)^2 =R that passes through them. Notice that the solutions have the same denominator or its square. What ...
4
votes
2answers
231 views

NIntegrate: How can I solve this integral numerically? NIntegrate fails while Integrate works

I know the exact solution of the principal value of this integral is equal to zero: $\int_{-1}^{1}\int_{-1}^{1}\frac{x^2}{\sqrt{1-x^2}}\frac{\sqrt{1-y^2}}{y-x}dydx=0$ doing: ...
0
votes
1answer
33 views

how to get rid of the brackets appearing in non-commutative multiply?

I am getting output as (-T1**T2**T3)**T4**T5 How to get rid of the brackets that are appearing in the output? I want my output as ...
0
votes
0answers
30 views

Discrete convolution power

In my previous question we have discussed the posibility of various definition of convolution of power function within Mathematica. Now the question is "How to define convolution power in Mathematica ?...
1
vote
1answer
61 views

How to write the equation into matrix form

$[(a+k_i)^2+(b+k_j)^2]X_{i,j}-\sum_{m,n}V_{m,n}X_{i-m,j-n}=\mu X_{i,j}$. where $-N\le i,j\le N$ Here we can set $ N=10,a =1, b=1$ and $V_{m,n}$ is the matrix element of $V$. Once I write the ...
2
votes
0answers
37 views

Packing arbitrary shapes

I'm looking for a general method of packing any set of 2D glyphs. For example, say I had 30 randomly transformed english characters: ...
5
votes
1answer
50 views

Implementing GeoCallout?

Building off of a related question, I'm looking for a robust way of using Callouts for multiple locations in Geography. For example, I want to plot cities and their ...
1
vote
1answer
38 views

From Free-Form linguistic input to function expression to calculate spheroid surface

I need to calculate the surface area of an oblate spheroid. My first step is to get the surface equation from Free-Form input. But I have trouble converting to a WM function and replace the focus ...
4
votes
1answer
87 views

Change color of curently evaluating cell using stylesheets

How can I change the format of the cell, which is currently being evaluated?
1
vote
0answers
18 views

Dynamics not updating normally in Wolfram Cloud

In Mathematica, InputFields and Sliders that are connected to Dynamics will change their ...
1
vote
0answers
19 views

How to improve spelling in the Deep Speech NetModel?

There is only one NetModel for speech recognition. As is stated in the network repository, models trained with CTC loss have difficulties in producing correct spelling: ...
1
vote
1answer
54 views

Smooth plot of coarsely spaced table values

In a simpler first case I plotted reasonably spaced (stability) contours by selecting a sequence of k values, ...
3
votes
2answers
68 views

Overloading a function to pass in an expression rather that the name of a function

This is an example of procedural programming borrowed from Paul Wellin's book. It's a simple implementation of the Newton-Rhapson method. I overloaded the findRoot ...
4
votes
0answers
59 views

How do I prevent plot range clipping errors in a pdf printout?

I am using Mathematica 11.3 on a Windows 10 computer. I plotted several data sets of mine in a ListLinePlot. While the .pdf file looks perfectly in the current Adobe Acrobat Reader DC version 2019.010....
0
votes
2answers
42 views

Factor not factoring quadratic polynomial

I'm using version 11.3 Expand[(Sqrt[2] - t)^2] 2 - 2 Sqrt[2] t + t^2, but ...
4
votes
2answers
266 views

How to color a curve

How does one color the interior of the elongated circular region in the following figure: ContourPlot[y^2 - x (x - 1)(x - 3) == 0, {x, -2, 7}, {y, -4, 3}]
3
votes
1answer
33 views
0
votes
1answer
36 views

Why is my code not giving me a graph? (finite difference method)

For a finite difference method code, I after altered it a bit for my needs. I am no longer getting errors, however I am not getting my graph to show. ...
2
votes
1answer
39 views

Cell formatting and hiding code

I've written some code that's been getting longer and longer, Is there a way to "hide" the section of the code that does not require input so that i can just give it my two inputs and jump straight to ...
0
votes
1answer
27 views

find in list almost equal elements, make new list correspond to position or some list

I have a list of elements called q and wish to compute Total Multiplicity of each element, and put these values in the list tm. ...
0
votes
1answer
34 views

DeleteDuplicates in FindRoot with more than one variable

I'm solving a system of 3 non-linear equations with FindRoot for the variables x, y and <...
0
votes
1answer
49 views

Complex number as the result of an integral [on hold]

My question has been asked before by other members, however, I didn't find the answer to their question helpful in my case. I'm doing a simple numerical integral with real numbers in mathematica, but ...
6
votes
3answers
134 views

Transformation of random variables and joint distributions

Given a variable $y_i$, normally distributed with 0 mean and $σ_y$ standard deviation $y_i$ ~ NormalDistribution[0,$σ_y$ ] I want to obtain with Mathematica: The distribution of: $x = \bar{y} = \...
2
votes
1answer
37 views

Draw complete graph with vertices placed at random positions? [on hold]

How can I draw a complete graph on $N$ vertices, such that the vertices are placed randomly on the plane?
0
votes
0answers
78 views

Random network that satisfies the requirements of the Erdős-Rényi model

This is a piece of my Mathematica network assignment, I am really stuck on these. Write a command that generates a random network with n nodes that satisfies the requirements of the Erdős-Rényi ...
2
votes
1answer
62 views

How can I remove extra parentheses in a plot callout?

This question is motivated by this question and its answers. Firstly, I wish to display "O(x)" instead of "x" as the callout labels. When I do this ...
0
votes
0answers
46 views

What is wrong with my code for doing a numerical integration? [on hold]

I try to integrate a function with Mathematica. When I Plot this Function, I can see that the hole graph is in the positive regim of the y-axis. When I integrate the Function numerically with ...
-2
votes
1answer
63 views

Optimization problem

I have the following function ...
0
votes
0answers
52 views

How can I get a soft return?

I want to have two different type of newline so I can print a string which looks like it has multiple newlines but gives me a way to differentiate between them. I want to have string with newlines in ...

15 30 50 per page