Print this page script
Posted: 2002-06-01
By: ArchiveBot
Viewed: 52
Filed Under:
No attachments for this post
The code enables you to single out a section of your page for printing by enclosing it in two tags.
Original Author: Peter Graves
Inputs
The URL to the page you want printed
Returns
A nice, printable page
Side Affects
Non that I know of.
Code
Now, I understand that some people may not know how to use Cosine and Sine to find the coordinates of dots on a circle, so I will explain it to the best of my ability. Here is a quick explanation. Now, you know that coordinates are shown in (X, Y), well, Cosine (Cos) finds the X and Sine (Sin) finds the Y. So really, you could think of Sine and Cosine as (Cosine, Sine). Don't get confused yet, lol, I will explain this further. Now, Cosine can be used to find the coordinates of a certain point by using the degrees of that point. Here is a quick example:
Cosine(Point_Degree) * Radius_Length = The X coordinate of that Point. And:
Sine(Point_Degree) * Radius_Length = The Y coordinate of that Point. Here is an example of finding the (X, Y) of a point with the degree measurement of 100°, and the circle has a radius of 5. To find the X:
Cos(100) * 5,
and to find the Y:
Sin(100) * 5.
Simple enough, right? I hope this little tutorial helps you understand the use of Sine and Cosine in finding the coordinates of a point on a circle.
I've also included my CSS code to demonstrate this tutorial.
Comments on this post
No comments have been added for this post.
You must be logged in to make a comment.