# All Questions

69,628 questions
Filter by
Sorted by
Tagged with
8 views

### Why FilledCurve and BezierCurve or BSplineCurve do not fit

I want to draw the outline of a circle (it's actually the glyph period from Cascadia Code font): ...
7 views

### Poisson equation with pure neumann boundary conditions and zero average

The problem is the following: Thanks for the answer.
9 views

### The convergence/divergence of lim x>0 ln(1+f(x))/f(x) when f(x)=sin(1/x)x^2 [migrated]

This question came up between me and my teacher when we discussed whether the following when lim x>a f(x) = o does lim x>a ln(1+f(x))/f(x) = 1 is true or not. It is widely known that lim x>0 ln(1+...
30 views

### How to draw surface with four space curves as boundaries

How to draw a surface with four space curves as boundaries of the surface? ...
41 views

### Problem computing a cylindrical Heat equation with a parameter alpha

i have been struggling to compute a particular instance of cylindrical 3D heat equation. Here is my code : ...
16 views

### StreamStyle can not change the style of some lines which specified by StreamPoints

StreamPoints will give some specific lines, and I want to change their style by StreamStyle, but now it only will change the black part lines style, the StreamScale will change the red lines' style, ...
21 views

### Problem with solve : from trigonometry to polynomials

I want to solve a trogonometric problem by transforming it to polynomial : ...
15 views

### Simplify Difference of Conjugate Pairs

Is it possible to easily simplify the difference of conjugate pairs? In particular, if there's just a single variable, then FullSimplify[a - Conjugate[a]] ...
41 views

V 12.1 on windows. This limit $\lim_{(x \rightarrow 0,y\rightarrow 0)} \frac{x^2-y^2}{x^2+y^2}$ depends on the direction. So the limit does not exist, or could be written as Maple does it, which is $... 0answers 36 views ### Recognize function from its own plot Is there a method that can help Recognize function from its own plot For example : I was given the following plot and I was asked to find out what function/Signal that this plot belongs to 0answers 12 views ### RegionFunction to clip ContourPlot3D results in unexpected shading I am attempting to use RegionFunction to trim an implicit surface drawn with ContourPlot3D to only show the portion inside of a sphere (instead of the bounding box from PlotRange). However, when I ... 0answers 26 views ### ContourPlot taking too long This code creates an 12x12 matrix with entries being complex functions of (kx,ky). Then asks to sort the eigenvalues and make Plot3D or ContourPlot of the lowest eigenvalue. The code was producing ... 1answer 19 views ### RandomPrime inside Manipulate gets evaluated multiple times Manipulate[ m = RandomPrime[d]; {m, d}, {d, {20, 50}, SetterBar} ] Basically, I expected the code to generate a random prime m (under the upper bound d) for me ... 0answers 54 views ### Determinant of 11x11 Matrix consumes immense amount of memory I'm trying to take the determinant of an 11x11 matrix, constructed out of some functions I've defined ... 1answer 53 views ### What are vertexes & edges returned by GraphData for “MengerSponge”? I was messing around in Mathematica and I ended up trying this out: GraphPlot3D[GraphData[{"MengerSponge", 3}]] which produced the following (you can see a video ... 0answers 33 views ### Finding analytic expression with replacement rules I have a function defined as f[k_]:= Maximize[{(x^2/(1+x^2))((1-x^(2k))/(1+x^(2k+1)))^2, 0 <= x <= 1}, x] I would like to find an analytic form of$f$as a ... 0answers 27 views ### How to get information from all built-in Mathematica functions in order to create a Kotlin library like the Wolfram Client Library for Python? I'd like to use (if this already exists) or create a library to use Mathematica together with Kotlin (or Java) (not JLink, please see below). We already have this very useful implementation for ... 1answer 35 views ### 3D Plotting for the solution of stochastic differential equation I have the following solution of the SDE: $$U(x,t)=-6+12 * \tanh \left[x+\left(B(t)-\frac{t^{2}}{2}\right)+\int_{0}^{t} e^{s^{2}} d s\right]^{2}$$ Where$B(t)$is white noise. In the following code ... 0answers 19 views ### GetProcessMemoryInfo The GetProcessMemoryInfo from psapi.dll is a helpful function that can be used to monitor the memory wolframkernel.exe used, where how much memory can be used and is actually used by wolframkernel is ... 3answers 286 views ### How can I replace a set of Nested For Loops with a Functional Code Alternative? Despite having looked over various posts concerning optimizing nested For loop expressions into a functional programming equivalent I still can not figure out how to actually to do this. Such ... 2answers 113 views ### Problem with Integration I want to integrate a function which seems to have no regularity problems. In fact I have defined ... 0answers 36 views ### MeshTools package: can one translate 3d meshes in order to then merge them? I have created a 3d region for Laplace's eqn ... 0answers 22 views ### Difficultly importing GeoTiff format I downloaded Earth data from here. It is a GeoTiff file, which is a map of solar radiation falling on earth. Mathematica claims to import ... 0answers 15 views ### Importing Esri ASCII raster format Does anyone know whether Mathematica has a built-in function to import Esri ASCII raster format data as described at: http://resources.arcgis.com/en/help/main/10.2/index.html#/... 1answer 62 views ### Numerical integration is taking too long whenever the answer is zero Here is my code. ... 1answer 99 views ### RandomVariate cannot sample from a custom multivariate ProbabilityDistribution Let us try to define 2D distribution through PDF: ... 1answer 24 views ### Problem with recursive relations Continuing the topic of my previous questions (link1 and link2), let me ask one more question. I have problems with the following code: ... 1answer 101 views ### Identify flipped data Edit I'll try to reformulate my problem to make it more clear. Consider association with elements of the form {x,y} -> {f(x,y),g(x,y),...}, where keys are ... 0answers 36 views ### Matching Polygons in a Discrete Optimization Algorithm I'm developing a genetic algorithm to optimize some rather complex roof geometry but have run into some very strange behaviour that I haven't been able to narrow down the cause of for a week now. I'm ... 0answers 31 views ### Exponential Syntax Error [closed] h[x_]:= 0.26 + 3.45 E^[-1/x] - 6.72 + 3x^3; (* Syntax: "E^" cannot be followed by "[-1/x]". *) What can I do to solve that? Thank you 2answers 128 views ### How to sketch a non-function graph I tried to plot roots of my equations with Plot, but because these graphs are not functions in some region Mathematica can not handle it. How can I sketch my ... 1answer 51 views ### obtain the phase between two signals [duplicate] I would like to calculate the phase between two signals like f= Table[Sin[x-0.8],{x,-100,100,0.1}] g= Table[Sin[x],{x,-100,100,0.1}] For doing that I use the <... 2answers 54 views ### Finding a third degree polynomial that passes through given points If I have three points xi-1,xi, xi+1 where y(xi) =1 and y(xi-1)=0, y(xi+1)=0 (basis function) and I need to define a line that passes through these points I will use the line equation y-y1=(y2-y1) /(... 1answer 39 views ### Calculate the volume of objects in Graphics3D Is there a way to calculate the volume of these different regions without making the algebra ? ... 2answers 113 views ### Is there a method to simplify RegionIntersection between 2 spheres? I use RegionIntersection to find the circle between 2 spheres, but Mathematica returns : ... 1answer 55 views ### why this simple code is not giving the right answer under Compile I have two sets of inputs that are to be fed to a simple function. The inputs are essentially a set of triangles and the normal for each triangle. The function will compute the gradient about the ... 2answers 94 views ### Replacement in a While loop I want substitute m for n in n = -3; While[True, If[2 n^2 + n - 6 == 0, Break[]]; n += 1/2];n... 2answers 82 views ### Add a column to the left side of a dataset What I am trying to do is to add an id column at the left side of my data set. This is the data set I am working with. I Have three columns and I want to add a new column on the left side with the ... 1answer 116 views ### What is the correct to have package A use package B in its private section without making B visible to the user? V 12.1 on windows. I am loading pkg2, which in its Private section loads pkg1 in order to call one of its function. After ... 1answer 79 views ### Can the new HatchShading and StippleShading plotstyles be used without color? I wanted (PlotStyles) HatchShading or StippleShading for figures that will be printed in black and white, but these options end up color by default. I tried combining with a GrayTones ColorFunction, ... 1answer 44 views ### Problem with a finite sum involving HurwitzZeta Function I'm trying to reproduce some plots from the analytical expression:$f(\xi)=\left(\frac{2}{\beta^2}-1\right)+\left(\frac{\theta\,e^{-\beta}}{2}-\frac{1}{2}\right)\xi+\sum_{n=1}^{60}\left[\frac{(-\beta)...
TL;DR How can I solve $\left(\vec{v}\cdot\nabla\right)\vec{v}=-g\hat{z}-\nabla p$ numerically for $p(r,\theta,z)$ given an explicit $\vec{v}(r,z)$ and $p(r_0,\theta,z)=g z$? Issue I have a PDE ...