WeBWorK Problems

list solutions to periodic equations

list solutions to periodic equations

by Zak Zarychta -
Number of replies: 1
Having had a look at PeriodicAnswers1 for how to formulate question so that a student can give any answer to periodic equation. I was wondering if anyone has authored or has any insight into authoring trig questions where the answer(s) would be a list of solutions for a particular interval of the function argument. For example 

calculate all the solutions to cos(\theta) = 1/2  for -2\pi < \theta < 2\pi

Thanks in advance for any help

In reply to Zak Zarychta

Re: list solutions to periodic equations

by Paul Pearson -
Hi Zak,

One example of what you're looking for is done using if-then-else code blocks:


I am sure there are other examples like this in Chapter 6 and Chapter 7 of Library/LoyolaChicago/Precalc.

Best regards,

Paul Pearson