6.32 Tuesday, May 26, 2015

================================== 
Top new questions this week: 
==================================

[A bug in Integrate] http://mathematica.stackexchange.com/questions/84089/a-bug-in-integrate

Integrate[(1 + 16 Tan[2 x - y]^2)/(1 + 4 Tan[2 x - y]^2), {x, 0, 2 Pi}]

Mathematica (wrong) output is (tested under versions 8 and 10.0, took   1 minute of CPU time)

10 Pi

The correct value of this ...

- asked by Vaclav Kotesovec (17 votes), answered by Histograms (11 votes)

—————————-

[What is the FrontEnd?] http://mathematica.stackexchange.com/questions/84173/what-is-the-frontend

Can anyone sort out what the Front-End is, how it is structured and what its relationship to the Kernel is. The FrontEnd is mentioned quite often but elusively avoids to be caught and clearly defined. ...

- asked by MathLind (15 votes), answered by Mr.Wizard (12 votes)

—————————-

[Regime Change Stochastic Process] http://mathematica.stackexchange.com/questions/84054/regime-change-stochastic-process

I would like to simulate an Ito process in which the drift and diffusion terms change after hitting a boundary for the first time.

For example, a Geometric Brownian Motion X which has 0 drift and ...

- asked by Shffl (12 votes), answered by Sjoerd C. de Vries (9 votes)

—————————-

[How to speed up Colorize] http://mathematica.stackexchange.com/questions/83967/how-to-speed-up-colorize

I have a list of about 500 images similar to the following:

A = Import["http://i.stack.imgur.com/1bV4O.png"] 
AbsoluteTiming[Colorize[A, ColorFunction -> "AvocadoColors"]]

Gives   0.6 ...

- asked by DarrenM (11 votes), answered by bill s (7 votes)

—————————-

[Does Mathematica have an equivalent of Python’s float.as_integer_ratio?] http://mathematica.stackexchange.com/questions/84234/does-mathematica-have-an-equivalent-of-pythons-float-as-integer-ratio

The Python programming language has a float.as_integer_ratio(x) 
function which exactly converts an IEEE 754 floating-point number 
into a numerator/denominator pair of integers. For example:

...

- asked by David Zhang (10 votes), answered by Guess who it is. (15 votes)

—————————-

[Does Mathematica have an equivalent of C’s nextafter?]http://mathematica.stackexchange.com/questions/84237/does-mathematica-have-an-equivalent-of-cs-nextafter

In C (and many other programming languages), there is a function

double nextafter(double x, double y)

which takes two (IEEE 754) floating-point numbers and returns the next representable ...

- asked by David Zhang (9 votes), answered by Michael E2 (5 votes)

—————————-

[How can I make FilledCurve smoother?]http://mathematica.stackexchange.com/questions/84247/how-can-i-make-filledcurve-smoother

In How can I generate and randomly assign color to annular sectors? J.M. showed an interesting way to create a sector graphic using FilledCurve. Unfortunately it was marred by an inferior rendering ...

- asked by Mr.Wizard (9 votes), answered by Mr.Wizard (9 votes)

================================== Greatest hits from previous weeks: ==================================

[Alternatives to Mathematica]http://mathematica.stackexchange.com/questions/28162/alternatives-to-mathematica

Inspired by the recent question Alternatives to LaTeX (currently 58 upvotes) on http://tex.stackexchange.com/:

Are there any paid-for or open source alternatives to Mathematica which produce equal or ...

- asked by akk (28 votes), answered by Sumit (17 votes)

—————————-

[How do I draw a pair of buttocks?]http://mathematica.stackexchange.com/questions/66538/how-do-i-draw-a-pair-of-buttocks

I’m trying to develop a function which 3D plot would have a buttocks like shape.

Several days of searching the web and a dozen my of own attempts to solve the issue have brought nothing but two ...

- asked by Simpleton Jack (221 votes), answered by mikuszefski (340 votes)

================================== Can you answer these? ==================================

[Simplification with absolute value]http://mathematica.stackexchange.com/questions/83933/simplification-with-absolute-value

I have a long expression that has absolute values in the exponent. Some parts of the expression would clearly simplify if one assumes that the power is an odd or even integer. When I give one of this ...

- asked by Jools (1 vote)

—————————-

[Wrong Limit with LaguerreL] http://mathematica.stackexchange.com/questions/84077/wrong-limit-with-laguerrel

Limit[(n!LaguerreL[n,-1]/(n^(n+1/4)/Sqrt[2]/E^(n-2Sqrt[n]+1/2))-1)Sqrt[n],n->\[Infinity]]

Mathematica (wrong) output

13/16 = 0.8125

The right result is:

31/48 = 0.645833...

But numerically it ...

- asked by Vaclav Kotesovec (5 votes)

—————————-

[Fast construction and reshaping of large tensors]http://mathematica.stackexchange.com/questions/83999/fast-construction-and-reshaping-of-large-tensors

I’m trying to construct a large matrix which is derived from some higher rank tensor (the rank of interest to me changes case by case, so it needs to be a general method). Currently, the process of ...

- asked by user12876 (1 vote)