CPS 1 - Spring, 2000 - Ramm 2/9/00 #11

3. Numerical Computation and the Study of Functions

  • Setting it Up
    Declaration:
    double weights[];
    Definition:
    weights = new double[50];
    Or Combined:
    double weights[] = new double[50];

  • Subscript Range!!!

  • Simple Examples

  • Real Array Example
    Hotel.java, Hotel.html