Reputation
2,129
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
7 14
Impact
~28k people reached

2d
comment A bug in Integrate
@Szabolcs: It would make sense if m.se had a separate section for bug reports. WRI definitely WILL notice them and deal with them, simply because they are on public display and they'll want that list to shrink. With their internal bug reporting mechanism, they pick and choose what they want to fix and what they want to leave as is. I've reported two bugs in 2004, that was 5.1 iirc, and they're still not fixed. Sometimes public display is the only way to get improvements.
May
21
reviewed Approve system of nonlinear partial differential-algebraic equation
May
21
reviewed Approve Behavior of Reduce with variables as domain
May
3
reviewed Approve Creating a lazy evaluator of the lambda calculus
May
2
reviewed Approve Interpreting Mathematica output or producing cleaner output
May
2
reviewed Approve Importing a 3D table from excel
May
2
reviewed Approve Plotting points from file
Apr
23
answered Express recursion formula by Nest function
Apr
23
comment Express recursion formula by Nest function
"I have to express a formula by Mathematicas Nest-function". Are you sure about that? It's possible with Nest, but not in an obvious way that's easy to understand for a newcomer. Oftentimes constraints like "have to use ..." are unknowingly self-imposed. And here's another tip: recurrence equations are the discrete analogues to differential equations, and to solve either of them numerically you always need some initial or terminal condition. n*f(n-1) is only factorial if you initialize f properly. If you set f(1)=17, you don't get the factorial. Good luck!
Apr
23
comment Is there a way to profile Mathematica code in batch mode?
Do you HAVE to run it through the WB? It's easy to run a M program in batch/command line mode. But you keep referring to the WB. As you have all the .m and .nb files on the local file system anyway, why don't you just run it in batch/command line mode from there? I don't see the dependence on the WB for what you are trying to accomplish. And the simply put some Print statements with time stamps or wrapping AbsoluteTime interspersed throughout the code (or include code that dumps time stamps into some log file), and then run several times to encircle the salient parts of the code.
Apr
14
comment Can Enterprise Edition really encrypt code for distribution via CDF?
@Kuba, sorry for the long wait, I was absent for a while. Yes, the key-based RSA encryption is indeed encryption. Parts of Encrypt seem to be bolted on to OpenSSL, although I can't tell yet to what extent OpenSSL is used. If it's coded correctly, it will probably be all right. A friend of mine informed me that the Windows version doesn't seem to encrypt RSA without the padding routine, contrary to the documentation, but as I'm not a Windows user, I couldn't check that. Tests with PowerMod show that the keys and exponents work correctly, so I'd call it encryption.
Oct
4
reviewed Approve Expand a rational function in a one degree partial fraction, but not include a two degree expression?
Sep
29
reviewed Approve ParametricNDSolve KKT Constraint Directly
Sep
28
revised Faster Integer Approximation of pi
added 185 characters in body
Sep
28
answered Faster Integer Approximation of pi
Sep
28
comment Faster Integer Approximation of pi
The best rational approximations to a real number are the continued fractions, a classic result. In fact, you can only get a better approximation than the convergent if you increase the denominator. There are numerous simple proofs/theorems about this, the earliest, to my knowledge, from Lagrange (unless you count Euclid in 300 BC, because the Euclidean algorithm gives you the c. f. approximation). So the comment from ybeltukov above and the answer from ubpqdn below are dead-on (as Rationalize gives you the c. f. approximation).
Sep
24
awarded  Autobiographer
Sep
16
comment Kernel crashes when plotting $z=\sqrt{(x^2 + y^2)}^0$
completely agreed with previous commenters that "don't do that" is the wrong response. The kernel should NEVER crash, and for that it doesn't matter how the crash was produced. The crash itself is the problem. The existence of a work-around is never sufficient to accept a kernel crash. It's like saying "if a certain plane type repeatedly crashes, don't use the plane, drive by car". We can't acquit the faulty system just because we can adapt our behavior (how we cope with the problem). It's still a problem.
Sep
4
reviewed Approve What is the best distribution for my histogram?
Aug
24
reviewed Approve How do I set up conditions at infinity?