TransWikia.com
  1. All Categories
  2. Mathematica

Mathematica : Recent Questions and Answers (Page 80)

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

Grid shows next to image, not on actual image, and ImageDimensions are wrong. What can I do?

I am still using Mathematica 10.3 and I have the following problem: My code is as follows (based on what I found in a related post, see below), but I...

Asked on 06/10/2021 by Marla

1 answer

Need help finding intersection of a hyperbola and a circle

Clear[y, z, x, eq1, eq2]eq1 = (x^2/400) + (y^2/256) == 1eq2 = (x^2/144) + (-(y^2/289)) == 1ContourPlot[Evaluate[{eq1, eq2}], {x, -60, 60}, {y, -60, 60}, AspectRatio -> Automatic]Im...

Asked on 06/10/2021

3 answer

NMinimize for searching global minimum

I have been trying to find global minimum for this equation for some time now. The equation is quite easy to understand. It is made with sumation of stress equations...

Asked on 06/10/2021 by xxtilenxx

0 answer

Nonlinear 2nd order ODE with regular singularities

I am tring to solve the following ODE with NDsolve $2x~(1-x)~f''(x)+(3-4x)~f'(x)+a~f(x)+b~f^n(x)=0;~~a,binmathbb{R},~ninmathbb{N}$. The mathematica "code" is:sol=NDSolve[{2*x (1 - x) *f''[x] + (3 - 4 x) f'[x] +a*f[x] - ...

Asked on 06/10/2021 by Hamurabi

1 answer

Add a vector to a list of vectors

What is the syntax to add a vector v1 to each vector in a list of vectors v2? I know it has to be simple, but I really have searched...

Asked on 06/10/2021

7 answer

BlankSequence with Plus

When I execute f[g[a, b]] /. f[g[l__]] :> f[l] I get f[a, b] as expected. When I execute f[a + b] /. f[Plus[l__]] :> f[l] I get f[a + b]....

Asked on 06/10/2021

1 answer

Overriding AccuracyGoal in NMinimize

How can I override the AccuracyGoal parameter in NMinimize? Instead of the evaluation stopping at the required Accuracy, I want it to stop after a specific number of iterations, even...

Asked on 06/10/2021 by blackbird_h71

0 answer

Manipulate an integral with variable in limit of the solution of DDEs

I have the following problem:I solved DDEs with some parameters which have two solutions: r and s.Now, I need to calculate and plot (in Manipulate) the following integral:...

Asked on 06/10/2021

1 answer

Inactive[Grad] is lost when NDSolve parses PDE

I encountered this when trying to solve the PDE mentioned here. I've transformed the equation to the following:With[{u = u[x, t]}, neweq = D[u, t] == Inactive[Div][{{u^2}}.Inactive[Grad][u,...

Asked on 06/09/2021

1 answer

Why is ContainsOnly so slow for checking a list is full of zeros?

I'm on Windows 10 Mathematica 12.1.1. I would expect allocating a big ConstantArray and comparing would be slower but apparently it is not:RepeatedTiming[RandomReal[1, 10000] == ConstantArray[0, 10000]](* {0.0000589, False}...

Asked on 06/09/2021

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