Your submission should follow our general guidelines. Please follow
- Modify the
bouncing ball program
to simulate Newton's cradle. Line up
five balls in a horizontal row with the first ball moving to strike the others as shown below
as a model, write a program to convert the drawing you did in the last problem of Assignment 4 into an image of type
- Modify an image processing program (such as
to convert a grayscale image to a binary image, by converting the input image to grayscale (if necessary) and
applying a threshold value obtained from a dialog box. The binary image should be either WHITE (true) or BLACK (false).
- Write a Java program that allows you to create, select and move resistors around
the screen. See
for some ideas.
- Modify growline.java so that it captures
e.g. MoveTo - LineTo - LineTo - ... This will form the start of
constructing WIRE objects for circuit layout.
- Extend your circuit analysis program to handle multiple current
sources, such as the example below, and calculate the node voltages.
The LTSpice version of this circuit can be downloaded from test5.zip
Your program should use FileChooser to select a netlist file.
R R1 1 2 100
R R2 3 4 400
R R3 2 0 500
R R4 4 0 200
I I1 0 1 0.1
I I2 2 3 0.02
Maintained by John Loomis,
last updated 20 June 2016