TransWikia.com
  1. All Categories
  2. Mathematica

Mathematica : Recent Questions and Answers (Page 146)

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

Function representing a forest fire after one time step

How can I create a function that would have as its argument an array mat of 0s, 1s, and 2s where the 2s are burning trees and the function would...

Asked on 03/13/2021 by jbl

3 answer

Computing the limit $lim_{ntoinfty} cosleft( pi sqrt{4n^2 + 5n + 1} right)$ for $n in Bbb z$

I want to compute the limit $qquad lim limits_{ntoinfty} cosleft( pi sqrt{4n^2 + 5n + 1} right)$ for integer $n$. By completing the square, we can determine that...

Asked on 03/13/2021 by GohP.iHan

4 answer

Well-defined symbolic integral leading to ConditionalExpression

I would like to determine a closed-form expression for the following symbolic integral $$ int_{-1/2}^{1/2} !!!! mathrm{d} x int_{-1/2}^{1/2} !!!! mathrm{d} y , frac{1 + b x + c y}{1...

Asked on 03/13/2021 by jibe

2 answer

Find All Permutations for Multiset

Take a list with repetitions, say {a, a, b, c}, and some permutation thereof, say {c, a, b, a}. I want to know which permutations of the new list return...

Asked on 03/13/2021

2 answer

adding a point in a manipulate command

I am having trouble adding a point to mark the Min values of each parabola when using the Manipulate command?Manipulate[ Plot[x^2 - 2*(a - 2)*x + a - 2,...

Asked on 03/13/2021 by computer891

1 answer

Integration of LegendreP

I am trying to integrate a product of 2 Legendre polynomials as follows:Integrate[LegendreP[1, x] LegendreP[2l+1, x], {x, -1, 1}]I get the result:Sin[2 l [Pi]]/(l (3 + 2 l)...

Asked on 03/13/2021

4 answer

Sparse block matrices all wrong

I need to represent $M-lambdacdottextrm{Identity}$ where $M$ is an operator on $V_1opluscdotsoplus V_n$ made from$$V_1xrightarrow{M_1}V_2xrightarrow{M_2}cdotsxrightarrow{M_{n-1}}V_nxrightarrow{M_n}V_1.$$With, say, $n=3$, $dim V_k=k+1$, I am tryingsa = With[{dim =...

Asked on 03/12/2021

2 answer

How to convert a weighted, directed graph into a discrete Markov transition matrix

Suppose that I have matrix matT1 at time t and matT2 at time t+1:matT1 = { {0.98, 0.95, 1.00, 0.85, 1.40},...

Asked on 03/12/2021

2 answer

Can I change the default behavior so that "0.1" is interpreted as "1/10" automatically?

Consider the function f[a_] := NIntegrate[Sqrt[a + Log[x]], {x, 1, 10}, WorkingPrecision -> 30]. With this definition, I cannot call f[0.1] (for example) without Mathematica throwing an error, since "0.1"...

Asked on 03/12/2021

4 answer

Simple way to monitor a multiple URLDownloadSubmit calls?

I have a list of download jobs (e.g. {{url, filename} ...}) to do:jobs = Table[{"https://picsum.photos/200/300/?random", ...

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