TransWikia.com
  1. All Categories
  2. Mathematica

Mathematica : Recent Questions and Answers (Page 59)

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

Single expression containing the same pattern multiple times

I have an expression like this Exp[-x^2]^(Log[a+3])*Sin[x]*y^(x)*Sin[Cos[b]], and I want to match the pattern base_^pwr_*Sin[arg_] s.tExp[-x^2]^(Log[a+3])*Sin[x]*y^(x)*Sin[Cos[b]] /. base_^pwr_*Sin[arg_]-> {base,pwr, arg}will evaluate a list of lists where each sublist is...

Asked on 07/09/2021

2 answer

How to get While to Return a Custom Value?

The Documentation for While says:Unless an explicit Return is used, the value returned by While is Null.But how do I implement it? I'd like to build a function f[...,...

Asked on 07/09/2021 by user78013

1 answer

Manipulate mapping on lists

For some function f, consider the following expression: f[2] f[5] - f[1] f[2] f[5] - f[2] f[3] f[5] + f[1] f[2] f[3] f[5] - f[2] f[4] f[5] + f[1]...

Asked on 07/09/2021

1 answer

How to align a network graph to an image?

An arbitrary example: Create a random imageImage[RandomReal[{0, 1}, {10, 10}], ImageSize -> Medium] Define some points and a graph to...

Asked on 07/09/2021

1 answer

Vectorization of a function

I would like to calculate the exponential values of the elements of a list / vector. For example, I would like to calculate the Boltzmann distribution over different energy levels...

Asked on 07/09/2021

2 answer

Eliminate a variable within an integral

I have two expressions given by, $$a = int_0^1 dx frac{c z_s^{d+1} x^d}{sqrt{(1-(z_s/z_h)^{d+1} x^{d+1})(1-c^2 z_s^{2d} x^{2d})}} tag{1}label{1},$$ $$S = int_epsilon^{z_s} dx frac{1}{x^d} sqrt{frac{1}{(1-(x/z_h)^{d+1})(1-c^2 x^{2d})}}tag{2}label{2},$$ where $c=c(z_s)$ and...

Asked on 07/09/2021

1 answer

concept of tangent and residual in AceFem and automation

here trying to solve the pde: ut + ux = 0 in acefem. I have two questions regarding tangent and residual.Tangent shows the s$$ and residual shows p$$ in the...

Asked on 07/09/2021

0 answer

Contour plot a 2d array

I have the calculated data for an interaction potential. My variables are distances (48 values) and angles(15 values) and my energy data is a 2d matrix of 48 x 15...

Asked on 07/08/2021

2 answer

Analytic continuation of the prime zeta function

I want to plot the real part of the prime zeta function over the imaginary axis. This should be doable since the prime zeta function has an...

Asked on 07/08/2021

0 answer

Equations in text cell in wrong format

In order to type an equation in a text cell one presses Ctrl+9 and then you get a highlighted region into which you type an equation. Here is an...

Asked on 07/08/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