8.7 November 19, 2013
==================================
Top new questions this week:
==================================
[Even Fibonacci
numbers]\url{http://mathematica.stackexchange.com/questions/37266/even-fibo
nacci-numbers}
Today, I found the Euler Project. Problem #2 is
Each new term in the Fibonacci sequence is generated by adding the
previous two terms. By starting with 1 and 2, the first 10 terms will
be:
1, ...
- asked by Tangshutao (19 votes), answered by rcollyer (28 votes)
----------------------------
[How to split list into disjoint
lists?]\url{http://mathematica.stackexchange.com/questions/37249/how-to-spl
it-list-into-disjoint-lists}
I wonder if there is any simple way to split a list into its disjoint
sublists, e.g. from
list={{a,b},{e,f},{b,c},{c,d},{f,g,h}}
get a result
listdis={{{a,b},{b,c},{c,d}},{{e,f},{f,g,h}}},
so ...
- asked by krzysiekb (13 votes), answered by Leonid Shifrin (11 votes)
----------------------------
[How to draw a
spring?]\url{http://mathematica.stackexchange.com/questions/37207/how-to-dr
aw-a-spring}
I am new to Mathematica and have recently been exploring graphical
animations. So I was experimenting with simple concepts in periodic
motion and hence wondered how can I draw a simple spring? Is ...
- asked by David McHarg (13 votes), answered by belisarius (11 votes)
----------------------------
[How to programmatically remove menu
items]\url{http://mathematica.stackexchange.com/questions/36923/how-to-prog
rammatically-remove-menu-items}
I would like to do the opposite of what is described here. So rather
than add a menu item I would like to programmatically remove one (or
more). So given a knowledge of the structure of the menu *.tr ...
- asked by Mike Honeychurch (9 votes)
----------------------------
[Impact Crater
Simulation]\url{http://mathematica.stackexchange.com/questions/37183/impact
-crater-simulation}
I have been trying to model crater formation on a given planetary
surface - $500\,\textrm{km}^2$. The locations of impacts are random,
however, if an impact is within $30\,\textrm{km}$ of another, the ...
- asked by Benjamin L (8 votes), answered by belisarius (6 votes)
----------------------------
[What is wrong with my expression for
compiling?]\url{http://mathematica.stackexchange.com/questions/37262/what-i
s-wrong-with-my-expression-for-compiling}
Following code was translated from a snippet matlab code. Without
compiling it worked slowly. I want to compile it, but am getting a
numerical error. How do I compile this in a correct way?
data = ...
- asked by expression (7 votes), answered by ybeltukov (10 votes)
----------------------------
[how to simplify large expression with lots of special functions in it
(BesselY, Hypergeometric, MeijerG
etc...)]\url{http://mathematica.stackexchange.com/questions/37289/how-to-si
mplify-large-expression-with-lots-of-special-functions-in-it-bessely}
I saw this DE in Maple forum. When solving it using Mathematica 9.01,
even though the result was correct (both solutions gave the same
numerical answer for some random values), Mathematica's answer ...
- asked by Nasser (7 votes), answered by ssch (1 vote)
==================================
Greatest hits from previous weeks:
==================================
[How can I improve Mathematica's resolution on a macbook retina
display?]\url{http://mathematica.stackexchange.com/questions/18419/how-can-
i-improve-mathematicas-resolution-on-a-macbook-retina-display}
Mathematica looks a bit fuzzy on the retina screen, how can I increase
the resolution?
Here another screenshot showing a direct comparison between the browser
and Mathematica
- asked by Tom Wellington (28 votes), answered by programming_historian
(11 votes)
----------------------------
[Where can I find examples of good Mathematica programming
practice?]\url{http://mathematica.stackexchange.com/questions/18/where-can-
i-find-examples-of-good-mathematica-programming-practice}
I consider myself a pretty good Mathematica programmer, but I'm always
looking out for ways to either improve my way of doing things in
Mathematica, or to see if there's something nifty that I haven't ...
- asked by J.M. (234 votes), answered by Faysal Aberkane (220 votes)
==================================
Can you answer these?
==================================
[The number of real values assumed by combinations of complex roots of a
decic]\url{http://mathematica.stackexchange.com/questions/36933/the-number-
of-real-values-assumed-by-combinations-of-complex-roots-of-a-decic}
Define complex conjugate as the pair of complex numbers $a+bi,a-bi$.
Assume you have 5 such pairs and they are the 10 roots $x_i$ of a
10th-deg equation with integer coefficients. In general, how many ...
- asked by Tito Piezas III (1 vote)
----------------------------
[Odd colourization for FourierParameters. UI
bug?]\url{http://mathematica.stackexchange.com/questions/37133/odd-colouriz
ation-for-fourierparameters-ui-bug}
The Mathematica UI colourizes the FourierParameters in the following
Clear[x, y]
g[x_, y_] = x^2 y ;
f[x_, y_] =
FourierSeries[x^2 y, {x, y}, {4, 4}, FourierParameters -> {1, 2 Pi}]
as in the ...
- asked by Peeter Joot (2 votes)
----------------------------
[Using FunctionExpand[] to evaluate symbolic
derivatives]\url{http://mathematica.stackexchange.com/questions/37293/using
-functionexpand-to-evaluate-symbolic-derivatives}
Some symbolic derivatives of certain special function are not expanded
automatically, but FunctionExpand often helps to get a derivative-free
closed form expression.
Derivative[1, 0][BesselJ][0, 1]
...
- asked by Vladimir Reshetnikov (5 votes)