All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
65 views

Solving a linear algebra problem containing minimal polynomial degree

Consider a set of three-dimensional points ${\left\{{\left(a,ab,abc\right)}~\middle\vert~a,b,c\in\mathbb{N_+}\land a+b+c\leqslant2023\right\}}$. If there exists a non-zero real polynomial $\...
user688486's user avatar
4 votes
5 answers
328 views

Extract data from ragged arrays

I have data in ragged arrays of the form $$\left( \begin{array}{cc} \text{x1} & \{\text{a1}\} \\ \text{x2} & \{\text{a2}\} \\ \text{x3} & \{\text{a3},\text{b3},\text{c3}\} \\ \text{x4} ...
Hugh's user avatar
  • 16k
-3 votes
2 answers
209 views

Solving $2^a - 2^b = 2^x$ for extremely large $a$ and $b$ [closed]

I want to solve the equation $$2^a - 2^b = 2^x,$$ where $a$ and $b$ are extremely large numbers, for example $a =10^{10000 G}$, $B=10^{100G}$ with $G=10^{10^{100}}$, and I don't want to calculate the ...
Maria's user avatar
  • 105
1 vote
3 answers
93 views

Converting two 8-bit integers into a single 16-bit integer

I have a situation where I have a pair of integers {a, b} where a and b are in bytes from a ...
Richard's user avatar
  • 93
0 votes
0 answers
58 views

How to create an n-by-1 matrix from user-input values? [closed]

I want to create a n-by-1 matrix for any n inputed by the user. Also the elements in the matrix should be entered by the user.
amina thasneem's user avatar
5 votes
4 answers
368 views

An accumulated moving average

1. Problem statement In accordance with the standard definitions the inbuilt MovingAverage ...
eldo's user avatar
  • 40.7k
1 vote
2 answers
121 views

How to calculate the depth of the lake in mathematica?

I want to calculate mean depth of Goose lake (mean depth=4.6 m), I use bellow command for this operation, But this command is not automatic and we have to create the coordinates manually, and on the ...
Erfan's user avatar
  • 159
0 votes
0 answers
35 views

Hiding Initialization Cells

I have seen multiple notebooks with near invisible Initialization Cells, and wish to recreate them myself (see screenshot below). In the screenshot, the first Initialization Cell is expanded, ...
Chloe's user avatar
  • 105
2 votes
0 answers
56 views

Using Local LLM Service That Duplicates Open AI API

I have a local service running on https://localhost:PORT/v1 that duplicates the Open AI API functionality available at ...
James Rohal's user avatar
  • 1,404
3 votes
2 answers
194 views

How to Draw Rectangle Chart Using Three Layers of Data?

I have some data given at three levels: ...
Tugrul Temel's user avatar
  • 5,305
1 vote
1 answer
77 views

Post Processing of Solution and Plot of Coupled Partial Differential Equation Over a Semi-Circular Domain

Linked Question: Solution and Plot of Coupled Partial Differential Equation Over a Semi-Circular Domain.II Many many thanks to @Nasser (https://mathematica.stackexchange.com/users/70/nasser) for his ...
user94537's user avatar
2 votes
1 answer
97 views

Finding zeroes of a modified Bessel function of the second kind

Let $$ f_n(\omega):=K_{i \omega}(2\pi n) $$ with $\omega>0$, $n=1,2,\ldots$ and $K_{\nu}$ a modified Bessel function of the second kind. For each fixed value of $n$, $f_n(\omega)$ has an infinite ...
user12588's user avatar
  • 585
1 vote
2 answers
83 views

Finding the maximum amplitide quantitatively using interpolation

I have the following table data = Table[Sin[i], {i, 0, 10, 0.1}] // N And I plotted the data as follows, Now I want to know the value of each maximum with high ...
Lohrasb's user avatar
  • 157
0 votes
1 answer
61 views

Plotting Using Nesting Manipulate

My goal is to plot the number of locatable points and their average point as fig2. The number of points is set by the slider and they are locatable. My code with nesting Manipulate is as shown below, ...
Soon's user avatar
  • 265
0 votes
1 answer
47 views

Showing that the difference between two CDF functions is positive when CDFs are symbolic expressions

I'd like to check the sign of a symbolic expression conditional on some predefined assumptions. More specifically, first, I want to assume that the mean and variance of a normally distributed random ...
elifcansu's user avatar
0 votes
2 answers
43 views

Interpolation function for data with repeating independent variable

I want to find an interpolation function for data in which the x-variable is repeated (example below). The repetition in data is natural and cannot not be eliminated. Can I somehow use ...
SciJewel's user avatar
  • 319
1 vote
2 answers
71 views

Mapping from n-sheeted Riemann surface to the complex plane

Reading about conformal field theories in two dimensions, I run into the following statement needed for a demonstration: Consider an $n$-sheeted Riemann surface with branch cut along (0,$\infty$. This ...
G.Lebonwski's user avatar
4 votes
4 answers
147 views

How to check if at least one ordering of the given row matches one of the rows of a table?

Consider some list of elements ...
John Taylor's user avatar
  • 4,984
2 votes
4 answers
204 views

How to check if the given row matches one of the rows of a table?

Consider some table tabb = RandomInteger[{0, 4}, {5, 4}] and a row row = RandomInteger[{0, 4}, 4] How to check if ...
John Taylor's user avatar
  • 4,984
4 votes
1 answer
135 views

Select a specified subset of vertices distributed on a circle

A circular embedding is a graph embedding in which all graph vertices lie on a common circle, usually arranged so they are equally spaced around the circumference. If I only specify that some of the ...
licheng's user avatar
  • 1,873
0 votes
1 answer
61 views

How to give conditions and solve an integration? [closed]

I want to solve an integration, $\int \frac{da}{\sqrt{\frac{8 \pi G \Lambda}{3}a^2 - K +c_1 a^{-(3k+1)}}}$ Here, how to give conditions k $\ge$ 0, G$>$ 0, $\Lambda$ $>$ 0 and K can be zero, ...
apk's user avatar
  • 307
0 votes
0 answers
79 views

Is there a way to optimize it for larger n?

This is Domen's code from my previous thread here. I think it covers all the cases that I mentioned there and works well for small values of n. However, for large ...
emnha's user avatar
  • 2,361
0 votes
1 answer
42 views

About using series function

I am using Series function on (1/z)(-k^2)^z. Up to z^0, the function gives me 1/z + Log[-k^2]. But in the standard textbook on QFT, it turns out the expansion should give 1/z + Log[k^2/mu^2] -i*pi up ...
NovoGrav's user avatar
7 votes
2 answers
336 views

Tomographic Reconstruction of a Convex Polyhedron from its Orthographic Projections

So, I can construct a random polyhedron and find its 3 silhouettes onto the 3 standard planes. For example, ...
Teg Louis's user avatar
  • 455
1 vote
2 answers
60 views

Conjugate symbol

Is there a way to make mathematica display Conjugate[z] as z* or something like that? It gets very verbose when there are multiple conjugates in an expression, it becomes hard to read.
Gappy Hilmore's user avatar
1 vote
1 answer
34 views

Manipulate: How re-initialise the initial value of a dependent PopupMenu driven by another PopupMenu?

Using Manipulate, I would like the items offered in a 2nd PopupMenu to be driven by a 1st PopupMenu. I can get the dynamic driving of the offered items working, but not the initial value of the 2nd ...
Webel IT Australia - upvoter's user avatar
1 vote
0 answers
27 views

Performance of DensityPlot3D with non-opaque Graphics3D

Does anyone have problems with performance of graphics combining DensityPlot3D and any other non-opaque Graphics3D? If I combine ListDensityPlot3D (very simple one, first from documentation) with only ...
Lechuu's user avatar
  • 392
1 vote
1 answer
54 views

Keywords included in most sentences in a paragraph?

I created a few functions that will retrieve some text from certain medical articles. However, not all articles are useful or even match the keywords I provide. Is there a way to "grade" ...
Sam B's user avatar
  • 159
0 votes
0 answers
60 views

Stiffness or singularity in NDSolve for a system of equations with switchpoint

I am trying to solve the following set of equations: ...
Charles's user avatar
  • 73
7 votes
1 answer
108 views

Getting Area from GeoGraphics

I want to find the area covered by the reservoir of a dam using a satellite image. This is what I have so far. ...
Navvye's user avatar
  • 39
2 votes
1 answer
102 views

Solution and Plot of Coupled Partial Differential Equation Over a Semi-Circular Domain.II

This question is connected with reference to my previous question (Solution of Dimensionless Partial Differential Equation Over a Semi-Circular Domain), where I asked for a help to solve the following ...
user94537's user avatar
0 votes
2 answers
97 views

Why can't NSolve find values that FindInstance can?

I am trying to solve for \[Epsilon], given three input paramters n, x and ...
Dotman's user avatar
  • 376
0 votes
0 answers
57 views

Why does the string "\" prevent a graph6 string conversion to a graph?

I input the graph6 string ...
licheng's user avatar
  • 1,873
2 votes
1 answer
121 views

Recurrence formula evaluating with speacial counting of subscripts

Hoping to check some recurrance relationship like this $a_1 = x$ and $a_2 = y$, with $$ a_{2n+1} = a_{2n} a_{2n-1} $$ and $$ a_{2n+2} = a_{2n+1} + 4 $$ Tried ...
CasperYC's user avatar
  • 1,460
2 votes
1 answer
85 views

How can I use UpSet with a derivative value?

I'm trying to UpSet a certain value for the derivative of a function $Y=Y(l,m,x)$. This can be done by: ...
Nitaa a's user avatar
  • 612
0 votes
0 answers
38 views

Plotting the energy density of Gravitational Waves

Is there a way to reproduce the curve of the spectral energy density of the Gravitational Waves in Mathematica, Figure (1) in : 0703290. It is given by Equations (63) and (64).
Dr. phy's user avatar
  • 335
1 vote
2 answers
83 views

Can you recover the original vectors that, when summed together, achieved a particular criteria

I am wondering if it is possible to take the binary strings of length $3$ (tuples) whose sums have weight $2$ (i.e they have $2$ non-zero entries)(binary case, meaning they have two $1$'s entries) $$u ...
Aislin_367's user avatar
3 votes
2 answers
111 views

Represent data as a table with diagonally split color-coded cells

I have two rows of values that I'd like to represent as a table, where cells are diagonally divided showing color-coded values with column A and column B values for each row such as below: Any neat ...
dziakku's user avatar
  • 301
0 votes
0 answers
22 views

Opening of help web hesitating few seconds [closed]

I do not have documentation stored on my PC to save some space on HDD. When I want help on some function I type its name and press F1 and online documentation of ...
azerbajdzan's user avatar
  • 7,094
4 votes
8 answers
465 views

Delete list elements above a certain threshold

1. Problem statement Going from right to left, I want do delete all elements after they have occured n times. The solution I found seems to work reliably, but is ...
eldo's user avatar
  • 40.7k
1 vote
0 answers
37 views

Parametric Plotting 6D dimensions to 3D for Visualizing a Solution

I am trying to find out when: $$f(x,y,z,α,β,γ):= zcos(β)cos(γ)+y(cos(γ)sin(α)sin(β)+cos(α)sin(γ))+x(−cos(α)cos(γ)sin(β)+sin(α)sin(γ)),$$ where $α,β, \text{and } γ$ can be any value in $[-2\pi,2\pi]$ ...
Teg Louis's user avatar
  • 455
1 vote
2 answers
121 views

Integral convergent or divergent?

How can I find out for what values of r (both lower and upper limits), is this integral convergent/divergent? ...
Math_student's user avatar
1 vote
2 answers
65 views

Find the point with the largest slope change

I have a list of x-y data: ...
Mr.2023's user avatar
  • 189
1 vote
0 answers
51 views

Why this code does not show three legend lines?

My code shows empty legend lines. What should I do to show the graph with three legend lines? ...
Irram Riaz's user avatar
2 votes
0 answers
68 views

Solve state space equations

I never used Mathematica before. But I need to solve this system of equations for xt0, xt1, xt2, t1, t2. Everything else is given. xt1,xt0, xt2 are 5x1 matrices. t1 and t2 are numbers. The code below ...
Alex's user avatar
  • 21
0 votes
0 answers
37 views

FermionSpinSum: encountered a fatal problem and must abort the computation

While running my teacher example using Feyncalc and FeynArts 3.10, I encounter this warning from Mathematica ...
Sean's user avatar
  • 23
3 votes
1 answer
84 views

Add custom "Copy as" submenu

I would like to add another command to "Save as" menu that is generated by right clicking on selected text. We have there "Plain Text" and after this I would like to add "...
azerbajdzan's user avatar
  • 7,094
0 votes
1 answer
29 views

WolframAlpha::kbserr: Request to knowledgebase server api.wolframalpha.com failed with error code 503 [closed]

It is all in the title. If I run WolframAlpha["2+2"], Mathematica returns the error ...
Cryme's user avatar
  • 133
0 votes
0 answers
43 views

How to set the OpenAI endpoint `OPENAI_API_BASE` for the Chat Notebook?

I have an OpenAI Key associated with a specific OpenAI API Base, such as https://openaiXXX.cloud/v1, instead of the default base ...
Peace Wang's user avatar
0 votes
0 answers
47 views

Symbolic multiplication and manipulation of large matrices [closed]

Please excuse me if my question appears to be elementary, or if it has already been answered elsewhere. I have done many Google searches, and also looked extensively through these Mathematica stack ...
Topper's user avatar
  • 9

15 30 50 per page