BUILT-IN MATHEMATICA SYMBOL

# FindDivisions

FindDivisions[{x_{min}, x_{max}}, n]

finds a list of about n "nice" numbers that divide the interval around to into equally spaced parts.

FindDivisions[{x_{min}, x_{max}, dx}, n]

makes the parts always have lengths that are integer multiples of dx.

FindDivisions[{x_{min}, x_{max}}, {n_{1}, n_{2}, ...}]

finds successive subdivisions into about , , ... parts.

FindDivisions[{x_{min}, x_{max}, {dx_{1}, dx_{2}, ...}}, {n_{1}, n_{2}, ...}]

uses spacings that are forced to be multiples of , , ....

FindDivisions[{x_{min}, x_{max}, {dx_{1}, dx_{2}, ...}}]

gives all numbers in the interval that are multiples of the .

- FindDivisions[{x
_{min}, x_{max}}, n] searches for numbers that are shortest in their decimal representation.
- FindDivisions[{x
_{min}, x_{max}}, n, k] searches for numbers that are shortest in their base k representation.
- The first and last numbers may be slightly outside the range to .
- The can be exact numbers such as Pi/2 specified in symbolic form.
- FindDivisions[{x
_{min}, x_{max}}, {n_{1}, n_{2}, ...}] yields a list of lists, in which later lists omit elements that occur in earlier lists.
- For some choices of , some of the lists generated may be empty.

Find five divisions of the interval [0,1]:

Out[1]= | |

Division end points may be outside the initial range:

Out[1]= | |

Generate multiple levels of divisions:

Out[1]= | |

Find divisions that are aligned to multiples of :

Out[1]= | |

Out[2]= | |

Find divisions that are short in a given base:

Out[1]//BaseForm= |

| |

Out[2]//BaseForm= |

| |

Out[3]//BaseForm= |

| |

New in 7