Webwork Syntax

# Webwork Syntax - WeBWorK Functions 2/6/08 11:49 AM WeBWorK...

This preview shows pages 1–2. Sign up to view the full content.

2/6/08 11:49 AM WeBWorK Functions Page 1 of 2 file:///Users/davidpro/Desktop/WeBWorK%20Functions.webarchive WeBWorK Functions Mathematical Symbols Available In WeBWorK + Addition - Subtraction * Multiplication can also be indicated by a space or jutaposition, e.g. 2x, 2 x or 2*x, also 2(3+4). / Division ^ or ** You can use either ^ or ** for exponentiation, e.g. 3^2 or 3**2 Note, roots can be taken using exponents, so to get the fifth root of 17, use 17^(1/5) . ( and ) You can also use square brackets, [ ], and braces, { }, for grouping, e.g. [1+2]/[3(4+5)] Mathematical Constants Available In WeBWorK pi gives 3.14159265358979, e.g. cos(pi) is -1 e gives 2.71828182845905, e.g. ln(e*2) is 1 + ln(2) Mathematical Functions Available In WeBWorK abs( ) The absolute value sqrt( ) Square root exp( ) The same function as e^x log( ) The logarithm with base 10 logten( ) Another name for the logarithm with base 10 ln( ) The natural logarithm (base e) sin( ) Note: sin( ) uses radian measure cos( ) Note: cos( ) uses radian measure

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This document was uploaded on 11/02/2011 for the course MATH 135 at Rutgers.

### Page1 / 2

Webwork Syntax - WeBWorK Functions 2/6/08 11:49 AM WeBWorK...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online