TransWikia.com
  1. All Categories
  2. Mathematica

Mathematica : Recent Questions and Answers (Page 147)

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

Parallelizing large sum to use all cpu cores

I'm looking to compute the the following expectation, with $x$ a column vector sampled from $d$-dimensional distribution. $$E[(I-alpha xx')text{cov}(I-alpha xx')]$$ Simple example is below. samples controls number...

Asked on 03/12/2021

1 answer

How can I eliminate artificial oscillation created by numerical solution (NDSolve)?

I need to solve a system of three coupled PDEs. I used this code but it seems that the solution for the third function (B2(x,t)) results in small fluctuations at...

Asked on 03/12/2021 by crises

0 answer

Plotting a graph of a square root function does not show the expected graph

New to Mathematica and have been given some assignments for practice. I am currently trying to plot the following function: $$|sqrt{x-1}+5|$$ This is how other sites show what this...

Asked on 03/11/2021 by Jesper Johansson

1 answer

What is wrong in my calculation with Clebsch-Gordan coefficients?

According to theory of angular momentum here, this must equal one. What's wrong?Timing[Sum[If[-5 <= (m1 + m2) <= 5, ClebschGordan[{3, m1}, {4, m2}, {5, m1 + m2}] ClebschGordan[{3, m1},...

Asked on 03/11/2021

2 answer

Graph styling using `HighlightGraph`, `GraphHighlightStyle` and `VertexStyle`at the same time

I like the style when a graph is highlighted by HighlightGraph with parameter GraphHighlightStyle -> "Thick". But I want to override the style of some vertices with different style. I...

Asked on 03/11/2021

0 answer

How I found the value

I would like to know how to find the value of a function. For example, consider one the most basic funcionsy[x] = x^2The ploy is a parabola. So if...

Asked on 03/11/2021 by Slayz

1 answer

Mathematica Can Find the Primitive Function But It Cannot Find the Closed Form for Corresponding Definite Integral

Consider the following functionf = 1/2 (-3 + 4 u) Sqrt[-u (1 + u) (-1 - u + u^2)]where it is assumed thatphi = (1+Sqrt[5])/21 < u <...

Asked on 03/11/2021 by Hosein Rahnama

1 answer

How to make i not euqal to j in a Double Sum

I want to compute a double sum like below with i != j. (When i =j, the denominator will be zero, which can not be assessed). Does anyone know how...

Asked on 03/10/2021 by Hao Wang

2 answer

How can I make such drawings

This Fig. represents LQU, where LQU is a function of $c_1,c_3$, and $c_3$, $c_i in[-1,1]$. How can I make such drawings? ...

Asked on 03/10/2021 by Ragab Zidan

1 answer

Strange behaviour in ToElementMesh

Why would that not work:L = 20;h = 1;Needs["NDSolve`FEM`"]gr = Graphics3D[Cuboid[{-h/2, 0, -h/2}, {h/2, L, h/2}]]mesh = ToElementMesh[DiscretizeGraphics[gr], "MeshOrder" -> 1](* TetGenTetrahedrize: returned error, 2 *)when with a simple...

Asked on 03/10/2021

1 answer

Ask a Question

Get help from others!

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