================================== Top new questions this week: ==================================
[Why should I avoid the For loop in Mathematica?] http://mathematica.stackexchange.com/questions/134609/why-should-i-avoid-the-for-loop-in-mathematica
Some people advise against the use of For loops in Mathematica. Why? Should I heed this advice? What is wrong with For? What should I use instead?
- asked by Szabolcs (27 votes), answered by Szabolcs (36 votes)
—————————-
[Is there a style sheet that can be used to generate Stack Exchange input?] http://mathematica.stackexchange.com/questions/134518/is-there-a-style-sheet-that-can-be-used-to-generate-stack-exchange-input
It would be convenient if there were a style sheet that automatically indented input cells, and automatically commented output cells, so that one could generate a stack exchange response in WL, and ...
- asked by Carl Woll (24 votes), answered by Carl Woll (21 votes)
—————————-
[Function to create a path made of horizontal and vertical lines between a number of points] http://mathematica.stackexchange.com/questions/134424/function-to-create-a-path-made-of-horizontal-and-vertical-lines-between-a-number
I would like to create a function where I can define which case I want to use to create a path.
p1 = {40, 48}; p2 = {50, 116}; p3 = {63, 160}; listPurple = Symbol["p" <> ToString[#]] & /@ ...
- asked by Maria Regina (16 votes), answered by corey979 (15 votes)
—————————-
[How to wrap a crumpled paper over a surface?] http://mathematica.stackexchange.com/questions/134514/how-to-wrap-a-crumpled-paper-over-a-surface
My initial question was about the making of a crumpled paper. After reading this article suggested by J.M. and little more browsing (kind of random walk you do on a Saturday) I thought about expanding ...
- asked by Sumit (8 votes)
—————————-
[Would like input and output printed on same line, w/o needing extra syntax] http://mathematica.stackexchange.com/questions/134406/would-like-input-and-output-printed-on-same-line-w-o-needing-extra-syntax
SUMMARY
I’d like to get MMA to automatically print both input and output on the same line, in TraditionalForm, without having to add any extra syntax. Further, I’d like the output to be fully ...
- asked by theorist (8 votes), answered by Simon Rochester (4 votes)
—————————-
[Issue with Cell Frames in version 11] http://mathematica.stackexchange.com/questions/134665/issue-with-cell-frames-in-version-11
Since upgrading to version 11, all of my notebooks now have cell frames are either missing the top or bottom part. Is anyone else experiencing this? Is there a way to fix this? Is this considered ...
- asked by Michael McCain (7 votes), answered by MB1965 (5 votes)
—————————-
[How to speed up this code about a triple integral?] http://mathematica.stackexchange.com/questions/134477/how-to-speed-up-this-code-about-a-triple-integral
How to speed up this code? It’s unbelievably slow!!! My solution with pen and paper is faster.
Clear[R, h]; Integrate[ Integrate[ Integrate[1, {z, h, Sqrt[R^2 - x^2 - y^2]}, Assumptions -> ...
- asked by Mika Ike (7 votes), answered by corey979 (10 votes)
================================== Greatest hits from previous weeks: ==================================
[Exporting graphics to PDF - huge file] http://mathematica.stackexchange.com/questions/1542/exporting-graphics-to-pdf-huge-file
I want to draw some basic surfaces, export them to PDF and include them in a LaTeX file. I create a simple 3D graphics object, for instance with
ParametricPlot3D[{r Cos[], r Sin[], r^2}, {r, 0, ...
- asked by Matthew Leingang (89 votes), answered by Heike (75 votes)
—————————-
[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 (21 votes), answered by Rahul (30 votes)
================================== Can you answer these? ==================================
[How to specify halting states when using function TuringMachine?] http://mathematica.stackexchange.com/questions/134628/how-to-specify-halting-states-when-using-function-turingmachine
The function TuringMachine generates a list that represents the evolution of a Turing Machine given a rule that specifies its behaviour (i.e. set of instructions).
For example, the following rule ...
- asked by Lili (4 votes)
—————————-
[Can I use Mathematica for the symbolic verification of cases of a general problem?] http://mathematica.stackexchange.com/questions/134515/can-i-use-mathematica-for-the-symbolic-verification-of-cases-of-a-general-proble
I have never used Mathematica before, but I am contemplating using it to solve this problem for a simple case of \(f(x) = C, 1<x<2\) and \(= 0\) and \(= 0\). I can easily get \(\hat {f}\), the Fourier transform of ...
- asked by Rajesh Dachiraju (2 votes)
—————————-
[Antialiasing in Plot3D doesn’t work well] http://mathematica.stackexchange.com/questions/134612/antialiasing-in-plot3d-doesnt-work-well
My code is very simple:
Style[Plot3D[Cos[x + 0*y], {x, -10, 10}, {y, -2, 42}, Mesh -> None], Antialiasing -> True]
There seems some ripple on the top of the figure and I doubt whether it ...
- asked by user29114 (1 vote)