<< Chapter < Page Chapter >> Page >

Quadrants

We often think of a two-dimensional space with horizontal and vertical axes and the origin at the center in quadrants. Each quadrant is bounded byhalf the horizontal axis and half the vertical axis.

It is common practice to number the quadrants in counter-clockwise order with the upper-right quadrant beingquadrant 1, the upper-left quadrant being quadrant 2, the bottom-left quadrant being quadrant 3, and the bottom-right quadrant being quadrant 4.

Angles fall in quadrants

If you measure the angle between the positive horizontal axis and a line segment thatemanates from the origin, quadrant 1 contains angles between 0 and PI/2, quadrant 2 contains the angles between PI/2 and PI, quadrant 3 contains theangles between PI and 3*PI/2, and quadrant 4 contains the angles between 3*PI/2 and 2*PI (or zero). (Note that I didn't attempt to reconcile the inclusion ofeach axis in the two quadrants on either side of the axis.)

Algebraic signs versus quadrant number

It is sometimes useful to consider how the algebraic sign of the sine, cosine, and tangent values varies among the four quadrants. Figure 17 contains a table that shows the sign of the sine, cosine, and tangent values for each ofthe four quadrants

Figure 17 . Algebraic signs versus quadrants.
1 2 3 4 sine + + - -cosine + - - + tangent + - + -

Working with arctangents is more difficult than arcsine or arccosine

Working with arctangent is somewhat more difficult than working with arcsine or arccosine, if for no other reason than the possibility of dividing by zerowhen working with the arctangent.

Listing 9 shows a JavaScript function named getAngle that deals with this issue.

Listing 9 . A function to deal with quadrants.
<!---------------- File JavaScript09.html ---------------------><html><body><script language="JavaScript1.3">document.write("Start Script</br>"); //The purpose of this function is to receive the adjacent// and opposite side values for a right triangle and to // return the angle in degrees in the correct quadrant.function getAngle(adjacent,opposite){ if((adjacent == 0)&&(opposite == 0)){ //Angle is indeterminate. Just return zero.return 0; }else if((adjacent == 0)&&(opposite>0)){ //Avoid divide by zero denominator.return 90; }else if((adjacent == 0)&&(opposite<0)){ //Avoid divide by zero denominator.return -90; }else if((adjacent<0)&&(opposite>= 0)){ //Correct to second quadrantreturn Math.atan(opposite/adjacent)*180/Math.PI + 180; }else if((adjacent<0)&&(opposite<= 0)){ //Correct to third quadrantreturn Math.atan(opposite/adjacent)*180/Math.PI + 180; }else{//First and fourth quadrants. No correction required. return Math.atan(opposite/adjacent)*180/Math.PI;}//end else }//end function getAngle//Modify these values and run for different cases. var adj = 3;var opp = 4; document.write("adj = " + adj.toFixed(2) +" opp = " + opp.toFixed(2) + " units</br>"); document.write("angle = " + getAngle(adj,opp).toFixed(2)+ " units</br>"); var adj = -3;var opp = 4; document.write("adj = " + adj.toFixed(2) +" opp = " + opp.toFixed(2) + " units</br>"); document.write("angle = " + getAngle(adj,opp).toFixed(2)+ " units</br>"); var adj = -3;var opp = -4; document.write("adj = " + adj.toFixed(2) +" opp = " + opp.toFixed(2) + " units</br>"); document.write("angle = " + getAngle(adj,opp).toFixed(2)+ " units</br>");var adj = 3; var opp = -4;document.write("adj = " + adj.toFixed(2) + " opp = " + opp.toFixed(2) + " units</br>"); document.write("angle = " + getAngle(adj,opp).toFixed(2)+ " units</br>");</script></body></html>

Questions & Answers

what is biology
Hajah Reply
the study of living organisms and their interactions with one another and their environments
AI-Robot
what is biology
Victoria Reply
HOW CAN MAN ORGAN FUNCTION
Alfred Reply
the diagram of the digestive system
Assiatu Reply
allimentary cannel
Ogenrwot
How does twins formed
William Reply
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
what is genetics
Josephine Reply
Genetics is the study of heredity
Misack
how does twins formed?
Misack
What is manual
Hassan Reply
discuss biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles
Joseph Reply
what is biology
Yousuf Reply
the study of living organisms and their interactions with one another and their environment.
Wine
discuss the biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles in an essay form
Joseph Reply
what is the blood cells
Shaker Reply
list any five characteristics of the blood cells
Shaker
lack electricity and its more savely than electronic microscope because its naturally by using of light
Abdullahi Reply
advantage of electronic microscope is easily and clearly while disadvantage is dangerous because its electronic. advantage of light microscope is savely and naturally by sun while disadvantage is not easily,means its not sharp and not clear
Abdullahi
cell theory state that every organisms composed of one or more cell,cell is the basic unit of life
Abdullahi
is like gone fail us
DENG
cells is the basic structure and functions of all living things
Ramadan
What is classification
ISCONT Reply
is organisms that are similar into groups called tara
Yamosa
in what situation (s) would be the use of a scanning electron microscope be ideal and why?
Kenna Reply
A scanning electron microscope (SEM) is ideal for situations requiring high-resolution imaging of surfaces. It is commonly used in materials science, biology, and geology to examine the topography and composition of samples at a nanoscale level. SEM is particularly useful for studying fine details,
Hilary
cell is the building block of life.
Condoleezza Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Contemporary math applications. OpenStax CNX. Dec 15, 2014 Download for free at http://legacy.cnx.org/content/col11559/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Contemporary math applications' conversation and receive update notifications?

Ask