7.3 Tuesday, December 16, 2014

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

[Bug in ArcLength?]http://mathematica.stackexchange.com/questions/69122/bug-in-arclength

With Mathematica 10.0.2:

ArcLength[Line[{{0, 0}, {1, 0}, {2, 0}}]] 
ArcLength[Line[{{0}, {1}, {2}}]] 
(* 2 *) 
(* 2 *) 
 
 
However, 
 
ArcLength[Line[{{0, 0}, {1, 0}, {2.0, 0}}]] 
ArcLength[Line[{{0}, {1},  ...

- asked by qwerty (15 votes)

—————————-

[Save as pdf broken in version 10.0.2?] http://mathematica.stackexchange.com/questions/68893/save-as-pdf-broken-in-version-10-0-2

It looks like the save as pdf is broken after I update to version 10.0.2. The labels in the plot become a mess.

Are there ways to fix it? The Export function works well though.

Here is a screenshot

...

- asked by xslittlegrass (12 votes)

—————————-

[What does f_[whoCalled]^:=f really mean?] http://mathematica.stackexchange.com/questions/68823/what-does-f-whocalled-f-really-mean

I came across the following post by John Doty in this Google Groups discussion:

On Friday, January 11, 2013 8:23:16 PM UTC-7, amzoti wrote:

It is clear the Mathematica uses Lisp as one ...

- asked by Shredderroy (11 votes), answered by Chris Degnen (1 vote)

—————————-

[10.0.2 mapping Association to Dataset warning] http://mathematica.stackexchange.com/questions/68875/10-0-2-mapping-association-to-dataset-warning

In 10.0.2

ExampleData[{"Dataset", "Titanic"}][All, <| "gender" -> #sex|> 
&] 
 
 
Outputs the expected result, but also throws: 
 
 
MapAt::partw: Part {1,All,2} of 
...

- asked by alancalvitti (10 votes), answered by Taliesin Beynon (12 votes)

—————————-

[Sampling phase space uniformly for a given energy] http://mathematica.stackexchange.com/questions/69029/sampling-phase-space-uniformly-for-a-given-energy

For example, for the 1D harmonic oscillator, the energy is given by: \[ E = \frac {1}{2 m} p^2 + \frac {m \omega ^2}{2} x^2 \] where x is position and p is the momentum.

I would like to sample phase ...

- asked by user29165 (8 votes), answered by bbgodfrey (5 votes)

—————————-

[representation of custom deformation on a meshgrid] http://mathematica.stackexchange.com/questions/69132/representation-of-custom-deformation-on-a-meshgrid

I am trying to represent 2D deformations on a rectangular grid. In Mathematica 10, there is a method to solve the elastic differential equations and then represent the deformation as presented here:

...

- asked by Botond (7 votes), answered by Michael E2 (9 votes)

—————————-

[Processing a circular rainbow in an image] http://mathematica.stackexchange.com/questions/69092/processing-a-circular-rainbow-in-an-image

I was flying cross country last week. We were at about 35000 feet with a complete cloud deck below us. I looked down and saw a complete circular rainbow above the clouds. It was in view about 10 ...

- asked by Rob (7 votes), answered by bill s (9 votes)

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

[How to find the domain and range of a function with Mathematica?] http://mathematica.stackexchange.com/questions/8016/how-to-find-the-domain-and-range-of-a-function-with-mathematica

I’m studying calculus and in some exercises I am asked to find the domain and range of a function. Does Mathematica have already a built-in function for this?

I can imagine some ways of doing so, ...

- asked by Vyska (17 votes), answered by Szabolcs (18 votes)

—————————-

[How to ask Mathematica to imitate Andy Warhol’s pop-art painting?] http://mathematica.stackexchange.com/questions/59132/how-to-ask-mathematica-to-imitate-andy-warhols-pop-art-painting

I tried to ask Mathematica to imitate Andy Warhol, let it convert a Marilyn Monroe’s portrait so that it looks like Warhol’s world famous pop-art painting. However, the result shown below is far from ...

- asked by Putterboy (37 votes), answered by belisarius (41 votes)

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

[Linux: Mathematica crashes when clicking documentation links very fast] http://mathematica.stackexchange.com/questions/68927/linux-mathematica-crashes-when-clicking-documentation-links-very-fast

Can someone confirm the following behavior: Open a new Mathematica and go to the documentation. Navigate to any reference page (I used RegionPlot) and click repeatedly and very fast the RegionPlot ...

- asked by halirutan (5 votes)

—————————-

[Import/Export a FIT file, Fitness file created by Garmin GPS’s and others] http://mathematica.stackexchange.com/questions/69085/import-export-a-fit-file-fitness-file-created-by-garmin-gpss-and-others

A FIT file is a binary replacement for GPX and TCX text files containing GPS and fitness data (heart monitors, etc.). Mathematica reads GPX and TCX files and represents them as XML. I would like to ...

- asked by Douglas Kubler (1 vote)

—————————-

[Creating REST Web Service with webMathematica] http://mathematica.stackexchange.com/questions/69021/creating-rest-web-service-with-webmathematica

Someone knows how can I implement a REST Web Service with webMathematica?

The SOAP service is well documented here and in the webMathematica User Guide.

I saw that is possible to create a REST ...

- asked by Murta (4 votes)