TransWikia.com
  1. All Categories
  2. Mathematica

Mathematica : Recent Questions and Answers (Page 35)

Find answers to your questions about Mathematica or help others by answering their Mathematica questions.

Definite integral gives solution involving Pi, is this result exact?

Mathematica novice here. When I compute the integralIntegrate[ Sin[x] Sin[3*x] Cos[2*y] / (Sin[x] ^2 + Cos [y]^2) , {x, 0, Pi}, {y, 0, Pi}]I receive the output$$...

Asked on 08/13/2021 by DashDotDashDot

0 answer

Determining the Method option that FindClusters uses with AbsoluteOptions

I am trying to determine which method mathematica chooses when using FindClusters. The documentation says that it chooses the best one for the data. I have tried to use AbsoluteOptions,...

Asked on 08/13/2021

2 answer

Create my own 'Refine' function

I'd like to understand how the Refine function works internally. I tried to create my own Refine function to support basic cases, my goal is not to reproduce the whole...

Asked on 08/13/2021 by BP75

2 answer

ImageData of an image section

How can I take the image data of the area around a max?img = Import["https://i.stack.imgur.com/YDCGF.png"]markers = MaxDetect[GaussianFilter[img, 10], Padding -> 1]; HighlightImage[img, markers, Method -> {"DiskMarkers", 5}]...

Asked on 08/13/2021

1 answer

Even though the fit seems correct, NonlinearModelFit throws a failed convergence error

Consider the following datadata = {{2, -2.99380668585}, {4, -2.99413053462}, {6, -2.99439488497}, {8, -2.99467836024}, {10, -2.99491958936}, {12, -2.99519218472}, {14, -2.99538900867}, {16, -2.99562768004}, {18, -2.99584876062}, {20, -2.99601713877}, {22, -2.99619549077}, {24, -2.99637350562}}I...

Asked on 08/13/2021

1 answer

Combine list elements preceding a specific element

Consider the following list:{"END", "END", "a", "b", "END", "p", "q", "END", "t", "END"}I want to combine elements that precede the marker element "END"; I also wish to include the...

Asked on 08/12/2021 by user55405

1 answer

Creating new variable names, Symbol or ToExpression

One can create new variable names by Symbol :In[1] Table[Symbol["x"<>ToString[i]], {i,1,5}]Out[1] {x1,x2,x3,x4,x5}But it is also possible to use ToExpression (old firend) :In[2] Table[ToExpression["x"<>ToString[i]], {i,1,5}]Out[2] ...

Asked on 08/12/2021

0 answer

Solving n simultaneous differential equation

Is there a way to solve below $n$ simultaneous differential equations in Mathematica?$$ifrac{d}{dt}M_{n}left(tright) =bsqrt{N+3+n}M_{n+1}left(tright)+hsqrt{nleft(2N+5right)}M_{n-1}left(tright) $$I also want to plot ...

Asked on 08/12/2021

1 answer

How to obtain the grouped separate line curves from the disorder data?

The sample point data and codes are listed as following. The point-image tells us that the data can be divided into nine groups. However, why are they divided into two...

Asked on 08/12/2021

1 answer

Product of manifolds with non−zero non−diagonal boxes in the metric

I'm trying to construct in xAct a metric like this where $g_{munu}$ is 4-dimentional, and $g_{MN}$ - 5-dimentional, $A_mu$...

Asked on 08/12/2021 by Arina

0 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP