User Portlet

Eric Michielssen
Discussions
ODE with a DiracDelta at the origin fails using NDSolve (solution steps down at x=0). sol = NDSolveValue[{y'[x] == DiracDelta[x] , y[0.5] == 0.}, y, {x, -1, 1}] Plot[sol[x], {x, -1, 1}] ![enter image description here][1] ...
This is beautiful -- exactly what I was looking for! Thank you.
Great! Still struggling to have Mathematica simplify matrix expressions though. See the very simple example below. How do I simplify A1.A2 + A1.A3 with A2+A3 == 0 to 0 (or a zero matrix)? How can I make Mathematica scour through a collection of...
yes, that was the intention, as it allowed me to test cff in a loop for many different arguments. The issue remains that FindMinimum and NMinimize appear to evaluate the objective function symbolically as implied by the error message During...
Thanks -- that worked!
Beautiful. Thank you! Yes, in the end I was able to make this work in my code, too. Thanks again.
The purpose of this post is to ask the Mathematica community to chime in on (i) how to best teach students concepts of Grad - Div - Curl using Mathematica, and (ii) how to optimally represent such fields for certain classes of functions using...