Joe
Reputation
726
Next privilege 1,000 Rep.
See vote count; VIP usercard
 Jan26 awarded Yearling Nov5 awarded Popular Question Jul2 awarded Curious Apr28 awarded Nice Question Jan26 awarded Yearling Dec1 awarded Necromancer Nov21 awarded Popular Question Jan28 accepted Why doesn't FullSimplify get rid of the common factor in this expression? Jan28 comment Why doesn't FullSimplify get rid of the common factor in this expression? All these suggestions work. I'm not sure how to judge this, but the one involving Cancel seems like the most direct. As for an explanation for this strange behavior, I guess I shouldn't hold my breath. @PinguinDirk - do you want to turn your comment into an answer so I can accept it? Jan27 asked Why doesn't FullSimplify get rid of the common factor in this expression? Jan26 awarded Yearling Dec7 awarded Nice Question Nov15 comment An elegant way to plot a numeric function that returns a list, and have each element in a different color By using ListPlot you're not taking advantage of the adaptive sampling algorithm of Plot. Nov15 awarded Critic Nov15 accepted An elegant way to plot a numeric function that returns a list, and have each element in a different color Nov15 comment Plotting the components of a function that returns a list in different colors without redundant evaluations of the function Another related SO question: "Telling Plot to style vector-valued black-box functions in Mathematica" Nov15 comment An elegant way to plot a numeric function that returns a list, and have each element in a different color @Sasha - in the question you linked to the problem is to avoid redundant evaluations of the function, since it is expensive to evaluate (just like in this question, which is already mentioned above). In my question I don't mind redundant evaluations, my problem is coding style. These are two different issues. Nov14 asked An elegant way to plot a numeric function that returns a list, and have each element in a different color Oct31 accepted Why doesn't Mathematica simplify a square root of an expression that equals a square of a positive real? Oct31 comment Why doesn't Mathematica simplify a square root of an expression that equals a square of a positive real? Great idea! It can be a bit simplified by using just one replacement rule: x_^2 + 2 y_^2 + 2 y_ Sqrt[x_^2 + y_^2] -> (Sqrt[x^2 + y^2] + y)^2.