Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
MSRI Summer School on Mathematical Graphics PostScript Exercises II. Unless specified otherwise, set units to be inches, figures roughly in the center of a page. Or use bounding boxes. Part 1. 1. Define an asin function. (Whenever you are asked to define a procedure, your solution should come in two halves, one defining things and the other demonstrating how it works. In this case, you can do this by displaying the return value in a terminal window using .) 2. Write a program that first defines two more or less arbitrary vectors and (i.e. two arrays of two numbers) and then exhibits the lattice of all by showing a lot of small disks on the page. To start with, set and . 3. Define a procedure that constructs (but does not draw) a circle, centred at the origin, as a union of Bezier curves, with the radius as single argument. Do this by looking at the standard parametrization of the circle. 4. Write a short TEX document (plain or La-) that incorporates one of the (single-page) diagrams you drew in Assignment 1. Add a bounding box to it first. Make a PostScript file out of it. Part 2. 5. Define a procedure with two arguments, an array of two numbers and another number, say , that returns the array rotated by degrees. 6. Write a program to produce your own graph paper - 1 mm. separation for small light gray lines, 1 cm. for dark ones. Filling the page, with the origin at dead page center.