4.45.1 Top new questions this week

4.45.1.1 Is it possible to construct a fullform trace function
4.45.1.2 Integrate gives wrong result for simple function
4.45.1.3 Select the same elements from lists
4.45.1.4 Building a convenient package distribution system
4.45.1.5 How to merge two lists with different dimensions
4.45.1.6 What is the elegant way of applying function to two lists?
4.45.1.7 Legend displaying the expected number of points per unit area next to density plot
4.45.1.1 Is it possible to construct a fullform trace function

https://mathematica.stackexchange.com/questions/160184/is-it-possible-to-construct-a-fullform-trace-function

 
Is it possible to construct a FullFormTrace function that takes an arbitrary expression and prints a sequence  (or returns a list) of the evaluation steps in full form. For instance 
 
...
 

- asked by Bob Ueland (13 votes), answered by Edmund (15 votes)

4.45.1.2 Integrate gives wrong result for simple function

https://mathematica.stackexchange.com/questions/160278/integrate-gives-wrong-result-for-simple-function

 
(probably) Bug introduced in 9.0 or earlier and persisting through 11.2 
 
 
 
It looks like this. 
 
NIntegrate[1/(2 + Sin[x + y]), {x, 0, 2 Pi}, {y, 0, 2 Pi}] 
22.7929 
Integrate[1/(2 + Sin[x + y]), {x, 0,  ...
 

- asked by huotuichang (10 votes), answered by Nasser (8 votes)

4.45.1.3 Select the same elements from lists

https://mathematica.stackexchange.com/questions/160222/select-the-same-elements-from-lists

 
I need a special intersectant operation for List other than Set. 
 
There maybe some duplicate elements, also need to count instead of merging as Intersection. 
 
For example: 
 
...
 

- asked by GalAster (10 votes), answered by jjc385 (11 votes)

4.45.1.4 Building a convenient package distribution system

https://mathematica.stackexchange.com/questions/160330/building-a-convenient-package-distribution-system

 
The PacletManager is nice, but it's not really a low-effort system to work with. 
 
Installing a package can be made pretty easy, but only if the location from which it is to be installed makes it so. 
 
...
 
- asked by b3m2a1 8votes
4.45.1.5 How to merge two lists with different dimensions

https://mathematica.stackexchange.com/questions/160159/how-to-merge-two-lists-with-different-dimensions

 
I have two list, just like 
 
a={a1,a2,a3,a4}; 
b={b1,b2,b3,b4,b5}; 
 
 
I want merge them and save to excel, as they have different dimention, so I want it have the following format. 
 
...
 

- asked by zongxian (7 votes), answered by Carl Woll (12 votes)

4.45.1.6 What is the elegant way of applying function to two lists?

https://mathematica.stackexchange.com/questions/160028/what-is-the-elegant-way-of-applying-function-to-two-lists

 
I am interested in finding the most concise elegant way of doing the following: 
We have a function fun[x1,x2] 
and two lists: 
 
ls1={a1,a2,a3,a4,......} 
 
 
and 
 
ls2={b1,b2,b3,b4,......} 
 
 
I  ...
 

- asked by qahtah (7 votes), answered by halirutan (11 votes)

4.45.1.7 Legend displaying the expected number of points per unit area next to density plot

https://mathematica.stackexchange.com/questions/160193/legend-displaying-the-expected-number-of-points-per-unit-area-next-to-density-pl

 
I have 2d points and want to show a colored density plot of them. I also want to display a legend showing which point density (number of points per unit area) the colors in the plot represent. 
 
Let's  ...
 

- asked by mrz (6 votes), answered by C. E. (7 votes)