|
- Expand on the Complex class to make
it more useful. Include the following and any other properties you think
would be useful :
- Additional constructors such as a default with zero real and imaginary
values, a constructor that sets its values to that of a complex
object taken as an argument, etc.
- Provides a static "i" value.
- Absolute value method
- Inverse value
- Multiplication
- Create a similar program as BasicHistApplet1.java
in Chapter 3: Tech: Histogram
except that it uses the BetterHist
class and prints out the mean and standard deviation of a distribution.
- Create a vector class that includes static methods to carry out dot
and cross product operations.
- Using objects from the vector class in exercise 3, create a matrix
class that carries out vector*matrix multiplication.
|
|