Your submission should follow our general guidelines. Please follow
object-oriented principles. Include an executable
for each program.
- Extend your circuit analysis program to handle multiple voltages
sources, such as the example below, and calculate the unknown node values.
Display your results in a TextArea and use a MenuBar as in the previous assignment.
Format your node variables to distinguish voltages from currents. In the example,
there are four nodes and two voltage sources, so the matrix is 6 x 6 and the node
values would be:
V(1) = ***
V(2) = ***
V(3) = ***
V(4) = ***
I(1) = ***
I(2) = ***
The LTSpice version of this circuit can be downloaded from test6.zip
R1 1 2 100
R2 3 4 400
R3 2 0 500
R4 4 0 200
VA 1 0 9
VB 3 2 5
- Modify your earilier image display programs so that you can use a
to do the equivalent of
imcrop in MATLAB. Your program should write out
the cropped image to an output image file.
- Modify the bouncing balls
program so that you can control the coefficient of restitution with a GUI item in the North or South position
of the border layout.
- Improve your robot controller from asgn07 (if necessary) and incorporate it into
The goal of the game is to steer the robot to the yellow X as quickly as possible.
Incorporate your “bread-crumbs” method to document your route to the destination.
- Write a Java program to perform Opening and
Closing a binary image.
See morph for
examples of dilation and erosion on a binary image.
- Implement the Runge-Kutta method for solving a system of differential equations in Java. See
MATLAB notes on numerical solutions of differential equations.
Download MATLAB code from integrator.zip.
Remember that Java, unlike MATLAB, does not use matrices as basic components so you may need Jama.
Maintained by John Loomis,
last updated 26 March 2018