2.26.1 Top new questions this week

2.26.1.1 PlusMinus definition unexpectedly affects plotting
2.26.1.2 Can someone boost even more my code?
2.26.1.3 Why does NMaximize miss this global maximum?
2.26.1.4 How to break the x axis of a plot?
2.26.1.5 How to pick consecutive numbers from list?
2.26.1.6 Multiply each element of second position of two list
2.26.1.7 Area/Volume of a 2D/3D object as it is filled up with water
2.26.1.1 PlusMinus definition unexpectedly affects plotting

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=222380

In version 10.1 I found a strange Plot behavior I did not anticipate. It seems that various heads including PlusMinus are treated as wrappers and stripped by Plot in a way that is not safe. This ...

asked by Mr.Wizard https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=121 12 votes

answered by Mr.Wizard https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=121 12 votes

2.26.1.2 Can someone boost even more my code?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=222464

UPDATE

As suggested by Roman, I’ve included here all my code.

I’m using just bult-in function and compile to boost my code, but I think that it can be better. My code looks like

 
    nof = 30; 
     ...

asked by Magela https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=68365 11 votes

answered by Henrik Schumacher https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=38178 19 votes

2.26.1.3 Why does NMaximize miss this global maximum?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=222716

I am having trouble maximizing a function which appears as a curvature of a planar curve.

{tmin, tmax} = {0, 2 Pi} 
 
f = -((6-3 Cos[t] - Cos[3 t])/((-11+6 Cos[t] + 8 Cos[2 t] - 6 Cos[3 t] + Cos[4 t]) 
  ...

asked by A. Kato https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=62063 8 votes

answered by Michael E2 https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=4999 12 votes

2.26.1.4 How to break the x axis of a plot?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=222517

I have the following data from which I get an interpolation:

SPE = Interpolation[{{0, 4.08}, {0.5, 9}, {1.5, 12}, {5, 0.158}, {10, 
     0.158}, {15, 0.415}, {20, 0.802}, {30, 2.64}, {40, 4.99}, {60,  ...

asked by mattiav27 https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=8822 8 votes

answered by kglr https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=125 7 votes

2.26.1.5 How to pick consecutive numbers from list?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=222407

Question is very simple. If we have

tst = {2,3,4,6,7,9,11} 
 
result must be 
 
{{2,3,4}, {6,7}, {9}, {11}} 
 
 
There are similar questions, but not exact. 
 
My best solution is: 
 
myFun[arr_] :=  ...

asked by lesobrod https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=5950 8 votes

answered by J. M.’s technical difficulties https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=50 14 votes

2.26.1.6 Multiply each element of second position of two list

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=222548

If I have two list such as:

list1 = {{40., 7.50551*10^-10}, {40.,7.50557*10^-10}, {40.,7.50566*10^-10}, 
         {40.0001, 7.50578*10^-10}, {40.0001, 7.50591*10^-10},{40.0001, 7.50607*10^-10}, 
        ...

asked by John https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=72900 7 votes

answered by David Keith https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=44700 7 votes

2.26.1.7 Area/Volume of a 2D/3D object as it is filled up with water

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=222837

How could I get the volume of water on a region as it is filled up with water from below? Assume gravity points in some appropriate downward axis like y (or z in 3D) so the water fills upward from ...

asked by flinty https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=72682 6 votes