User Portlet
Discussions |
---|
It gets down to 164 characters if you are willing to sacrifice the fixed size of the plot and have it dynamically resizing. I made a couple of other optimisations: for example, you don't need to redefine `data` in the `If` block. r :=... |
Daniel Lichtblau - props for the calm response! I got angry just reading that post
|
The WA query "keywords of Mathematica function Integrate" returns a collection of vaguely Integratey words. However, some of the terms aren't directly recognised by WA (eg. "Dwight's tables", which refers to a large table of integrals) and some of... |
Simple optimisation: sumOfTwoPrimesQ[x_?(# = 3 &)] := PrimeQ[x - 2]sumOfTwoPrimesQ[4] = TrueOnce these are evaluated, we only need to worry about even numbers greater than 4, and we can stop bothering about 2 being... |
Its graph looks like the constant 0 function, or 1 function, depending on how you look at it. It could look like both superimposed, if you look at it like that. Both sets are dense in [0,1], so there aren't any gaps - just both the lines. |
Naively speaking, DiracDelta[-k1-q1] would factor out of the integral and cause a singularity (if the DiracDelta combination were not evaluated inside the integral). Perhaps that's why? |
Notice that the oscillations are of the order 10^-15. Whenever you have weird results from a graph, make sure to check the scale. |
As Bill Simpson said, Integrate returns unevaluated if Mathematica couldn't work out what the value of the integral is. However, you can use NIntegrate to get a numerical approximation (if that's helpful). In that case, you will need to set values... |
This is perhaps more easily seen as:[mcode]checkIfOn := (Select[Function[{x}, x |
At the Documentation page, there is a whole bunch of really interesting pages, and also a whole bunch of "Not Ready Yet". I would love it if Wolfram could provide an RSS feed of the changes to the... |