Reputation
60,935
Next tag badge:
121/100 score
19/20 answers
Badges
2 94 232
Newest
 Good Answer
Impact
~817k people reached

Aug
16
comment Why does Mathematica simplify $x/x\to1$?
@Ruslan You're right, I'm actually quite surprised after trying this a bit more. I'll update my answer.
Aug
16
comment Why does Mathematica simplify $x/x\to1$?
For doing the derivative, I would perhaps approach it as shown in my answer.
Aug
16
comment Why does Mathematica simplify $x/x\to1$?
This is Mathematica's default behavior, so it's exactly the expected result. Any undefined symbol is assumed by Simplify to be a generic complex number. By generic, I mean not having any isolated special value, such as 0. You have to use Assumptions to change this default.
Aug
15
comment Triangle that collapse cells
Also have a look at Opener and 'OpenerView'
Aug
13
comment Edit built in symbol
This is difficult to achieve, mainly because the arguments are strings so that it's not possible to directly use the approach mentioned by @SjoerdC.deVries. Maybe the cleanest way would be to define myElementData such that it calls ElementData and adds new definitions only when that doesn't return a built-in result. Strings with built-in meanings have proliferated in recent versions, and UpValues don't work on them; also this makes it harder to do syntax-checking (highlighting) in complicated commands.
Aug
11
comment Version 10 cannot print properly?
I do see this too on OS X 10.8.5 and version 10. The "stretching" is not really stretching, it's an incorrect PlotRangeClipping. And I only see it when the page orientation is landscape, not portrait. I would say this wrong clipping is a bug. The other printing issues with the space and the plot not fitting on the page are very annoying and long-standing problems that I don't have a good general solution for, either... except to export plots one at a time instead of printing the notebook.
Aug
10
comment Point-like function but with diamond instead of circle
@m_goldberg I believe he meant your SE avatar which is automatically generated. It has some rhombi in its corners.
Aug
10
comment Ticks disappear in Graphics3D with Epilog
Thanks - this gave me another idea: wrapping the plot in Legended instead of doing an inset works, too. I put this into my own attempt at an answer.
Aug
10
comment Ticks disappear in Graphics3D with Epilog
@eldo Yes, the additional Row shouldn't be causing any trouble in any of the the cases I could think of.
Aug
9
comment Circular membrane vibration simulation
To make a 3D plot, just take the first definition of wavePattern and replace DensityPlot by Plot3D. You may want to omit the Epilog and BaseStyle options, too.
Aug
9
comment Mathematica crashes after some iterations
Maybe you can get more information by looking at the crash log, or at least sending it to Wolfram support. To find this file, next time a crash occurs open Utilities > Console and check the last couple of lines written there. That usually tells you the path and name of the crash log.
Aug
8
comment Mark Minimum Value in DensityPlot
Look up FindMinimum, Minimize, and Epilog.
Aug
8
comment PlotLegends -> “Expressions” not working when Plot given one function
In my opinion, it would have been better to maintain the old behavior of "Expressions" and instead add a new option "DistinctExpressions" for the behavior that we're now seeing. With the change as you describe it here, users have to go through their notebooks and hand-edit them to replace the old with the new option "AllExpressions" if they want a single-line legend. Seems like an unnecessary hassle.
Aug
7
comment Solve ODE $d^2u/dx^2 + u/A = 0$
What Mathematica code have you tried?
Aug
7
comment DisplayFormula not working as expected
@BenAllgeier I'm proposing to use DisplayFormulaNumbered because it provides equation numbers that can be referenced later. The difference between displayed and inline formulas becomes clear when you use symbols requiring two-dimensional typesetting, e.g., sums and integrals with limits. Inline formulas don't typeset the limits below and above the symbol, but next to it (by default).
Aug
7
comment Potential hill simulation
(+1) Just a suggestion: your sphere will appear distorted if one looks closely. This is because the axes are not equally spaced in Plot3D. The way to fix this would be to include the option BoxRatios -> Automatic in Show.
Aug
7
comment Circular membrane vibration simulation
@MichaelE2 I don't think this is precisely a duplicate because the question also requires using BesselJZero to satisfy the boundary conditions. I may try to quickly write an answer, not using 3D plot but 2D plot instead, to make it a bit more "different" from the linked question.
Aug
6
comment Why does GridLines option fail with Function?
I accepted this because that's probably the best we can do - after all, it's still a bug... but now it's clearer what caused it.
Aug
6
comment Using Solve but getting no output
For a=1 the solution is easy, but for arbitrary a it isn't. So information about a would be needed.
Aug
6
comment Why does GridLines option fail with Function?
Yes, this is a work-around. I would just include Legended as an allowed Head for the plot argument, because otherwise it won't work with the PlotLegends options.