TransWikia.com
  1. All Categories
  2. Mathematica

Mathematica : Recent Questions and Answers (Page 86)

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

Computing Higher Order Tensor of Variable Rank

The following code takes a vector x of variable length, computes the outer product of the vector with itself to form the matrix $rho$ of dimension $2^n times...

Asked on 06/03/2021

1 answer

Range errors when plotting solutions of systems of equations

I would like to plot the points $(a,b,c)$ that simultaneously satisfy the equations$$a^2+b^2=1,qquad ac+bfrac{1+bc}{a}=0,qquad c^2+frac{(1+bc)^2}{a^2}=1.$$ I attempted to do this with ContourPlot3D asContourPlot3D[ {a^2+b^2,a...

Asked on 06/03/2021 by Jacob Bond

2 answer

How to define space inside a closed curve as a Region

Let's say I have some closed curve, which could be given by a parametric representation, or by a closed spline as in:pts = {{-1, 0}, {-1, 1}, {0, 0},...

Asked on 06/03/2021 by Pirx

3 answer

ListContourPlot Interpolation Order

I am trying the use ListContourPlot with interpolation of the measured data to get smooth contour lines. I tried the methods in Data interpolation and ListContourPlot but they work...

Asked on 06/03/2021

1 answer

Show Code Assist

I want to cancel the Auto Popup in the options menu. It turns to False but when I come back to the code it turns to true again. I clicked...

Asked on 06/03/2021 by Hadi

0 answer

Error in Creating Orthogonal Polynomials

I'm trying to create my own set of polynomials orthogonal to weight $w(x)=x^{14}$ on $[-a,a]$. My code:N1=10;Int0[n_,x_]=Integrate[x*(DUO[n])^2*x^14,x];Int1[n_,x_]=Integrate[(DUO[n])^2*x^14,x];DUO[0]=1;DUO[1]=(x-Divide[Int0[0,N1]-Int0[0,-N1],Int1[0,N1]-Int1[0,-N1]])*DUO[0];DUO[n_]:=DUO[n]=((x-Divide[Int0[n-1,N1]-Int0[n-1,-N1],Int1[n-1,N1]-Int1[n-1,-N1]])*DUO[n-1])-(Divide[Int1[n-1,N1]-Int1[n-1,-N1],Int1[n-2,N1]-Int1[n-2,-N1]]*DUO[n-2]);DUO[2]However, when evaluating DUO[2], I keep on getting random and non-sensical...

Asked on 06/02/2021

1 answer

Extracting a product of factors from an expression in unevaluated form

Suppose I have an expression like so: $qquad {rm expr}=2,i,{rm Gamma}(4),pi, 9.93 f(x),g(y) frac{h(x, 4y)^3}{11 q}$ What is best (most succinct) way to extract out only the product of numbers?...

Asked on 06/02/2021 by Subho

1 answer

Wrong answer with RSolve function

The green function is defined as: $left{begin{array}{l}G_{0}=1 G_{k}=sum_{j=1}^{k} phi^{prime} G_{k-j},quad k geqslant 1end{array}right.$ where $phi_{j}^{prime}=left{begin{array}{l}phi_{j}, 1 leqslant j leqslant 2 0, j>2end{array}right.$ I want to use...

Asked on 06/02/2021 by Charmbracelet

1 answer

FunctionRange giving "false"

I was trying to find the range of a function I obtained in some context. The code is as follows FunctionRange[{1/2 (1 - Sqrt[-1 + 4 Abs[x]] Sqrt[-1 +...

Asked on 06/02/2021 by Erosannin

1 answer

Nonlinear dispersal equation modeling insect aggregation

I'm a newbie with Mathematica, I know it's a basic answer, but I can't solve the problem on my own. I have the following equation reflecting insect aggregation at low...

Asked on 06/02/2021

2 answer

Ask a Question

Get help from others!

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