================================== Top new questions this week: ==================================
[DumpSave 10.2 style from 10.3] http://mathematica.stackexchange.com/questions/97357/dumpsave-10-2-style-from-10-3
Szabolcs has asked WRI support about mx files, in particular:
Can we expect that MX files written by Mathematica 10.0.0 will be readable by future point released such as 10.0.1 or 10.0.2?
...
- asked by Kuba (14 votes)
—————————-
[Plot3D is incorrectly returning "1/0. encountered"] http://mathematica.stackexchange.com/questions/97104/plot3d-is-incorrectly-returning-1-0-encountered
The line of code
Plot3D[1/y, {x, 0, 1}, {y, x + 1, x + 2}]
is returning several "Power::infy: Infinite expression 1/0. encountered." error messages, and then returning an empty plot. But the ...
- asked by tparker (13 votes), answered by rhermans (8 votes)
—————————-
[Fast Selections Testing on Inequality] http://mathematica.stackexchange.com/questions/97083/fast-selections-testing-on-inequality
Is there a functional idiom for fast selections testing on inequality?
For example, finding values from list a & b where the key is less than or equal to a value, in this case 4 or 9.
An ...
- asked by Chris Degnen (13 votes), answered by Chris Degnen (5 votes)
—————————-
[Generate two random numbers with constraint] http://mathematica.stackexchange.com/questions/97424/generate-two-random-numbers-with-constraint
I want to generate two random numbers p and q between 0.5 and 1. They are connected by the following constraint \(1/2q\> ;p\). How to do that?
- asked by Chandan Datta (12 votes), answered by rhermans (18 votes)
—————————-
[How to evaluate the second argument of Cases only once] http://mathematica.stackexchange.com/questions/96939/how-to-evaluate-the-second-argument-of-cases-only-once
I’d like to find a fast but readable way to achieve the following:
Cases[RandomInteger[{AbsoluteTime["2001"], AbsoluteTime["2003"]}, 1000], a_ /; a > AbsoluteTime["2002"]]
The correct result ...
- asked by Italianice (10 votes), answered by Michael E2 (11 votes)
—————————-
[How to predict the degree of the first series coefficient?] http://mathematica.stackexchange.com/questions/97313/how-to-predict-the-degree-of-the-first-series-coefficient
Given an expression f that is a function of x and a number x0, what is the least integer n that produces a non-zero coefficient in Series[f, x, x0, n]?
[1] For instance, here, is the answer is n = ...
- asked by Michael E2 (9 votes), answered by bbgodfrey (0 votes)
—————————-
[Trying to find the asymptote to a function] http://mathematica.stackexchange.com/questions/97365/trying-to-find-the-asymptote-to-a-function
I am trying to find the asymptote to a solution of a differential equation.
I solved $x'(t) = \sin(x(t) + t)$ using NDSolve and plotted my solution. sol = NDSolve[{x'[t] == Sin[x[t] + t], x[0] == ...
- asked by Jacobadtr (9 votes), answered by bbgodfrey (9 votes)
================================== Greatest hits from previous weeks: ==================================
[Generating visually pleasing circle packs] http://mathematica.stackexchange.com/questions/40334/generating-visually-pleasing-circle-packs
EDIT: (my conclusion and thank you note) I want to thank you all guys for this unexpected intellectual and artistic journey. Hope you had fun and enjoyed it the same as I did.
I would like to ...
- asked by VividD (86 votes), answered by level1807 (51 votes)
—————————-
[Is there a syntax for single-line comments for notebooks?] http://mathematica.stackexchange.com/questions/1496/is-there-a-syntax-for-single-line-comments-for-notebooks
I’m aware that I can use (* ... *) to comment out stuff in a notebook. Many languages have a syntax for single-line comments, such as
// in C, C++, Java, C#, ... # in shell, Python, ... For ...
- asked by Peeter Joot (35 votes), answered by Szabolcs (42 votes)
================================== Can you answer these? ==================================
[SyntaxInformation: take allowed options from multiple symbols possible?] http://mathematica.stackexchange.com/questions/97411/syntaxinformation-take-allowed-options-from-multiple-symbols-possible
Suppose I have a function like
Options[f] = {foo -> 1}; f[opt : OptionsPattern[{f,g}]] := h@g[Sequence @@ FilterRules[{opt}, Options[g]]]
I purposefully do not want to append Options[g] to ...
- asked by Szabolcs (4 votes)
—————————-
[Is there any way to export vector graphics with shading?] http://mathematica.stackexchange.com/questions/97305/is-there-any-way-to-export-vector-graphics-with-shading
This has irked me for a while as I really feel its a significant shortfall in Mathematica’s abilities but maybe I am missing something.
I would like to export simple graphics with shading in a ...
- asked by Quantum_Oli (9 votes)
—————————-
[Why is 13 the smaller height dimension of a Graphics?] http://mathematica.stackexchange.com/questions/97364/why-is-13-the-smaller-height-dimension-of-a-graphics
It seems that you cannot get a Graphics image with a height dimension less than 13. Trying to draw something and then asking for the ImageDimensions of the resulting Graphics, you will get three ...
- asked by Guido (6 votes)