5.29 Tuesday, June 14, 2016

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

[Are you interested in a Wolfram Workbench Update?] http://mathematica.stackexchange.com/questions/118154/are-you-interested-in-a-wolfram-workbench-update

I also posted this on the Wolfram Community site (link below)

Last week I attended the Wolfram Tour (which was great). I asked whenever we could expect a new version of Workbench, as the current ...

- asked by Frank Martin (18 votes), answered by Anton Antonov (14 votes)

—————————-

[Is manual adjustment of AccuracyGoal and PrecisionGoal useless?] http://mathematica.stackexchange.com/questions/118249/is-manual-adjustment-of-accuracygoal-and-precisiongoal-useless

This is a problem confusing me for years.

AccuracyGoal and PrecisionGoal are two options that I never truly understand and, to be honest, always avoid touching. Let’s first look at the descriptions ...

- asked by xzczd (15 votes)

—————————-

[Can Mathematica recompose an image?] http://mathematica.stackexchange.com/questions/117892/can-mathematica-recompose-an-image

The OP in this post on superuser.com asks how to recompose an image; quoting:

I have a set of images, which are parts of a bigger image.

I would like the images to assembled as automated as ...

- asked by mattiav27 (15 votes), answered by C. E. (13 votes)

—————————-

[How to implement custom integration rules for use by NIntegrate] http://mathematica.stackexchange.com/questions/118324/how-to-implement-custom-integration-rules-for-use-by-nintegrate

How can NIntegrate be extended with custom implementation of integration rules?

This answer of the question "Monte Carlo integration with random numbers generated from a Gaussian distribution" shows ...

- asked by Anton Antonov (14 votes), answered by Anton Antonov (15 votes)

—————————-

[Unexpected behavior of Sequence – using Sequence to delete parts of an expression] http://mathematica.stackexchange.com/questions/118108/unexpected-behavior-of-sequence-using-sequence-to-delete-parts-of-an-expressi

I thought that assigning Sequence[] to the part of an expression was an effective way to remove it. For example, the following code yields 2,3,4,5:

xx = Range[5]; xx[[1]] = Sequence[]; xx

Thus, I ...

- asked by Hector (10 votes), answered by Leonid Shifrin (6 votes)

—————————-

[Why NIntegrate is badly-behaved on \(J_{\frac {9}{2}}(x)\) by default?] http://mathematica.stackexchange.com/questions/117888/why-nintegrate-is-badly-behaved-on-j-frac92x-by-default

A friend of mine showed me this example:

Plot[BesselJ[9/2, x], {x, 0, 1}, 
 PlotLabel -> Style["The integrand seems to be simple", 14]] 
 
Integrate[BesselJ[9/2, x], {x, 0, 1}] // N 
(*  ... 

- asked by xzczd (10 votes), answered by Anton Antonov (6 votes)

—————————-

[How do I insert OwnValues inside a held expression without evaluating it?] http://mathematica.stackexchange.com/questions/118030/how-do-i-insert-ownvalues-inside-a-held-expression-without-evaluating-it

Here is a very long and complicated expression, which we abbreviate as a. I store it using SetDelayed because I want to perform algebraic manipulations on it:

ClearAll[a]; 
a := 1 + 1

Here is a ...

- asked by QuantumDot (9 votes), answered by Kuba (9 votes)

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

[Where can I find examples of good Mathematica programming practice?] http://mathematica.stackexchange.com/questions/18/where-can-i-find-examples-of-good-mathematica-programming-practice

I consider myself a pretty good Mathematica programmer, but I’m always looking out for ways to either improve my way of doing things in Mathematica, or to see if there’s something nifty that I haven’t ...

- asked by J. M. (419 votes), answered by faysou (377 votes)

—————————-

[++ is dangerous for C programmers] http://mathematica.stackexchange.com/questions/107619/is-dangerous-for-c-programmers

I noticed this fact, that may be misleading for programmers used to C language.

In Mathematica, if you have a function f[] and an array v, and you write

v[[ f[] ]]++

the function f is called ...

- asked by Giovanni Resta (32 votes), answered by Mr.Wizard (24 votes)

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

[Solve and design "water flow"] http://mathematica.stackexchange.com/questions/118183/solve-and-design-water-flow

In some strategy game I play, I’ll have to change the terrain to make the water flow in some specific way to fulfill my goal. The water flow changes with terrain so if I can change the terrain wisely ...

- asked by Wjx (5 votes)

—————————-

[Is there a way to figure out the "upper limit" of my PC’s computational ability in Mathematica?] http://mathematica.stackexchange.com/questions/117852/is-there-a-way-to-figure-out-the-upper-limit-of-my-pcs-computational-ability

I am doing some simulations with Finite Element Analysis (FEA) and part of it is forming a mesh in 3D and then using NDSolveValue to solve a differential equation on that mesh.

For some meshes, my ...

- asked by YungHummmma (2 votes)

—————————-

[Numerical testing of Hardy’s inequality] http://mathematica.stackexchange.com/questions/118061/numerical-testing-of-hardys-inequality

I want to check the following Hardy’s most fundamental inequality by using Mathematica:

\[\sum _{n=1}^\infty \left (\frac {A_n}{n}\right )^p<\left (\frac {p}{p-1}\right )^p\sum _{n=1}^\infty a_n^p\] ...

- asked by vito (2 votes)