## Forum archive 2000-2006

### Michael Gage - test inserting problems within other html ### Michael Gage - test inserting problems within other html

by Arnold Pizer -
Number of replies: 0 test inserting problems within other html topic started 9/9/2001; 5:08:08 PMlast post 9/9/2001; 5:08:08 PM Michael Gage - test inserting problems within other html 9/9/2001; 5:08:08 PM (reads: 906, responses: 0)
We'll see if this works:

(1 pt) rochesterLibrary/set0/prob1.pg
 This problem demonstrates how you enter numerical answers into WeBWorK. Evaluate the expression : In the case above you need to enter a number, since we're testing whether you can multiply out these numbers. (You can use a calculator if you want.) For most problems, you will be able to get WeBWorK to do some of the work for you. For example Calculate (-4) * (2): The asterisk is what most computers use to denote multiplication and you can use this with WeBWorK. But WeBWorK will also allow you to use a space to denote multiplication. You can either or -8 or even . All will work. Try them. Now try calculating the sine of 45 degrees ( that's sine of pi over 4 in radians and numerically sin(pi/4) equals 0.707106781186547 or, more precisely, ). You can enter this as sin(pi/4) , as sin(3.1415926/4), as 1/sqrt(2), as 2**(-.5), etc. This is because WeBWorK knows about functions like sin and sqrt (square root). (Note: exponents can be indicated by either a "caret" or **). Try it. Here's the list of the functions which WeBWorK understands. WeBWorK ALWAYS uses radian mode for trig functions. You can also use juxtaposition to denote multiplication. E.g. enter . You can enter this as 2*sin(3*pi/2) or more simply as 2sin(3pi/2). Try it: Sometimes you need to use ( )'s to make your meaning clear. E.g. 1/2+3 is 3.5, but 1/(2+3) is .2 Why? Try entering both and use the "Preview" button below to see the difference. In addition to ( )'s, you can also use [ ]'s and { } 's. You can always try to enter answers and let WeBWorK do the calculating. WeBWorK will tell you if the problem requires a strict numerical answer. The way we use WeBWorK in this class there is no penalty for getting an answer wrong. What counts is that you get the answer right eventually (before the due date). For complicated answers, you should use the "Preview" button to check for syntax errors and also to check that the answer you enter is really what you think it is.

WARNINGS
µ¦å{h­