TransWikia.com
  1. All Categories
  2. Mathematica

Mathematica : Recent Questions and Answers (Page 19)

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

How can I separate the coefficients of $x^k$ and $x^k log x$ in a function?

I have a function of the following form: $$f(x) = a_0 + a_1 x + a_2 x^2 + ... + b_1 x log x + b_2 x^2 log x...

Asked on 09/29/2021

1 answer

Is there a better syntax to obtain the derivative of a function as a function/operator? (e.g. for simple plotting of derivtives of functions, etc.)

When trying to plot a derivative of a function, (I take Sin as a simple example), the naive approachPlot[D[Sin[x], x], {x, 0, 2 π}]fails. One can work around this...

Asked on 09/29/2021

1 answer

How can I avoid performance losses from ResourceFunction?

It seems like there is some sort of evaluation overhead related to the ResourceFunction wrapper that I'd like to avoid. This is especially pronounced for functions with attributes. Take, for...

Asked on 09/28/2021

1 answer

When is a symbol a Symbol? Is there an easy Mathematica way to test if an object is a symbol sort of like a SymbolQ?

Yes I know there is no built-in native function called SymbolQ (but JavaScript does). However, could one be simulated to work for most cases? I often rely on objectName[symbol] and...

Asked on 09/28/2021

4 answer

Part specification is longer than depth of object

everyone! I'm a bit new to Mathematica. Could you help me plot this:TheoreticalT[n2_, k2_, w_] := (2*cn2[n2, k2]*(n1 + n3)*E^( I (2...

Asked on 09/28/2021

0 answer

Initialize Global variables with manipulate

I would like to use the result from a dynamic matrix for calculation, but I don't know how to return a global variable from manipulate. Please help me, I'm new...

Asked on 09/28/2021 by Quang Trần Minh

0 answer

DSolve is not able to find a solution in some points

When I use the below script to solve an equation and plot the solution, the plot shows some discontinuous lines. For example at point $xapprox0.25$ the solver cannot find...

Asked on 09/28/2021 by Alex Stark

1 answer

Strange behaviour with EllipticTheta functions

For some time I have been using EllipticTheta[3,-,-] functions, and to me it seems that Mathematica is really not handling them in the best way. Below are two of the...

Asked on 09/27/2021

0 answer

NDSolve for system of PDEs -Error: fewer dependent variables!

I am trying to solve the equations below to find the breakthrough curve in an adsorption process:∂C/∂t+u* ∂C/∂z+ρ/ϵ * ∂q/∂t= 0∂q/∂t= -Ks * (q-(qm* b*C)/(1+ b*C))the IC and...

Asked on 09/27/2021

1 answer

How to remove global constants in front of polynomial expressions?

I have a list of polynomials, many of them are equals up to some constants. For instance I have:-(1/4) (nn[2] + nn[8]) (mm[101] - 2 nn[107]) 1/4 (nn[2]...

Asked on 09/27/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