TransWikia.com
  1. All Categories
  2. Mathematica

Mathematica : Recent Questions and Answers (Page 49)

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

using DeleteCases with CoprimeQ

first let me show what I have working correctlyf = Permutations[Range[5], {3}]Riffle[f, Apply[CoprimeQ, f, {1}]]now I would like to automate the deletion of a list {a,b,c} that returns false...

Asked on 07/25/2021

2 answer

Collect Exponential With Pattern

I have some enormous expression with many complex exponentials. Some of these are time varying, others are just phase terms. Here is a small piece of the expression that I...

Asked on 07/25/2021

1 answer

Mathematica does not simplify divergent integrals

I get this as output: $frac{1}{6} int_0^{infty } 6 t , dt$ Why it cannot cancel the coefficients?...

Asked on 07/25/2021

1 answer

How to speed up Minimum Spanning Tree algorithm?

How to speed up MST algorithm? I work with graphs and I have adopted Prim's algorithm for my needs, from here. The graphs which I use are...

Asked on 07/25/2021 by crobartie

1 answer

Bug in NMaximize in 12.2?

Bug introduced in 12.2, Fixed in 12.3 Something changed in NMaximze in v12.2:NMaximize[E^(-x^2) - 1, x](* {(-1 + E^#1)[0.], {x -> 0.}} *)v12.1 works as expected:NMaximize[E^(-x^2) - 1,...

Asked on 07/25/2021

1 answer

How can I find a functional square root in Mathematica?

A functional square root of a function $g$ is another function $f$ such that $g=fcirc f$. According to that article, there is a systematic...

Asked on 07/25/2021

1 answer

Sum all the adjacent values in an array, with some conditions

I would like to sum all the adjacent values in an array that are different from 0, then replace those values with zero, apart from the first value which should...

Asked on 07/25/2021

5 answer

Mean of ItoProcess

I've defined the following ItoProcessproc = ItoProcess[ { d bj[t] == bk[t] d pj[t], d bk[t] == bj[t] d pj[t] }, ...

Asked on 07/25/2021 by mvc

0 answer

Creating a matrix

I have a function as follows:f[x_, t_] := x + t;Table[{x, t, f[x, t]}, {x, 0, 1}, {t, 0, 2}]When I write MatrixForm[%], I get ...

Asked on 07/24/2021 by RF_1

2 answer

I want to maximise my function over a particular domain

I have tried NMaximise. But I am getting an error always. Even if my command is correct. My function isCos[π E^x]and I want to maximise it over the range...

Asked on 07/24/2021

4 answer

Ask a Question

Get help from others!

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