Skip to main content

All Questions

0 votes
1 answer
354 views

How to obtain the convolution of these functions?

I am starting to use Mathematica. I wanted to compute $$\nabla F*\phi(x),\;x\in\mathbb{R^2}$$ where $F(x)=\ln\|x\|$ and $\phi(x)=\chi_{B(0,2)}(x)$. I am a new user of this software, so I don't know ...
prosep's user avatar
  • 101
1 vote
1 answer
83 views

NDSolve with embedded piecewise function for state-variable

Given ODE: $\dot{x}=-2 e^{-x^2} x + U$ where: $U=-u_{as}$ $u_{as} = \begin{cases} \frac{e}{\psi_+-e}, & \mbox{if } e\mbox{>=0} \\ \frac{e}{e-\psi_-}, & \mbox{if } e\mbox{<0} \end{cases}$ ...
ayr's user avatar
  • 2,444
4 votes
3 answers
1k views

Most efficient way to integrate a linear piecewise function

I am having a lot of trouble integrating a simple function. Here's the context: I generate data from two distributions, and I want to calculate the overlap coefficient of representing those datasets ...
Aaron Bramson's user avatar
10 votes
2 answers
263 views

Problem with Integrate with Piecewise and PrincipalValue

Bug introduced in 8.0.4 or earlier and persisting through 11.3 In the course of developing an alternative solution for question 127301, With, ...
bbgodfrey's user avatar
  • 61.8k