4.48 Tuesday, January 17, 2017

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

[How to rotate the curve but not the axes?] http://mathematica.stackexchange.com/questions/135376/how-to-rotate-the-curve-but-not-the-axes

I have a such graphic:

data = {{0, 5}, {1.9, 7.5}, {0, 12}, {-5, 15.5}, {-1.2, 33.4}}; 
p=Plot[Interpolation[Reverse /@ data, x, InterpolationOrder -> 2], {x, 
  0, 55}, Epilog -> {Red,  ...

- asked by yode (11 votes), answered by kglr (11 votes)

—————————-

[Function to draw densely interconnected layers in graph (e.g., neural net)] http://mathematica.stackexchange.com/questions/135354/function-to-draw-densely-interconnected-layers-in-graph-e-g-neural-net

I can use Graph[] to manually draw the shape of a very simple set of interconnected layers (for instance, a small neural network):

Graph[{1 -> 3, 2 -> 3, 1 -> 5, 2 -> 5, 1 -> 4, 2  ...

- asked by Larry OBrien (11 votes), answered by kglr (12 votes)

—————————-

[An Intersection function on lists that saves intersection positions] http://mathematica.stackexchange.com/questions/135583/an-intersection-function-on-lists-that-saves-intersection-positions

I would like an intersection function on lists like Intersection that also stores the coordinates of the intersections. For instance for a,b,c and b,c,e would give something like ...

- asked by Kvothe (9 votes), answered by ciao (9 votes)

—————————-

[Combining lists of lists with random structure] http://mathematica.stackexchange.com/questions/135238/combining-lists-of-lists-with-random-structure

I have two lists which I would like to combine. One is of a random structure, which might be:

l1={{3, 2, 4, 2}, {2, 3}, {4, 3}, {{2, 2}}, {{3, 3}}, {3, 2}}

where the elements in each sublist may ...

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

—————————-

[Slicing an Association with named key span without normalizing?] http://mathematica.stackexchange.com/questions/135092/slicing-an-association-with-named-key-span-without-normalizing

Is there way to slice an Association with named key span?

Span currently doesn’t accept named keys:

<|"z" -> 1, "x" -> 2, "b" -> 3, "a" -> 4|>  // Query["x" ;; "a"]

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

—————————-

[Finding Ramanujan’s taxicab numbers] http://mathematica.stackexchange.com/questions/135128/finding-ramanujans-taxicab-numbers

How to find Hardy-Ramanujan Numbers by using Mathematica?

Definition: Taxicab number is defined as the smallest number that can be expressed as a sum of two positive cubes in \(n\) distinct ways. ...

- asked by vito (9 votes), answered by vito (6 votes)

—————————-

[Area of surface of revolution] http://mathematica.stackexchange.com/questions/135358/area-of-surface-of-revolution

I am asked to rotate the curve \(y=\sqrt {4-x^2}\) from \(x=-1\) to \(x=1\) about the x-axis and find the area of the surface. I was able to use RevolutionPlot3D to show the surface.

RevolutionPlot3D[Sqrt[4 ...

- asked by David (7 votes), answered by corey979 (10 votes)

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

[Entering numbers in Scientific Notation?] http://mathematica.stackexchange.com/questions/36792/entering-numbers-in-scientific-notation

I need to play with a lot of powers such as 10^-3. 1E-3 
does not work for it. Is there any short form for it?

- asked by hhh (23 votes), answered by Rahul (32 votes)

—————————-

[xkcd-style graphs] http://mathematica.stackexchange.com/questions/11350/xkcd-style-graphs

I received an email to which I wanted to respond with a xkcd-style graph, but I couldn’t manage it. Everything I drew looked perfect, and I don’t have enough command over PlotLegends to have these ...

- asked by Amatya (532 votes), answered by Simon Woods (385 votes)

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

[Amelioration of a Karush-Kuhn-Tucker nice code] http://mathematica.stackexchange.com/questions/135220/amelioration-of-a-karush-kuhn-tucker-nice-code

In what concerns the resolution of a Karush-Kuhn-Tucker condition, this wonderful code borrowed to Parreiras (The Mathematica Journal 16 2014) which is a correction of another code by Kampas (The ...

- asked by cyrille.piatecki (4 votes)

—————————-

[URLDownload aborts prematurely] http://mathematica.stackexchange.com/questions/135355/urldownload-aborts-prematurely

So I’ve been trying to automate the download and build of various large packages for hooking Mathematica into extensions but the downloads continually finish prematurely.

Edit: first example was just ...

- asked by MB1965 (2 votes)

—————————-

[Simplify an integer expression involving Ceiling and Root[] of third degree polynomial] http://mathematica.stackexchange.com/questions/135566/simplify-an-integer-expression-involving-ceiling-and-root-of-third-degree-poly

I would like to simplify the following expression

    Ceiling[ToRadicals[Root[90 - 6 num + 65 #1 + 12 #1^2 + #1^3 &, 1]]]

with num an integer greater than or equal to 16. I tried using ...

- asked by Piruzzolo (1 vote)