Question

In: Computer Science

Create a table of all three of these trigonometric functions for angles from 0 to 2p,...

Create a table of all three of these trigonometric functions for angles from 0 to 2p, with a spacing of 0.1 radian. Your table should contain a column for the angle and then for the sine, cosine, and tangent. ((python))

Solutions

Expert Solution

from math import sin, cos, tan, pi

print("{:10s}{:10s}{:10s}{:10s}".format("angle", "sin", "cos", "tan"))
angle = 0
while angle <= 2*pi:
    print("{:<10.6f}{:<10.6f}{:<10.6f}{:<10.6f}".format(angle, sin(angle), cos(angle), tan(angle)))
    angle += 0.1


Related Solutions

Analyticity of trigonometric functions (a) Directly from the definition, construct the Taylor Series centered at x...
Analyticity of trigonometric functions (a) Directly from the definition, construct the Taylor Series centered at x = 0 for the function f(x) = cos(x). (b) Show that this series converges for all x ∈ R. (c) Show that this series converges to cos(x) for all x ∈ R.  
The  three charges are at the three vertices of an equilateral triangle ?( all angles are 60degrees)...
The  three charges are at the three vertices of an equilateral triangle ?( all angles are 60degrees) q 1  =  + 10.0 µC q 2 =  -  5 .0 nC q 3  = + 8 .0 nC Equilateral side of the triangle = 0.05 m. A. Draw forces acting on  q 1 by  q 2and q 3   B. find the components on X and Y axes . C. Use Pythagorean theorem to find the resultant . D. Use tangent to find the direction ( angle ) the resultant...
Let X be the space of all continuous functions from [0, 1] to [0, 1] equipped...
Let X be the space of all continuous functions from [0, 1] to [0, 1] equipped with the sup metric. Let Xi be the set of injective and Xs be the set of surjective elements of A and let Xis = Xi ∩ Xs. Prove or disprove: i) Xi is closed, ii) Xs is closed, iii) Xis is closed, iv) X is connected, v) X is compact.
Find the values of the trigonometric functions of θ from the information given. cos(θ) = −3/11,...
Find the values of the trigonometric functions of θ from the information given. cos(θ) = −3/11,    tan(θ) < 0
create a table of data for two different linear functions. The table should use the same...
create a table of data for two different linear functions. The table should use the same values of X for both functions. Based on your table will the graph of these two functions intersect explain your answer
create a table of data for two different linear functions. The table should use the same...
create a table of data for two different linear functions. The table should use the same values of X for both functions. Based on your table will the graph of these two functions intersect explain your answer
If I create a frequency table summarizing anxiety scores that range from 0 to 100, what...
If I create a frequency table summarizing anxiety scores that range from 0 to 100, what is the best number of "bins" to use in the table? Group of answer choices a)10 b.)100 c)20 d)4 After taking a defensive driving course, most student drivers did very well on the driver's license exam by passing the test with 75% or higher. How would you describe the distribution of the exam scores? Group of answer choices a)The distribution is left skewed. b)The...
Create a well-organized information table covering the components and functions of human blood. Create a second...
Create a well-organized information table covering the components and functions of human blood. Create a second well-organized information table comparing and contrasting two types of diseases that affect the blood including causes, symptoms, treatment, and social impact on the individual, family, and community. (Anemia and Hemophilia)
Create a table including the names and functions of the major enzymes and proteins involved in...
Create a table including the names and functions of the major enzymes and proteins involved in DNA replication. 1.Enzyme 2.Helicase 3.Primase 4. Topoisomerase 5. DNA polymerase 1 6. DNA polymerase 2 7. DNA polymerase 3 8. Ligase
let triangle ABC be a triangle in which all three interior angles are acute and let...
let triangle ABC be a triangle in which all three interior angles are acute and let A'B'C' be the orthic triangle. a.) Prove that the altitudes of triangle ABC are the angle bisectors of triangle A'B'C'. b.) Prove the orthocenter of triangle ABC is the incenter of traingle A'B'C'. c.) Prove that A is the A' -excenter of triangle A'B'C'.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT