Mathematica Weekly Newsletter
Mathematica Weekly Newsletter

Top new questions this week:

How to find arXiv articles

I found at Twitter that is possible to search for arXiv articles with Mathematica, e.g. the following code: arXiv = ServiceConnect["ArXiv"]; articles = arXiv["Search", {"Query" -> "Mathematica"}]; ...

webservices  
asked by mrz 21 votes
answered by user21 13 votes

Analytic solution to Newtonian gravity differential equation

I was told that I could obtain an analytic solution to a particle falling under the influence of Newtonian gravity by using DSolveValue. What I am given $G = M = m = 1$ $M$ is a point mass at $z=0$ ...

differential-equations symbolic  
asked by Joe 13 votes
answered by Kagaratsch 12 votes

Why does Mathematica think this series doesn't converge?

Bug introduced in 10.0 and persisting through 11.0 (reported as CASE:3790525) Here's a simple series: Sum[t^k DiscreteDelta[k]/k!,{k,0,Infinity}] Mathematica says that it doesn't converge. But ...

bugs symbolic summation  
asked by Ruslan 11 votes
answered by Jules Lamers 7 votes

Joining two lists with relational operators

I have two lists liste = {x, -y, y, -z} and listv = {1, -2, 3, -4}, which represent the inequities obtained evaluating liste - listv <= 0. How do I reassemble or join those two separate lists into ...

expression-manipulation  
asked by nanjun 11 votes
answered by Kuba 13 votes

Largest palindrome from given string

Someone recently posted a request on LinkedIn for an algorithm to find the largest palindrome from a given string. I came up with this, which I believe does the trick, but I am wondering if there ...

string-manipulation  
asked by Jonathan Kinlay 10 votes
answered by Kuba 10 votes

Why Function is not identical to `&` in autocompilation?

Here is the example, copied from here square = Function[x, x^2]; square1 = #^2 &; the timing and unpacking status shows data = RandomReal[{0, 10}, {10000}]; ...

function-construction compile core-language  
asked by matheorem 10 votes
answered by m_goldberg 4 votes

How to find the triangle

I have some points from a triangle,but there are some unexpected point still.How to remove those singular point and find the most probable triangle? SeedRandom[8] triPoint = RandomPoint[ ...

graphs-and-networks fitting computational-geometry arithmetic  
asked by yode 9 votes
answered by halirutan 7 votes

Greatest hits from previous weeks:

Creating Mathematica packages

I'm building a package to help me write packages and their documentation. In this post I explained how to make a package and its documentation. In the answer I provided I describe how to build a very ...

packages development eprogramming  
asked by jmlopez 82 votes
answered by Leonid Shifrin 105 votes

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?

number-representation  
asked by hhh 21 votes
answered by Rahul 30 votes

Can you answer these?

Is it possible to do matrix algebra symbolically?

I'm reading a book that has the following theorem: I am trying to make Mathematica perform these calculations for me. Is it possible to do it without having to declare the matrices? For ...

matrix algebraic-manipulation  
asked by Oppa Hilbert Style 2 votes

Bug in floating-point number comparisons near $MachineEpsilon?

I stumbled over the following weird behavior when comparing floating-point numbers close to 1.0: qq = 1.0 + 60.0 $MachineEpsilon; and then qq > 1.0 yields False. However, qq - 1 yields ...

machine-precision  
asked by RonH 3 votes

Floor function not behaving the way I expect inside a For loop

When I execute the following code y = Ceiling[π, 0.001] 3.142 For[i = 0, i <= 10, i = i + 0.001, If[Floor[i/y] == 1, Print[i]; Print[i - 0.001, " ", Floor[(i - 0.001)/y]]; ...

iterators  
asked by Alex 1 vote
Subscribe to more Stack Exchange newsletters


Unsubscribe from this newsletter or change your email preferences by visiting your subscriptions page on stackexchange.com.

Questions? Comments? Let us know on our feedback site. If you no longer want to receive mail from Stack Exchange, unsubscribe from all stackexchange.com emails.

Stack Exchange, Inc. 110 William St, 28th Floor, NY NY 10038 <3