Reputation
14,397
Next privilege 15,000 Rep.
Protect questions
Badges
1 34 76
Impact
~154k people reached

Nov
16
revised Sorting Matrix elements
added 2 characters in body
Nov
16
answered Sorting Matrix elements
Nov
16
comment Create filling between two trig functions
Hmm.. not sure. I can't find a way to arrive at 33 1/3%.
Nov
16
comment Create filling between two trig functions
Incidentally, I think my latest edit makes it clear how one might compute the percentage of time they are both happy. NIntegrate[ Boole[Sin[7 \[Pi] t/10] > 0 && Sin[9 \[Pi] t/10] > 0], {t, 0, 20}]/20
Nov
16
revised Create filling between two trig functions
added 631 characters in body
Nov
15
comment Create filling between two trig functions
@rm-rf definitely cool but also sufficiently scary that I think I'll leave what I have :).
Nov
15
revised Create filling between two trig functions
added 448 characters in body
Nov
15
revised Create filling between two trig functions
added 448 characters in body
Nov
15
comment Create filling between two trig functions
Nice! This is the first time I've fully understood the more exotic uses of Filling.
Nov
15
revised Create filling between two trig functions
deleted 43 characters in body
Nov
15
answered Create filling between two trig functions
Nov
15
revised How to take matrix elements as input to another matrix or loop?
added 815 characters in body
Nov
15
revised How to take matrix elements as input to another matrix or loop?
added 350 characters in body
Nov
14
comment How to find all roots and maxima and minima and graph them
Any reason you can't just use Solve[Velocity[t] == 0, t]?
Nov
14
answered Function behaves differently inside a package than outside
Nov
14
comment How to take matrix elements as input to another matrix or loop?
Your choice of x^2 for myFunc makes these timings a little misleading. You should try a function that isn't already listable like, for example, myFunc[x_] := Total[Range[x]]. It is worth looking at TracePrint of your Replacement example to see why this matters.
Nov
14
comment How to take matrix elements as input to another matrix or loop?
Yes, the {2} is the levelspec. I recommend using Map[f, Array[Subscript[x, ##] &, {5, 5}], lspec] with different lspecs to see what this does.
Nov
14
answered How to take matrix elements as input to another matrix or loop?
Nov
13
comment How do I create a histogram out of this datastructure: x[i] = value_i?
There shouldn't be any unintended consequences to this approach.
Nov
13
comment How do I create a histogram out of this datastructure: x[i] = value_i?
@Mr.Wizard no, not in practice. But I thought using First was slightly more instructive for what DownValues actually do.