The following functions are not enabled in student answers by default: P(n,k) = n*(n-1)*(n-2).(n-k+1) the number of ordered sequences of k elements chosen from n elements.step(x) - the step function (1 if x > 0, 0 otherwise.).These functions are available for some problems, but may not be enabled for others (for authoring information see step functions): sgn(x) - the sign function, either -1 (if x 0).n! - n factorial (defined for nonnegative integers), can also be written as fact(n).Note: All of the trigonometric functions use radian measure. log10(x) - The logarithm to the base 10.log(x) - This is usually the natural logarithm, but some instructors redefine it to mean log to the base 10.ln(x) - The natural logarithm (logarithm to the base e).However, sometimes one or more of these functions is disabled forĪ particular WeBWorK problem because the instructor wants you to calculate the answer by some means other than just using the function. Unless otherwise specified, all of the functions listed below are enabled by default. Mathematical Functions Available In WeBWorK (-inf, 10] all real numbers less than or equal to 10 (inf stands for infinity).[2,5) the half-open interval containing all real numbers greater than or equal to 2 and smaller than 5.all real numbers greater than -2 and smaller than 5 (-2,5) the open interval from -2 to 5, i.e.Some problems require you to enter an interval of real numbers. Mathematical Constants Available In WeBWorK to tell the difference between 1+2/3*4 and / click the "Preview Button". Use the "Preview Button" to see exactly how your entry looks.Exponents are taken right to left: 2^3^4 = 2^(3^4) = 2^81 = a big number.Multiplications and divisions are performed left to right: 2/3*4 = (2/3)*4 = 8/3.Additions and subtractions are performed left to right: 1-2+3 = (1-2)+3 = 2. The complete rules for the precedence of operations, in addition to the above, are.Use (-5)^2 if you want to square negative 5. This is because the square operation is done before the negative sign is applied. Is -5^2 positive or negative? It's negative.Why does the last expression work? Because things in parentheses are always done first, next all functions, such as sin, are evaluated, next all exponents are taken, next all multiplications and divisions are performed in order from left to right, and finally all additions and subtractions are performed. Then the result is squared.) You can always use the Preview button to see a typeset version of what you entered and check whether what you wrote was what you meant. :-) The "sin" operation has highest precedence, so it is performed first, using the next token (i.e. (You can enter it as sin(t)^2 or even sint^2, but don't try such things unless you really understand the precedence of operations. You can enter sin^2(t) as a shortcut although mathematically speaking sin^2(t) is shorthand for (sin(t))^2 (the square of sin of t).For example, sin 2t is interpreted as sin(2)t, i.e. Write sin(t) instead of sint or sin t even though WeBWorK is smart enough to usually accept sin t or even sint. It's always good practice to use parentheses when entering functions. Entering big quotients with square brackets, e.g.Parentheses: () - You can also use square brackets,, and braces, 's (except in contexts where those have special meanings, like creating intervals or sets).^ or ** You can use either ^ or ** for exponentiation, e.g.* Multiplication can also be indicated by a space or juxtaposition, e.g.Mathematical Symbols Available In WeBWorK 6.1 Exponential and Logarithmic Functions.6 Mathematical Functions Available In WeBWorK.4 Scientific Notation Available In WeBWorK.3 Mathematical Constants Available In WeBWorK.1 Mathematical Symbols Available In WeBWorK.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |