2,713 reputation
515
bio website
location Amherst, MA
age
visits member for 2 years, 10 months
seen yesterday

I'm a retired mathematics professor who's used numerous programming languages over the years, including FORTRAN, Pascal, and APL. My current programming interests are Mathematica and J (the jsoftware.com free product), both of which I've used in teaching.


2d
comment Product of Logarithme in Mathematica
@user22291: Umm... Product[Log[k], {k, 1, n}] gives 0, since Log[1] gives 0. Did you intend something else?
2d
comment Solve for l and m with imaginary numbers
Use Solve. For an equation in Mathematica, use == not =. For the imaginary unit, use I not i.
2d
comment Where put or edit an init.m to add menu commands?
More bad news: it seems that now editing MenuSetup.tr in $InstallationDirectory/SystemFiles/FrontEnd/TextResources/Macintoshno longer works to add menu items, either. (After restarting Mathematica 10.0.1 with a clean cache via Shift + Cmd.)
Nov
20
comment Where put or edit an init.m to add menu commands?
I just received an answer from Wolfram Support about the question: "[According to the front-end developers,] it appears that package and functionality has been removed from the program. It was never a support functionality so doubt it will reappear. Based on what I see in your examples it appears you would accomplish much of the same by adding a new environment to your style sheet that would include a toolbar with links and paste buttons." Alas! But not sure which package "that package" refers to.
Nov
19
asked How edit stylesheet to change automatic numbering of Reference type to numeric, not alphabetic?
Nov
19
comment Where put or edit an init.m to add menu commands?
Right, as distributed, they init.m contains only Get["PacletManager`PacletManager/"]`. I do note that loading an add-on such as Presentations would be a kernel activity, whereas adding items to the Mathematica system's menus would seem to be a front end operation.
Nov
18
comment Graph Power Series
+1 just for (a) fancying up the plot with tooltips, and (b) using Map with Range rather than a more verbose use of Table.
Nov
18
comment Where put or edit an init.m to add menu commands?
Just to check, does the init.m file you're editing contain merely the following: Get["PacletManager`PacletManager`"] ?
Nov
18
comment Where put or edit an init.m to add menu commands?
And editing the init.m so as add my AddMenuCommands there expressions (in separate initialization cells) locks up Mathematica. I need to force quit it, then remove the apparently offending code from /Applications/Mathematica.app/SystemFiles/Autoload/PacletManager/Kernel/init.m‌​.
Nov
17
answered How to force correct answers for Integrals of Cos[mx]*Cos[nx]?
Nov
17
comment Where put or edit an init.m to add menu commands?
I'm using OS X, not Windows. If I correctly translate what you're saying, you put the edited init.m into $InstallationDirectory/SystemFiles/Autoload/PacletManager/Kernel. If I do that, Mathematica hangs as soon as the Welcome splash screen appears.
Nov
15
comment Where put or edit an init.m to add menu commands?
@Alexi Boulbitch: Unfortunately, doing that does not allow the kernel to start at all for me. (I was surprised you gave directory starting at path ~\Wolfram Research\Mathematica\10.0\SystemFiles`, since my Mathematica.app is in \Applications. By any chance, did you mean to put the edited init.m` in Library\Mathematica\SystemFiles\Autoload\PacletManager\Kernel?)
Nov
15
comment Find the maximum/ minimum of the function f(x,y,z) = x+2y+3z on the curve of intersection of the plane x-y+z = 1 and the cylinder x^2+y^2 = 1
If you just want to solve the given constrained maximization problem, then there's no need to re-implement Lagrange's Method. Instead, just use the build-in function Maximize as follows: Maximize[{x + 2 y + 3 z, x - y + z == 1, x^2 + y^2 == 1}, {x, y, z}].
Nov
2
asked Where put or edit an init.m to add menu commands?
Nov
1
comment Why Abs[Infinity] is an element of the real numbers
However, Element[Abs[Infinity], Reals] return False.
Oct
26
comment Solving/simplifying a trig function
What does a, whose tangent and quadrant is given, have to do with B or $\theta$?
Oct
15
comment Why does taking advantage of Listable change the results of a numerical computation slightly?
But exactly what is "compensated summation"?? Is it what's described in hal.archives-ouvertes.fr/file/index/docid/517618/filename/… ?
Oct
15
comment Total much slower in version 10
@Fred Simons: Understood why you wanted to use very same list for all 500 evaluations. I suggested varying the list just to eliminate anything special about the particular list of random numbers you might generate.
Oct
15
answered Difference between double quotes
Oct
15
comment Total much slower in version 10
Just a comment that if you're trying, in effect, to average the summation over 10^7 random reals, would it not make more sense to use ls := RandomReal[{0, 1}, {10^2}], that is, with a SetDelayed?