All Questions

Filter by
Sorted by
Tagged with
3
votes
1answer
106 views

Generating a thick spherical gyroid object for 3D printing

I have the code for the spherical gyroid as shown below. My problem is when I attempt 3D printing, I can not obtain the object because the thickness is too small. How do I increase the thickness of ...
5
votes
0answers
132 views

Incorrect result by DSolve

For real $x$ consider the trivial equation $$|y'(x)|=-|x|.$$ Since the left side is always positive and the right always negative, there is no solution. Let's try ...
3
votes
2answers
106 views

Combining two plots with different x-axes and not labeling the x-axis

Below two figures are just for example. What should I do if I want to plot the two figures below on the same plot with the same y-axis only that the x-axis is also same but not labeled such that. As ...
5
votes
1answer
96 views

Difference between MTensor and MNumericArray in Mathematica

Since I'm starting to look into C-programming using LibraryLink to connect Mathematica to computational expensive calculations, I was wondering about the two available options within LibraryLink for ...
0
votes
0answers
25 views

recursive time dependent NDSolve calculations but full kernel

I would like to make a very long time dependent NDSolve calculation, but the program indicates a full kernel after a while. How can I make the calculations by steps, saving the results at ...
0
votes
1answer
75 views

Fourier Series of ODE

I am having trouble finding the Fourier series of a 2nd order ODE. Should I be using the piecewise function as well to set up the range for t? Solve $ y'' + \omega^2 𝑦 = r(t) $, where $ r(t) = |t|, -\...
0
votes
1answer
48 views

How to solve this wave EDP with Mathemamatica ? What is the best solver for this?

Help me please to understand how to solve many EDP with Mathematica. ...
-3
votes
2answers
182 views

How would I go about creating a tear drop shape of cubes in mathematica? [closed]

I am just practicing making some new designs with Mathematica and I thought of this recently. I want to make a tear drop shape (doesn't matter the orientation) constructed of mini cubes. I am ...
0
votes
1answer
77 views

Simplifying / approximating compound negative binomial - binomial distribution

Suppose we have that the distribution of a count $x$ is given by a binomial distribution: $x\sim \mathcal{B}(n,\theta)$. Further, suppose that the sample size $n\sim NB(\lambda,\kappa)$, where this ...
1
vote
2answers
29 views

Graph of the linear fit with the experimental points of different colors and numbered

I would like to graph the following points and their respective line of fit on the same graph, but I would like to know if it is possible that the points are colored with different colors just as in ...
0
votes
1answer
50 views

Exporting string with newline and tab symbols to LaTeX

We have a string that has "tab" symbol between letters "B" and "C" and "newline" symbol between letters "C" and "D": Input: ...
4
votes
1answer
72 views

Exporting to PDF with correct size and resolution

I am trying to export a GraphicsGrid to a PDF such that the PDF has a size of 8x10 inches and a resolution of 300 dpi. Here is what I have done: Create the ...
2
votes
1answer
90 views

Grouping the list

Let's assume that I have randomly generated list llist = {{0, 1}, {2, 1}, {4, 4}, {0, 3}, {3, 4}, {2, 2}, {2, 3}, {2, 0}}; We can represent this data using the ...
1
vote
1answer
72 views

Directional derivative of a function of three variables

I'm a Mathematica beginner and I'm and struggling with a problem concerning heat flow, not sure how to set it up with three variables. Any help with what I should input into Mathematica will be much ...
2
votes
1answer
63 views

Radial PolarTicks skewed when aspect ratio is not 1

In the following plots, the radial axis phi == 30 Degree has a single tick at r == 1/2. This tick is skewed (i.e. does not cross ...
4
votes
2answers
107 views
7
votes
3answers
224 views

Tensor transformation

Consider the following tensor in coordinate basis $T=T^{\mu}_{\nu\lambda} \partial_{\mu}\otimes dx^\nu \otimes dx^\lambda$ in two dimensions with coordinates $x^1 = x$ and $x^2 = y$. We take $T^{\mu}...
4
votes
1answer
61 views

How to obtain a Region from a numerical (!) function

I'd like to achieve a Region from a purely numerically defined function. Like this one: ...
0
votes
1answer
67 views

Allowing choice between If statements in user-friendly way

Is there a user-friendly way to get a Mathematica notebook to choose between If statements according to the value of a variable? I would like the user to be able to ...
0
votes
0answers
29 views

Finding/Printing Variables that Correspond to the Maximum Output of a List

I am very new to Mathematica and been having a problem that is frustrating because I feel that there must be a simple solution which I just can't grasp. Essentially, I am looking to automatically ...
0
votes
1answer
39 views

$MaxPrecision doesn't work

I want to set MaxPrecision low, to like 2 decimals, but after I set it, it stays at 5 regardless. I've tried using two commands: ...
2
votes
1answer
93 views

Sorting Eigensystem According to Complicated Rule

I have looked for an answer to this but the near duplicates I could find seemed slightly distinct. I have a matrix $A$ which has eigenvalues in pairs $\lambda_1,-\lambda_1,\lambda_2,-\lambda_2,\dots$. ...
0
votes
0answers
41 views

Solving quadratic eqaution with many parameters

It seems like Mathematica or my PC has problems to handle long equations: ...
0
votes
1answer
31 views

Problem evaluating numerical value of MeijerG[] function at some parameter?

I need to evaluate this sum: Where x = 33.6614 and $k,l,s$ are non-negative index of the three sum. For example $k,l,s=0,1,2,3,...$. Furthermore, $M$ is a positive integer that is $M=1,2,3,4...$ ...
0
votes
0answers
30 views

Exponential simplification in Refine, Simplify and FullSimplify

These lines are the MWE of a bigger script ...
-1
votes
1answer
33 views

How to make sure the answer is limited to Positive Reals?

As the title described, there is code: ...
7
votes
2answers
325 views

How to recreate this image warping effect?

I'm looking to create image warping effect that looks like this animation, which resembles a misshapen magnifying glass being moved over a background: Not sure where to start, but here are some ...
7
votes
0answers
113 views

Why 99.998474% instead of 100%?

I want to export a red square to the SVG file Export["red_square.svg", Graphics[{Red, RegularPolygon[4]}]] I noticed that in the exported SVG file, the ...
2
votes
2answers
144 views

Subtract peaks from curve

If I have the following data: https://pastebin.com/2jgDw4iQ which plotted using the following code ...
2
votes
0answers
51 views

Referring to matrices with index

For exampe I have two matrices, with index 1 and 2 Mat[1] = ConstantArray[0, {2, 2}] Mat[2] = ConstantArray[0, {2, 2}] I wanna assign new value with ...
7
votes
2answers
170 views

Exporting image and scale

Let us say I have a plot, for example that one: Plot[x^2,{x,0,5},AspectRatio->5] and I would like to export it as a PDF in such a way that if I print the PDF ...
37
votes
1answer
2k views

What's the deal with next generation Wolfram compiler?

Sources: Old Compiler (Rob Knapp Nov2011) Computer Science in Mathematica (Abdul Dakkak Dec2014) Compilation Technology (Tom Wickham-Jones, Abdul Dakkak & Steve Wilson Dec2015) The Wolfram ...
1
vote
1answer
39 views

VectorPlot and VectorPlot3D showing blank output

I am trying to plot the following simple vector field $$\sqrt{4-x^2-y^2-z^2}*(y,-x,0)$$ but when I plug this field into the functions VectorPlot and ...
7
votes
1answer
179 views

How to deal with Polyhedron as region?

I'm quite new to Mathematica and have big troubles with understanding regions correctly. Especially when using the function Polyhedron I'm completely stuck. According to the documentation, the ...
0
votes
1answer
36 views

Replace Table with a fast matrix operation to create for matrices A, B the tensor (b_{ij}A) and similar questions

I have two (nxn)-matrices A=(a_{ij}) and B=(b_{ij}) and I'd like to create the (nxnxnxn)-List C=(b_{ij}*A) so e.g. ...
0
votes
1answer
46 views

Remove complex part of a solution

I have a function intSL[a,zl,zh] where I want to compute its derivative with respect to zl given some values of ...
0
votes
1answer
39 views

Creating chart labels of two different Manipulated data sets in BarChart

I want to add chart labels to different datasets that are chosen via manipulate. I have a hierarchical data set that I imported from excel and broke down into subgroups using nested associations. ...
4
votes
1answer
83 views

Force results to be displayed in a way often seen in traditional math [closed]

I want to get my output in the form that I would write by hand. I have tried with TraditionalForm, but it did not work. I've looked at several answers in this SE ...
3
votes
2answers
83 views

Estimation of the expected Euclidean distance between two random points on a unit $n$-hemisphere

What is the best approach to estimate, with Wolfram Mathematica, the expected Euclidean distance (in a $(n+1)$-dimensional space) between two points selected uniformly at random on a unit $n$-...
0
votes
1answer
55 views

Derivative of a set of equations [closed]

I am a new learner of Mathematica, I think this question should be simple, but I just can't get the correct answer... This is my equations: p=x+y q=2x+y r=p+q And ...
2
votes
2answers
187 views

Newbie PDE Question

I downloaded Mathematica trial in order to try to solve a PDE that Matlab symbolic couldn't handle. I don't know all the bells and whistles but going along with online documentation. I am trying to ...
5
votes
1answer
84 views

How can I make PlotRangePadding working properly?

I am using the option PlotRangePadding -> None to make the curves exactly cut at the specified PlotRange and thus at the ...
-7
votes
0answers
42 views

Integration using the change of variable formula [closed]

I am working on a project for my multivariate calculus class that is focused around using the change of variable formula to manipulate integrals in Mathematica, and I had some questions: How do you ...
1
vote
1answer
57 views

Hiding the result of a calculation in an interactive panel until all the inputs are entered

I created a partial fraction calculator using the Mathematica command Apart. The image below displays the value 1 before the numerator and/or denominator are entered. How can the code be fixed so that ...
0
votes
0answers
37 views

Solve a linear system using the substitution method [closed]

I know that, for the substitution method, I have to isolate the first variable, plug the equation for that variable into the other equations, simplify the new equations, isolate the second variable, ...
0
votes
1answer
74 views

WolframAlpha can't prove $x^{2n} - 1$ is divisible by $x + 1$ [closed]

I'm trying to prove that $$x^{2n}-1$$ is divisible by $x+1$ for $n \ge 1 $ and $ x \ne -1$. I got stuck so I turned to WolframAlpha, which fail with the reason being $ (x^{2}-1) \: mod \: (x+1) \: != ...
1
vote
0answers
46 views

Coupled stochastic differential equation [closed]

I am trying to solve the following coupled system of stochastic differential equations: $\qquad \dot{x}(t)=y(t)\,\eta(t)$ $\qquad \dot{y}(t)=x(t)\,\eta(t)$ $x$ and $y$ are functions to be solved for ...
0
votes
1answer
70 views

Getting $RecursionLimit errors with FindRoot [closed]

The first time I ran the cells the program was fine, then I started using FindRootPlot, but it didn't work well so I removed the line and went back to using FindRoot and it gave me some crawl errors ...

15 30 50 per page
1
3 4
5
6 7
1474