The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
I was wondering if someone could help me out? I'm struggling with entering the correct formula to do trigonometry calculations. I'm trying to setup some problems for my physics students (vector calculations) and figured that if I could understand the setup, I should be able to figure out the rest. I'm familiar with setting up a formula, but I keep getting error messages (or the incorrect answers) when trying to setup a trig problem. I'm obviously doing something wrong with my sntax.
I'm using the New Quizzes 2, formulas. I want the Quizzes to generate an unique problem set for each student. The trig calculations are in degrees and below are some examples and the types of answers, I'm expecting for the chose variables:
#1. For a right triangle, knowing the angle (theta) and opposite (opp), solve for the adjacent (adj).
Basic formula: adj = `opp`/(tan`theta`)
Using the above formula, if the generator gave `opp`=10 and 'theta`=30,
then I'm expecting the adj=17.32
#2 For a right triangle, knowing the angle (theta) and hypotenuse (hyp), solve for the opposite (opp).
Basic formula: opp = hyp*(sin `theta`)
Using the above formula, if the generator gave `hyp`=20 and 'theta`=30,
then I'm expecting the opp=10
#3. For a right triangle, knowing the adjacent (adj) and hypotenuse (hyp), solve for the angle (theta).
Basic formula: angle = cos^-1 (adj/hyp)
Using the above formula, if the generator gave `adj`=8 and 'hyp`=15,
then I'm expecting the angle=57.77
Can someone please tell me examples of how I would enter those formulas in the "Formula Definition" box?
Thank you in advance!
Dwight
Canvas looks like when it's using trigonometric functions assumes that the value being plugged into the formula is in radians.
If you are trying to plug in an angle measurement that is in degree you need to convert to degrees into radians in the formula you are creating
To do this you need to multiply your angle measurement by (pi/180).
so, for example your question #1 the formula should be something akin to
opp/tan(theta*pi/180)
I hope this helps.
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in