KennyColnago
Reputation
7,211
Top tag
Next privilege 10,000 Rep.
Access moderator tools
 Apr 21 answered Image of the unit circle under a complex rational function Apr 21 answered How to get this list with a terse method Apr 21 comment Coloured image transformation in pointillism @M.R. The function Delaunay is defined for v9, as stated. For v10, after the statement defining p, use: m=DelaunayMesh[p] to define the mesh m. Then get the mesh vertices 'v' with v=MeshCoordinates[m]. Finally, form the triangles t with t=Map[v[[#]]&,MeshCells[m,2][[All,1]]]. In the function DelaunayImageColour replace Delaunay[p] with 't'. Mar 24 answered How to deal with overlapping data points in ListPLot Mar 24 answered How to recreate the gnuplot color scheme “AFM Hot” in Mathematica? Mar 20 comment Finding a seven-digit number with all of its prime factors less than 20? In case someone visits this (badly asked) closed question, it seems to be about smooth numbers. A small code, yet too big for this marginal comment, shows there are 11447 seven-digit numbers composed of only primes less than 20. The smallest is 1000000, the largest is 9997020. Mar 8 comment How to do multi-agent modeling? Perhaps the books by Richard J Gaylord et al. Computer Simulations with Mathematica, and Modeling Nature: Cellular Automata Simulations with Mathematica. Mar 6 revised Perfect numbers update for v10.4 Mar 2 comment Solving cubic equation for real roots @MHH Equations 7 and 8 in the MathWorld link you mention show how to calculate the discriminant. In this case, $a_3=\beta$, $a_2=0$, $a_1=-\gamma$, and $a_0=-c$. The wikipedia article Discriminant gives a similar presentation at the top of the page, and section 6.2 discusses the "Nature of the roots". Feb 28 comment Determining the local extrema of discrete data Assume f={2,1,1}. Then m=MedianFilter[f,1]={3/2,1,1}. The function value 2 is greater than the filtered value 3/2, so there is a local maximum at the first position, that is at f=2. There is no local minimum because no value of f is less than the corresponding value of m. Feb 24 awarded Nice Answer Feb 23 answered Find the minimum positive-integer value which meet the requirement Jan 29 answered Goldbach Partition Jan 29 answered Encoding/Decoding matrices as integers, integers as matrices Jan 29 comment A function about prime gaps Yes. For any range of primes, some gaps will not appear. Dale's code hides this by using Flatten to remove missing gaps. Your adjustment to include Fail before Flatten reveals the limitation. Jan 28 answered A function about prime gaps Jan 27 revised Artefact at joints within BSplineCurve of low Opacity added 278 characters in body Jan 27 answered Detecting components in timeseries Jan 23 reviewed Approve LogLinearPlot issues Jan 19 answered Resolve does not resolve this statement with quantifier