All Questions

Filter by
Sorted by
Tagged with
1
vote
1answer
8 views

Integration NSolve problems

I have some problems in solving this equation numerically in mathematica. Mathematica give me the error message "NSolve::nsmet: This system cannot be solved with the methods available to NSolve&...
0
votes
0answers
18 views

Assessing conditions on list of solutions

I have a list of solutions from Solve[] in the form ...
0
votes
0answers
16 views

price search and compare from appointed websitee

Is it possible to search and compare for the price of a certain product e.g "Dầu thực vật Tường An" in different appointed websites, e.g. https://www.sendo.vn, https://www.lazada.vn, https:/...
2
votes
1answer
28 views

How Color the PathGraph Showing Multiple Shortest Paths on the US Counties Map

Below is code for mapping the connectivity of US counties. It comes from the Mathematica reference on "Connectivity of US Counties". I've highlighted 3 shortest paths shown in red. However, ...
-1
votes
0answers
22 views

how we can devide a N-dimensional space? [closed]

I am new with Geometrie and mathematic problems so maybe I said some wrong things. I have an N-dimensional space where there are a set of points (2^N points) where each point has a coordinate like ...
0
votes
1answer
40 views

Trying to find a value for a Taylor series that matches the plot of the function

The function is g[x_] := (1/Sqrt[2*Pi])*E^((-x^2)/2) and I'm trying to find an $n$ for Series[g[x], {x, 0, n}], n], that matches ...
2
votes
0answers
31 views

MorphologicalEulerNumber misbehaving in 3D?

Context I would like to compute the MorphologicalEulerNumber of 3D GaussianRandomField as a function of height above a given threshold. Attempt I proceed as follows:...
1
vote
2answers
52 views

How to draw a barchart with a vertical line

The following code works just fine with a few caveats. ...
0
votes
0answers
26 views

Converting JSON to CSV but the formatting is not correct

I have a folder of about a million JSON files and I wrote this to convert them quickly to CSV, but the formatting is not correct for the software I'm feeding them into. Here's the code I'm using: <...
1
vote
0answers
40 views

Analyzing anomalies of Bluetooth audio generation with Mathematica

I' m working on an audio generator for physics lab, using an Android device and Bluetooth . However, the response of the Bluetooth speaker is wrong. When programmed to deliver, say 3150 Hz, it may ...
2
votes
1answer
44 views

How to Import multiple sheets (aka tabs) from Google Sheets?

One can Import multiple sheets from an Excel file, say sheet "n" with Import["file.xls"][[n]], but how to do ...
0
votes
0answers
44 views

How to find the eigenvalues of a matrix [closed]

I'm new to mathematica so don't have alot of experience with it. I'm currently trying to make code to find the eigenvalues of this matrix but keep getting an incorrect answer - could someone let me ...
-1
votes
0answers
60 views

How to add labels in the upper-right-hand of the plot? [closed]

I have the following plot: ...
0
votes
1answer
72 views

How to solve this infinite family of equations?

Is there any way to do a problem like this with MMa? I have an infinte set of coupled equations. j is a real integer index where $-\infty<j<\infty$. {a,b,c,d,f} are variables, and K's are ...
0
votes
0answers
30 views

Filter in data-set from .txt file not obeying a set of rules

Well, my question is the following: I have a .txt file that consists of the following data (this file is much larger than presented here): ...
2
votes
0answers
41 views

Limit for some the variable in Mathematica

I have this limit but Mathematica can't solve it??!! ...
2
votes
0answers
41 views

Mathematica package for computing Macdonald polynomials

I want to implement computation of Macdonald polynomials in mathematica. A similar question was raised in another question 5 years ago (Macdonald-Koornwinder polynomials?), but received no clear ...
1
vote
0answers
51 views

Does Mathematica assume real variables in this case?

When we have a function like $f(x) = x^2-1$ and we expand it in a power series about some $x = x_0$, does Mathematica automatically assume that $x$ is real valued?
0
votes
0answers
42 views

How to use AppendTo in do loop?

list = {1, E, (3/2)*E^2 + (3/8), (5/2) E^3 + (25/8)}; AppendTo[list, 2*E*list[[{x - 1}]] + (2*x - 3) (2*x - 4) (2*x - 5) (1/4)*list[[{x - 2}]]] Let x from 5 to 10, ...
0
votes
0answers
23 views

S-Stress for Multidimensional Scaling in Mathematica 12

Mathematica 12 is now supporting MDS. DimensionReduce[{{1, 2, 3}, {2, 3, 5}, {3, 5, 8}, {4, 5, 8.5}}, Method ->"MultidimensionalScaling"] The process is straight forward, but there is no ...
0
votes
0answers
42 views

Is SetDelayed creating Functions?

I was trying to create a named function using a short syntax (I mean avoid writing Function[]). I thought SetDelayed was the short for Function[], but then I had some issues and realized that maybe #x ...
0
votes
0answers
47 views

Why does drawing a plot with function not work? [closed]

Can anybody tell me what I did wrong that I don't get a function in my plot? It's empty, there is no line. f[x_] := Cos (x)/(2 - x^2) Plot[f[x], {x, 0, 2}]
2
votes
1answer
88 views

Solving a differential equation where all functions are unknowns

I'm trying to solve DSolve[f[x]*(x^2*g''[x] - 2*g[x] + 2) + x*(x*g'[x] - 2*g[x])*f'[x] == 0, g[x], x] for $g(x)$, however Mathematica cannot find a solution. ...
1
vote
0answers
23 views

`SpatialGraphDistribution` with `DirectedEdges` doesn't work

I want to create a random graph with SpatialDegreeDistribution and want the edges to be directed. ...
0
votes
0answers
26 views

Errors while trying to do a change of variable

I have the following differential equation: $ \tag{1} \Delta^{-s}\frac{d}{dr}(\Delta^{s+1} \frac{d R(r)}{dr}) + (\frac{K^2 - 2 i s (r - M)K}{\Delta} + 4is \omega r - \lambda)R(r) = 0$ where $\Delta \...
2
votes
0answers
47 views

How to draw projection of a point on a line in 3D?

Let be given a pyramid SABCD. Put H is projection of A on ...
0
votes
0answers
21 views

How can I set the plot range to the point where the function becomes zero?

I have a lot of functions (mostly exponential included and more precisely complicated combinations of Gaussian and Slater ones) which decay and become zero in the different points depending on the ...
0
votes
0answers
15 views

any way to store the values of the controls of a Manipulate so that one can reuse them in the future excutions

I’m using Manipulate[] to adjust several parameters, which will eventually generate some figures. After I get the desired view, I’d like to store the set of control parameters so that I can reuse them ...
0
votes
0answers
14 views

SocketConnect with ZeroMQ.NET

A ZeroMQ.NET demo could be found at the github ZeroMQ/OMQ_Server, ...
1
vote
0answers
42 views

What does the Q stand for in some built-in symbols? [closed]

What is the "Q" in built-in symbols such as FreeQ[expr, form], MemberQ[list, form]? (Query?) Thanks.
1
vote
2answers
60 views

Exporting a Large List to a CSV File Kills Kernel in 12.3?

I noticed that Mathematica 12.3 (also 12.1) kills the kernel when I try to Export a large list to a CSV file. No error messages, no warning, just a hard stop. Here is the code I wrote to replicate the ...
0
votes
0answers
45 views

How can I make black (or any other color ) lighter arbitrarily? [closed]

Black returns in Mathematica, a normal black color. With Lighter[] we can make it somehow grey. My question is: How can one make, let's say black, arbitrarily lighter? That is, for example, 10% ...
3
votes
1answer
217 views

Problem with running this code in Wolfram Mathematica

I have a hard time running this: ...
4
votes
1answer
112 views

Calculate median of pdf using NSolve

I was trying to compute the median of a pdf using NSolve, defined such that $$ \int_{0}^{\rm median}p(x)dx = \frac{1}{2} $$ but NSolve seems unhappy about solving for an upper limit of an integral. A ...
0
votes
1answer
61 views

Texas hold 'em poker game Probability task

I wrote this code below ...
0
votes
1answer
39 views

Mathematica says this Gaussian integral does not converge [closed]

Mathematica does not recognize this special case of Gaussian integral. Integrate[exp(-Q^2-(v^2R^2/16/a^2/Q^2)), {Q, R/(4at)^(1/2), Infinity}, Assumptions -> a >= 0 && t >= 0 &&...
1
vote
1answer
45 views

How to 'define' value in Assumptions but not let Simplify replace it?

I want to let Simplify know the exact value of a symbol, to resolve logical statements, but don't want it to actually replace it. For instance, I would like ...
0
votes
1answer
36 views

2D projection of a 3D plot [duplicate]

how we can obtain a 2D projection of 3D plot. I would to have a plot like this : PS: the plot is a publication paper.
0
votes
0answers
26 views

Should Expanding a function result in changes to its Plot?

(Title needs improving) I'm trying to find the analytical expression for the attenuation of an AC voltage through a passive low-pass filter. The solution involves finding the time-dependent charge (<...
0
votes
1answer
37 views

Plotting two vector fields $\vec V_1=-y\hat i+x \hat j$ and $\vec V_1=2\vec V_1$ on the same plot

I want to compare how two vector fields $\vec V_1=-y\hat i+x \hat j$ and $\vec V_1=2\vec V_1=2(-y\hat i+x \hat j)$ various concentric circles $x^2+y^2=a^2$ with $a^2=1,2,3$ etc. I can plot them ...
0
votes
0answers
23 views

Tips to help FindInstance with a lot of complicated inequalities

I'm trying to find a numerical instance (I don't need arbitrarily high precision) of solution to 7 relatively complicated inequalities (plus the region specification) involving 8 variables. The ...
1
vote
0answers
20 views

Initialization cells not evaluating?

I think I'm experiencing a bug, but perhaps there is a simple explanation and fix. I have many initialization cells in my notebook (a few hundred). As of quite recently, they stopped all evaluating ...
1
vote
1answer
56 views

Finding rotated function on a sphere in Mathematica

I'm trying to rotate a scalar valued function $$f(\theta,\phi)$$ on a sphere. Following this post, I get $$ \begin{pmatrix} f'(\theta',\phi')\sin\theta'\cos\phi'\\ f'(\theta',\phi')\sin\theta'\sin\phi'...
0
votes
0answers
38 views

Finding minimum in a list of lists

Imagine I have the following list {{0, {2,3}}, {-1, {5,3}}, {2, {2,6}}, {5, {5,0}}, {0, {1,1}}, {-2, {10,2}}, {3, {4,2}}}; I want to pick the element in the list ...
0
votes
0answers
27 views

If condition not running [closed]

I have the following code: ...
0
votes
0answers
65 views

Who found also, that algebraic equations of degree 5 can be solved analytically much more than in literature? [closed]

We should go on with Euler's determining equations for algebraic degree 5. Has anyone some experience with this?
0
votes
1answer
62 views

How to clear all things inside a loop?

It happens to me a lot when I write a loop, I have to Clear all functions, variables, definitions and etc to be sure my calculations is done correctly. namely as a ...
0
votes
0answers
36 views

How to solve this set of integrated PDEs

Could anyone help me solve set of pdes with embedded integration? The pdes below is solvable , but can not be solved when I tried different parameters such as ...
2
votes
0answers
35 views

'Cases' command does not recognize specified patterns

I am having a problem with the "Cases" command. If I execute the following code ...
1
vote
1answer
33 views

NDSolve Encountered non-numerical value for a derivative at t == 0

I want to solve this no-linear differential equation system: $1.2 (1 + 20(r(t)^2 + 2^2 + 4 r(t) \sin(\phi(t)))^2) \ddot\phi(t) + \dot \phi(t) + \phi(t) = 50 \sin(4 t)$ $\textbf{If}$ ($|-r(t)\dot\...

15 30 50 per page
1
2 3 4 5
1599