TransWikia.com
  1. All Categories
  2. Mathematica

Mathematica : Recent Questions and Answers (Page 141)

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

Simplest way to check if optional parameter is omitted?

Suppose I have a function f[x_,y___]:= (code) and I want my code to check whether the parameter y is omitted. What's the easiest way to do this? I tried some...

Asked on 03/21/2021

1 answer

Evaluate 3D- and 5D-constrained integrals for absolute separability probabilities

In a recent posting, TwoQubits user JimB, employing a change-of-transformations put forth by N. Tessore, was able to confirm a formula for the "two-qubit absolute separability Hilbert-Schmidt probability" for...

Asked on 03/21/2021

1 answer

DSolveValue differential equation list of arbitrary values

I have been solving arrays of differential equations, and recently moved to the general case, where my initial conditions are arbitrary constants (either real or complex). However when I moved...

Asked on 03/20/2021 by ConfusionOverK

1 answer

Density function graph

I want to plot density function graphs of Ailamujia distribution pdf and acd on mathematica software ....

Asked on 03/20/2021 by Sara Malik

2 answer

Numerical instabilities in a solution to a partial differential equation

I have been trying to solve a partial differential equation known as KdV (Korteweg-de Vries) equation using NDSolve.KdV equation is written as: $frac{partial u(x,t)}{partial t}+frac{partial^3 u(x,t)}{partial x^3}=-6u(x,t)frac{partial u(x,t)}{partial...

Asked on 03/20/2021 by bt89

0 answer

How to store and print the same RandomInteger value that met a condition in a Do loop?

Let's suppose that we want to use random guessing to find a matrix G that satisfies the relation F=G.{x,y}:F={x+y}Do[If[F == RandomInteger[{-1, 1}, {1, 2}].{x, y}, Print[RandomInteger[{-1,...

Asked on 03/20/2021 by John Matis

1 answer

How can I merge these two graphs?

Please I would like to plot, in the same graph, these two curves. How can I do that?Manipulate[ ListPlot[Table[ NIntegrate[ Sqrt[((2*(Exp[(r)/(2)] - ((v0)^2)) ...

Asked on 03/19/2021

1 answer

Draw two curves and a surface

I'm trying to draw two curves and a surface, where one of the curves is to appear on the surface. Unfortunately the curves are drawn with very few points and...

Asked on 03/19/2021

1 answer

DeleteCases depending on all elements

I have a listed of Tupels list = {{10, 5}, {20, 4}, {20, 3}, {10, 6}};If there are two elements a and b for whicha[[1]] <= b[[1]] &&...

Asked on 03/19/2021 by fravity

2 answer

How to define smooth random initial conditions consistent with boundary conditions for this 1+2D PDE?

I wrote a fully working code to numerically solve a non-linear variation of the classic 1+2D waves equation. Here's a stripped down version of it (classic waves equation), with...

Asked on 03/19/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