Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
4218 views

Evaluate the following using SAGE. Use the show command to make the output "pretty".

  1. All 6 trig functions on 5π/6

  2. All 6 trig function on 9π/2

  3. sin-1(-.5)

  4. Solve sin(θ)=-.75 for θ

  5. Solve tan(φ)=100 for φ

show(sin(5*pi/6)) show(cos(5*pi/6)) show(tan(5*pi/6)) show(csc(5*pi/6)) show(sec(5*pi/6)) show(cot(5*pi/6))
12\displaystyle \frac{1}{2}
123\displaystyle -\frac{1}{2} \, \sqrt{3}
133\displaystyle -\frac{1}{3} \, \sqrt{3}
2\displaystyle 2
233\displaystyle -\frac{2}{3} \, \sqrt{3}
3\displaystyle -\sqrt{3}
show(sin(9*pi/2)) show(cos(9*pi/2)) show(tan(9*pi/2)) show(csc(9*pi/2)) show(sec(9*pi/2)) show(cot(9*pi/2))
1\displaystyle 1
0\displaystyle 0
\displaystyle \infty
1\displaystyle 1
\displaystyle \infty
0\displaystyle 0
asin(-.5)
-0.523598775598299
theta=var('theta') solve(sin(theta)==-.75,theta) show(solve(sin(theta)==-.75,theta))
[theta == -arcsin(3/4)]
phi=var('phi') solve(tan(phi)==100,phi) show(solve(tan(phi)==100,phi))