All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

How to get the value of each item in the list and keep the structure of the list

I want to get the value of each item in the following list and keep the structure of the list, get the result ...
0
votes
0answers
19 views

How to calculate complicated definite integral?

I have a function of 4 variables that is defined like this, ...
0
votes
1answer
10 views

Double Sum Computation Issue

I'm trying to compute a double sum... For scalars, it seems to be working fine. Here is an example: ...
0
votes
0answers
13 views

How to implement a function within a function for Newton's method?

I have to evaluate different versions of Newton's method and the article where those equations come from have function defined within the method. For eg. ...
2
votes
1answer
22 views

insufficient boundary condition error

I wish to solve the initial value kdv equation with a boundary condition that particles are fixed at the end points. Below is my code. ...
1
vote
1answer
21 views

Increasing point size in 3D + color plot

I have a "4D" plot (3D + color) that I want to increase the point size of the points. Seems easy enough right? Just use the following is what I thought: ...
0
votes
0answers
20 views

Shifting Scheduling

i have 4 staff in my office work in shift, the shift devided in three part s3 (morning 5AM to 13PM) s2 (afternoon 13PM to 09.00PM) s1 (night 09.00PM to 05.00AM) in one month let say 30 days, i have ...
1
vote
1answer
18 views
1
vote
0answers
25 views

Plot is passing a bizarrely shifted x_min value to the user-specified Ticks function

The documentation for Mathematica's Ticks option says that you can specify the ticks for an axis by passing a function rather than a plain list description. The ...
0
votes
0answers
38 views

Virasoro algebra

My question here is very computational. My problem is in mathematical physics, so I want to ask the community what kind of software they use to do the following computation if there is any? Let $$L_{...
2
votes
0answers
28 views

Why the built-in function `LegendreP` is slower than the custom function

In my test, I found that the built-in function LegendreP of MMA is not as fast as the user-defined function. MMA should have already compiled and optimized the ...
2
votes
0answers
28 views

How to show Mathematica full output of a big Graph

I developed a Graph with 100,000 nodes and 402,000 edges. However, I can't see it because the output is truncated: Also, when I try FullForm I get memory error, even with a 32 CPUs, 120GB RAM + 8 ...
0
votes
0answers
22 views
0
votes
0answers
29 views

Manipulate a parametric curve [closed]

I wish to manipulate a parametric curve with a parameter being the end-point like the following: ...
1
vote
0answers
27 views

Pattern matching and searching for subgraphs?

I have a large list of graphs where each node has a dictionary. I'd like to query that list like a database, ie. I have a graph and want to find examples that contain it as a subgraph (and where the ...
1
vote
1answer
41 views

How can I make Tube behave like Line when working with non-ideally scaled data?

I have a set of data that Line enjoys quite well, however, Tube seems to throw something of a tantrum when I deliver the same ...
1
vote
2answers
73 views

Patterns with AND, OR, NOT

I pretend to use DictionaryLookup[{"Language", complex_Pattern}] but can not achieve it finally to get it with like three layers ... Specially, I tried ...
4
votes
2answers
95 views

Why does D ignore conditions specified on a custom function?

I define a function with a condition like so. ClearAll[foo]; foo[expr_] /; FreeQ[expr, bar] := expr Such that foo[12] returns ...
4
votes
1answer
47 views

Efficiently finding spheres furthers apart along and perpendicular to a given direction

Setting I am dealing with a box of spheres, all having the same radius and inserted into a finite box size without any overlaps. Along a given direction $\mathbf v$, I am trying to find: (a) The two ...
0
votes
0answers
42 views

Plotting Function covers all 4 conditions

I want to plot an R function that covers all 4 subcases. For example, R = Rd if gamma2 > 2 && xmax < gamma1, R = Rdr, if gamma2 <=2, xmax I tried which and piecewise function but it ...
1
vote
0answers
40 views

Compute the sum given a recursion for each summand

I have a system of two recursive equations with two unknowns A[n] and B[n] which apparently Mathematica can't solve RSolve not ...
0
votes
1answer
50 views

radius of convergence for taylor series in mathematica

Assume we have the following series: 1 - x^2/6 + x^4/120 - x^6/5040 + x^8/362880 Can I evaluate the radius of convergence for both of them? in Mathematica? In ...
5
votes
1answer
155 views

How to plot an implicit solution of a differential equation?

The question is to find and sketch the solution of the following initial value problem: $$(x-y)dx+(3x+y)dy=0$$ and for $x=3$ we have $y=-2$. I was able to find an implicit solution using ...
2
votes
1answer
49 views

Atan2 function unwrap

I use atan2 function in my calculations. The results are as follows: Matlab has the unwrap function, and it copes well with the correction of such plots. How to do it in Mathematica?
2
votes
0answers
47 views

Can Delayed FormFunction redirect to itself (with body)

I want a FormFunction to show a history of inputs, by default an empty list. But once the submit is hit, the form should be reloaded with the history shown on top. ...
1
vote
1answer
42 views

How to turn a collection of contour lines into a printable object (mesh, etc)?

Inspired by Henry Segerman's developing fractal curves, I decided to try to convince Mathematica to do something similar. The inspiration for cf, f, and g below came from How to make this Dragon Curve?...
0
votes
0answers
24 views

Hypergeometric function not giving numerical value

I tried to run the following code ...
1
vote
2answers
43 views

Tensor contraction

How do I let mathematica compute a tensor contraction like $\delta_{ab}\delta_{bc}$ with an output $\delta_{ac}$ efficiently? I tried TensorContract and TensorReduce but they were not helpful. ...
0
votes
0answers
38 views

Nest function n times

A trivial example would be f[x_]:=x Nest[f, 7, n] which would of course be 7 because it is independent of ...
1
vote
1answer
28 views

Missing decades in LogLinearplot

I wanted to display all the decades (from 1 to 10^8 like 1 ,10, 10^2, 10^3 etc) in LogLinearPlot and also tried the solution of enter link description here. And my code is something like this: ...
0
votes
0answers
23 views

Brackets on pattern test with argument

I am defining a pattern to be used as a test, that itself depends on an argument. For instance, I might want to check that something appears in a given list: ...
9
votes
0answers
54 views

Is FinancialData about to be deprecated?

FinancialData seems to be losing information. For example in the documentation it says: ...
1
vote
1answer
40 views

Using AbsArgPlot on parametricNDSolve output

I have solved following equation using ParametricNDSolve $$ \frac{\mathrm d^2y}{\mathrm dx^2} + \left(a + \frac{2}{\pi} b\ \arctan x\right)y = 0 $$ ...
0
votes
0answers
18 views

ParametricNDSolve not accepting equation [duplicate]

I am trying to solve following differential equation $$\frac{d^2y}{dx^2}+(a+\frac{2}{\pi}b\hspace{3pt}\tan^{-1}x)\hspace{2pt}y=0$$ To solve it in mathematica I wrote the following code ...
1
vote
1answer
40 views

How can I price of 100 EUR in RON on 1st of every month back to 4 years

I would like to see the difference between 450 RON and 100EUR converted to RON on 1st of every month back to 4 years. possibly with a cumulated chart...
9
votes
1answer
81 views

How to test upload speed?

There are many symbols for understanding internet-related properties: $NetworkConnected, PingTime, ...
3
votes
1answer
111 views

Code or algorithm for the built-in function SavitzkyGolayMatrix

Does anyone know the algorithm that the function SavitzkyGolayMatrix implements? Unusually, the help page does not spell out an explicit formula or the algorithm ...
1
vote
1answer
20 views

NotebookImporting sections from documention notebook?

How can I use NotebookImport for grabbing "ExampleSection" cells? ...
2
votes
0answers
20 views

Export and Printout3D missing pieces in STL file

I'm experiencing some strange behavior when using Export and Printout3D on the entire object created below. Exporting each part individually or using Printout3D work just fine. Also, for some reason ...
1
vote
0answers
48 views

FindSequenceFunction instantly throws an exception

FindSequenceFunction[{2, 4, 6, 7, 14, 29, 18, 5, 5, 2, 4}] SystemException["MemoryAllocationFailure"] $Version "12.0.0 ...
1
vote
0answers
53 views

Solution of a Bessel-like Equation with Boundary Condition at Infinity

I am trying to solve the following differential equation: $$x^{2}P''(x) + 2x P'(x)+[\omega^{2}x^{2}+2]P(x)=0\,,$$ defined for $x>x_{0}>0$ and with the following boundary conditions $$f(x_{0})=...
2
votes
0answers
32 views

Is there an option to make Image3DProjection respect the underlying data type of the image array?

Even though Image3D supports a variety of data types (Bit, Byte, ...
1
vote
0answers
15 views

How to build a text file running notebook in the cloud

I have a Mathematica notebook that works perfectly, generating a Scala tuning file and downloading it as a Cloud Object to my local computer. I converted the code to run in the Wolfram Cloud, and all ...
0
votes
0answers
69 views

Numerical estimates on asymptotic of given functional as $x\rightarrow \infty$

Consider the following functional : $$ I(x,s) =\int_0^\infty\mathrm dy \frac{F(x + \mathrm iy, s) − F(x −\mathrm iy, s)}{\mathrm e^{2πy}-1}, $$ where $ F(z, s) = \dfrac{\sin^2[π\Gamma(z)/(2z)]}{z^s} ...
-1
votes
0answers
71 views

How to use compile on Windows10?

I am trying to use Compile to make my program faster but I get this errors: ...
0
votes
1answer
52 views

Which command can I use to obtain numerical solutions of a two-variable equation? [duplicate]

Regarding my previous question, which command I can use to obtain the numerical solutions of a general two-variable equation: f[x_, y_] := 0 for some specific ...
0
votes
1answer
44 views

Using the (long) out of a function to define another function [duplicate]

It might be a trivial question but I haven't been able to find solution myself. Suppose that I have a calculation whose rather long output that is dependent in some variable e.g. ...
0
votes
0answers
29 views

What are the default option values for NIntegrate? [closed]

I keep getting errors from NIntegrate that seem to stem from precision/accuracy settings. So it is natural to start playing around with settings like ...
-1
votes
1answer
46 views

Curve fitting to a set of data [duplicate]

I am trying to fit a polynomial to the data listed as {{0,6.67},{6,17.33},{10,42.67},{13,37.33},{17,30.1},{20,29.31},{28,28.74}}. When I use ...
0
votes
0answers
23 views

Is it possible to have a gradient in the background colour of a TextGrid?

This question seems to imply that it is not possible. However, it is about six years old. I wonder if more recent versions of Mathematica make graded backgrounds ...

15 30 50 per page
1 2 3 4 5 1339