Mathematica has been used to make many important discoveries in discrete mathematics over the past two decades. Its integration of highly efficient and often original ...
SetSelectedNotebook[notebook] makes the specified notebook be the currently selected one in the front end.
In Mathematica, graphs can be constructed in a variety of ways. They can be built from vertices and edges directly in a symbolic form. They can come from built-in curated ...
Lists are widely used in Mathematica, and there are many ways to construct them. Some explicit ways to construct lists. This gives a table of the first five powers of 2.
Looping is a core concept in programming. Mathematica provides powerful primitives for specifying and controlling looping, not only in traditional procedural programming, but ...
Intersection[list_1, list_2, ...] gives a sorted list of the elements common to all the list_i.
Mathematica represents Boolean expressions in symbolic form, so they can not only be evaluated, but also be symbolically manipulated and transformed. Incorporating ...
Functions like Factor usually assume that all coefficients in the polynomials they produce must involve only rational numbers. But by setting the option Extension you can ...
When you give a list of equations to Solve, it assumes that you want all the equations to be satisfied simultaneously. It is also possible to give Solve more complicated ...
Constructing Matrices Getting and Setting Pieces of Matrices Scalars, Vectors, and Matrices