I\'m trying to run the following program, which calculates roots of polynomials of degree up to d with coefficients only +1 or -1, and then store it into files.
I\'m bewildered by all the built-in Mathematica functions that purport to prevent evaluation in some way: Unevaluated, Defer, Hold, and over half a dozen of the form Hold*.The Mathematica documentatio
Suppose I have the following results: a=FindInstance[2*b^2 + b^3 == b^4 + t && t < 10 && t > -1, {b, t},
Mathematica has a function MapThread that behaves like this: MapThread[ f , { {a,b,c} , {d,e,f} } ] -> { f[a,d] , f[b,e] , f[c,f] }
I\'d like to start writing some unit tests for my Mathematica programs and control everything from the command line with some Makefiles.
I want to use something like: ContourPlot [Abs[z-1] == 2] and to define z as being = x + iy I saw somewhere an example like that with the With function, but I can\'t find it anymore and all my trie
How can you write the following statement in the given languages? a(0) = 1 a_(n+1) = 1 - 1 / ( a_n + 3)
I don\'t know why Wikipedia lists Mathematica as a programming language with printf.I just couldn\'t find the equivalent in Mathematica.
Is there some straightforward way to ensure that, when converted to strings, approximate numbers (i.e., numbers with the Real head) won\'t have a trailing \".\"? I would like it if they were to only h
Example: test = {\"a\" -> {{1}, 12开发者_JAVA百科}, \"b\" -> {13}} I\'d like to find all expressions in the list with this pattern: