TransWikia.com
  1. All Categories
  2. Mathematica

Mathematica : Recent Questions and Answers (Page 116)

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

How can I use WhenEvent with multiple conditions inside NDSolve?

I would like to use WhenEvent but I'm not getting what I want: I set the initial condition varepsilon=0;I want varepsilon to change continuously over time, from to 0.1...

Asked on 04/22/2021 by Mariana Sá

1 answer

Building dynamic functions

When I'm trying to build Dynamic functions (as in this question), I often end up with long repeated lists of dynamic variables, like this:Grid[{{LocatorPane[Dynamic[{p1, p2, p3, p4, p5,...

Asked on 04/21/2021

2 answer

Numerical integral cannot be plotted

I am trying to plot M[x]=e^(x^2) and the integral solution of I= ∫x^2*M(x) dx on the same plot.I did the following:F[x_] := e^(x^2)Lamb = Plot[F[x], {x, 0, 10}]...

Asked on 04/21/2021 by Kurapika

1 answer

Determine and plot major and minor axes of ellipse

I have an element (El) constructed from a list of nodal coordinates (Nodes). Note: The list of nodes can be arbitrarily long. I then create a minimal area ellipse that...

Asked on 04/21/2021 by DvanHuyssteen

2 answer

Running Mathematica inside the Subsystem of the Win 10 (WSL)

There is no problem when installing the Mathematica inside the WSL. But there are several problems when launch mathematica in the shell. It displays:libGL error: failed to load driver:...

Asked on 04/21/2021 by YC. Wu

1 answer

AsymptoticDSolveValue fails at some value

I have the following simple code for obtaining the asymptotic behavior of $r(rho)$ at infinity. The routine works well with $q=-1$ and $q=1/3$ but fails for the...

Asked on 04/21/2021 by user583893

1 answer

Pathfinding on 2D regions

How can I find a shortest or near optimal route between two points where the route is constrained within a 2D region? First, consider the following bundle of lines:SeedRandom[1];points...

Asked on 04/21/2021

4 answer

Precision in Integrals and NDSolve

I have a simplest code for NDSolve, the problem is I am dividing two small numbers, the denominator is so small that it gives me infinity as an answer, how...

Asked on 04/20/2021

2 answer

The number 1 evaluates inside HoldForm sometimes

If I run the following code:Do[ Print["*** ", HoldForm[x] /. x -> a, " ***"]; Print["Replace: ", (HoldForm[x] /. x -> a) /. {n1 -> 1, n2 -> 2,...

Asked on 04/20/2021 by Mattia Landoni

1 answer

DSolve can not solve my PDE

I'm having some trouble using DSolve to solve a partial differential equation. This is my code:pde = d*cp*D[T[t, z], t] == k*D[T[t, z], {z, 2}] + Q;sol = ...

Asked on 04/20/2021

3 answer

Ask a Question

Get help from others!

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