Required Working Style for Today's Lab:
- From beginning to end you will work in a folder which contains all your work for today's lab.
- Before you leave, you will email me all the files necessary to run your application.
Work on the exercises listed on page we started looking at this morning.
accomplish any 4 of a) thru g) (For square, regular, &ragged arrays)
accomplish any 4 of h) thru n) (For square, regular, &ragged arrays as it makes sense)
Make your scale 0,30 for x & y
Given(ie,scanner) a ragged array of doubles, write a program which responds in the following way to each row.
Start from the provided code which .... plots a circle.A circle can be described using a polar equation.
r = 1
This starter set of code plot's that simple equation. Notice how x & y are computed in the loop.UnitCircleClient.java
(LabeledUnitClient.class)
![]()
1.5.21 suggests some more interesting equations. Try them...
Make a menu of possibilities. Here's one I made
MenuClient.class
Next try placing the calculated Euclidean coordinates into two array's x & y and plotting as a single filled & single framed polygon (MenuPolyClient.class).
I have a brief handout and you may use browser and look up equations of more polar curves....