<div id="trig"></div>
<script type="text/javascript">
function getTrigTable( minAngle, maxAngle, step) {
var angle, trigArr = [], resultsArr= [], deg2rad = Math.PI / 180.0, i, tableHTML = "";
minAngle = parseFloat( minAngle );
if (isNaN( minAngle )) minAngle = 0;
maxAngle = parseFloat( maxAngle );
if (isNaN( maxAngle ) maxAngle < minAngle) maxAngle = 360;
step = Math.abs(parseFloat( step ) 1);
for (angle = minAngle; angle <= maxAngle; angle += step) {
trigArr[0] = angle + "°";
trigArr[1] = Math.round(Math.sin( angle * deg2rad ) * 1e7) / 1e7;
trigArr[2] = Math.round(Math.cos( angle * deg2rad ) * 1e7) / 1e7;
trigArr[3] = Math.round(Math.tan( angle * deg2rad ) * 1e7) / 1e7;
if (trigArr[2] == 0) trigArr[3] = "∞";
resultsArr.push( trigArr.slice() );
}
for (i = 0; i < resultsArr.length; i++) {
tableHTML += "<tr><td>" + resultsArr[ i ].join( "</td><td>" ) + "</td></tr>";
}
return "<table border="1"><thead>" +
"<tr><th>Angle</th><th>Sin</th><th>Cos</th><th>Tan</th></tr>" +
"</thead><tbody>" + tableHTML + "</tbody></table>";
}
window.onload = function() {
document.getElementById( "trig" ).innerHTML = getTrigTable();
}
</script>
#include<stdio.h> #include<conio.h> #include<math.h> void main() { const float pi=3.14; float angle,radian; clrscr(); printf("Angle\t Radian\t\t sin\t\t cos\t\t tangent"); for(angle=0;angle<=180;angle+=10) { radian=(pi/180.0)*angle; printf("\n%0.0f\t%f\t%f\t%f\t%f",angle,radian,sin(radian),cos(radian),tan(radian)); } getch(); }
/* my second program in C++ with more comments */ #include <iostream> using namespace std; int main () { cout << "Hello World! "; // prints Hello World! cout << "I'm a C++ program"; // prints I'm a C++ program return 0; }
it is a value that is given in a another table
Class&genus
Oracle is a great program for creating a student detail in a table using HTML. One can even use a word processing platform too.
trigonometric table gives the values of all the trigonometric functions for any angle. i.e; it gives the numerical values of sine, cosine, tangent etc for any angle between 0 to 180 degrees the values for other angles can be calculated using these.
#include<stdio.h> #include<conio.h> #include<math.h> void main() { const float pi=3.14; float angle,radian; clrscr(); printf("Angle\t Radian\t\t sin\t\t cos\t\t tangent"); for(angle=0;angle<=180;angle+=10) { radian=(pi/180.0)*angle; printf("\n%0.0f\t%f\t%f\t%f\t%f",angle,radian,sin(radian),cos(radian),tan(radian)); } getch(); }
/* my second program in C++ with more comments */ #include <iostream> using namespace std; int main () { cout << "Hello World! "; // prints Hello World! cout << "I'm a C++ program"; // prints I'm a C++ program return 0; }
221 is theta (1)
PLEASE rephrase that. I don't speak broken
Symbol table
Trigonometry goes back to ancient times. The first trigonometric table is attributed to Hipparchus of Nicaea.
NRRRGGH!
It is a table that gives the cosines of angles, usually from 0 to 90 degrees in steps on 0.1 degree. These were used extensively for trigonometric calculations before the advent of computers.
A table of values is no use if the domain is infinite.
A table you make to find the coordinates to graph.
to have the values of x and y in a table