TransWikia.com
  1. All Categories
  2. Mathematica

Mathematica : Recent Questions and Answers (Page 85)

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

Functional realisation of do-loop

I'm currently optimising my code and I'm using a lot of loops, so I was wondering if there is a smarter or faster way to do things like: Do[If[MemberQ[List1[[II]],...

Asked on 06/04/2021

2 answer

Rescale root of quartic equation

I have a quartic equation $1-r+frac{1}{w^2}r^4=0$ where I am interested in the plot of $frac{1}{w} f(r_0)$ (equal to $f(r_0/w)$) where $r_0$ is one of the...

Asked on 06/04/2021

0 answer

How to make a matrix that had diffrentation without functions

I want to make a matrix in Mathematica that looks like this: Any idea on how I can do this?...

Asked on 06/04/2021 by Najm Abid

1 answer

Significant slowdown in a generalised implementation

Consider the following code:c0 := -1.24; b := 0.125; hh[{x_, y_}] := {x^2 + c0 - b*y, x}; hh2[{x_, y_}] := hh[hh[{x, y}]]; dhh := Transpose[{D[hh[{x, y}], x], D[hh[{x,...

Asked on 06/03/2021

1 answer

Convert dataset to {row_head, col_head, value} list

I have a dataset imported using this method with both row and column head are some numeric values shown below. Now...

Asked on 06/03/2021 by Bemtevi77

1 answer

FindMaximum under binary constrains

I'm trying to find a maximum for a function whose variables have binary values (either -1 or 1). The clumsy code for that constraint I use is shown below. There...

Asked on 06/03/2021 by Fvwm

2 answer

How can I implement a function that is a homomorphism?

I want to do the follow: Write a function $f$ such that if I evaluate $f(ax+by)$, it returns $f(a)f(x)+f(b)f(y)$. How can I do that? I tried to...

Asked on 06/03/2021

0 answer

Evaluating a hard integral related to the two-fluid model

The following definite integral describing the density of the normal part of a superfluid equals to$$int_0^infty dx, x^4, frac{e^{x^2+a}}{left(e^{x^2+a}-1right)^2} = frac{3sqrt{pi}}{8}Li_{3/2}(e^{-a})quad , qquad a>0, .$$However,...

Asked on 06/03/2021 by mr. curious

1 answer

Better way to get Fisher Exact?

I want to perform a Pearson's $chi^2$ test to analyse contingency tables; but because I have small numbers, it is recommended to perform instead what is called a Fisher's Exact...

Asked on 06/03/2021 by carlosayam

2 answer

Removing terms with more than 2 variables

Say I have the variablex = a + a b + a b c + a b c d + ....What is the easiest way to remove all terms...

Asked on 06/03/2021

3 answer

Ask a Question

Get help from others!

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