Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1979 | bpr | 1 | !read tabletheme |
30 | reyssat | 2 | Cuando trabaje con WIMS, a menudo se le pedirá que introduzca expresiones |
3 | matemáticas. |
||
4 | <p> |
||
5 | Las expresiones matemáticas pueden teclearse del modo |
||
6 | habitual: <tt>3*x+5</tt> para escribir |
||
7 | !htmlmath 3x+5 |
||
8 | , <tt>sin(pi*x)</tt> para |
||
9 | !htmlmath sin(pi*x) |
||
10 | , <tt>y^3+1</tt> para |
||
11 | !htmlmath y^3+1 |
||
12 | , <tt>(x+1)/(y-1)</tt> para |
||
13 | !set ins_align=middle |
||
14 | !instex $$$$ {x+1 \over y-1} $$$$ |
||
15 | , etc. |
||
16 | <p> |
||
17 | Además, WIMS contiene un analizador inteligente que puede corregir |
||
18 | ``errores'' comunes en las expresiones matemáticas. Por ejemplo, <tt>3x+5</tt> |
||
19 | será corregido como <tt>3*x+5</tt>, <tt>sin x</tt> será corregido a |
||
20 | <tt>sin(x)</tt>, etc. Pero no le recomendamos que confíe demasiado en este |
||
21 | corrector, porque en ocasiones las ambigüedades de las expresiones pueden |
||
22 | llevar a interpretaciones erróneas. Siempre es mejor teclear las expresiones |
||
23 | matemáticas ``correctamente'', aunque sea a menudo laborioso. |
||
24 | <p> |
||
25 | Aquí presentamos una lista de funciones matemáticas y el modo (correcto) |
||
26 | de introducirlas. WIMS reconoce estas funciones siempre que tengan sentido. |
||
27 | (Algunos módulos pueden aceptar funciones adicionales; por favor consulte |
||
28 | las páginas de ayuda de los módulos.) |
||
29 | <p> |
||
30 | !set x=x |
||
31 | Puede sustituir $x por cualquier subexpresión de la tabla siguiente. |
||
32 | <p> |
||
1979 | bpr | 33 | $table_header |
34 | $table_tr<th>función<th>descripción<th>cómo teclearla |
||
35 | |||
36 | $table_tr<td>$m_pi |
||
30 | reyssat | 37 | <td>constante bien conocida<td> |
38 | <tt>pi</tt> ó <tt>Pi</tt> ó <tt>PI |
||
1979 | bpr | 39 | $table_tr<td><i>e</i><td>base del logaritmo natural<td> |
30 | reyssat | 40 | <tt>e</tt> ó <tt>E</tt> |
1979 | bpr | 41 | |
42 | $table_tr<td>|$x|<td>valor absoluto de $x<td><tt>abs(x) |
||
43 | $table_tr<td>sign($x)<td>signo de $x: |
||
5766 | bpr | 44 | <br/> =-1 if $x<0<br/> =0 if $x=0<br/> =1 if $x>0 |
30 | reyssat | 45 | <td><tt>sign(x) |
1979 | bpr | 46 | $table_tr<td> |
30 | reyssat | 47 | !instex $$ \sqrt x $$ |
48 | <td>raíz cuadrada de $x |
||
49 | <td><tt>sqrt(x)</tt> ó <tt>x^(1/2) |
||
1979 | bpr | 50 | $table_tr<td>?<td>el entero más próximo a $x<td><tt>rint(x) |
2085 | bpr | 51 | $table_tr<td> |
52 | !instex $$ \lfloor x \rfloor $$ |
||
53 | <td>el entero mayor $m_le$x<td><tt>floor(x) |
||
54 | $table_tr<td> |
||
55 | !instex $$ \lceil x \rceil $$ |
||
56 | <td>el entero menor $m_ge$x<td><tt>ceil(x) |
||
1979 | bpr | 57 | |
58 | $table_tr<td><i>e<sup>x</sup><td>exponencial<td> |
||
30 | reyssat | 59 | <tt>exp(x)</tt> o <tt>e^x</tt> o <tt>E^x |
1979 | bpr | 60 | $table_tr<td>ln($x)<td>logaritmo natural<td><tt>log(x)</tt> ó <tt>ln(x) |
61 | $table_tr<td>lg($x)<td>logaritmo de base 10<td><tt>lg(x)</tt> ó <tt>log10(x) |
||
62 | |||
63 | $table_tr<td>sin($x)<td>seno trigonométrico<td><tt>sin(x) |
||
64 | $table_tr<td>cos($x)<td>coseno trigonométrico<td><tt>cos(x) |
||
65 | $table_tr<td>tg($x)<td>tangente trigonométrica<td><tt>tan(x)</tt> ó <tt>tg(x) |
||
66 | $table_tr<td>ctg($x)<td>cotangente trigonométrica<td><tt>cotan(x)</tt> ó <tt>ctg(x) |
||
5766 | bpr | 67 | </tt> <br/> ó <tt>cot(x) |
1979 | bpr | 68 | $table_tr<td>arcsin($x)<td>inversa trigonométrica<td><tt>asin(x)</tt> ó |
30 | reyssat | 69 | <tt>arcsin(x) |
1979 | bpr | 70 | $table_tr<td>arccos($x)<td>inversa trigonométrica<td><tt>acos(x)</tt> ó |
30 | reyssat | 71 | <tt>arccos(x) |
1979 | bpr | 72 | $table_tr<td>arctg($x)<td>inversa trigonométrica<td><tt>atan(x)</tt> ó |
5766 | bpr | 73 | <tt>arctan(x)</tt> <br/>ó <tt>arctg(x) |
1979 | bpr | 74 | |
75 | $table_tr<td>sh($x)<td>seno hiperbólico<td><tt>sh(x)</tt> ó <tt>sinh(x) |
||
76 | $table_tr<td>ch($x)<td>coseno hiperbólico<td><tt>ch(x)</tt> ó <tt>cosh(x) |
||
77 | $table_tr<td>th($x)<td>tangente hiperbólica<td><tt>th(x)</tt> ó <tt>tanh(x) |
||
78 | $table_tr<td>Argsh($x)<td>inversa hiperbólica<td><tt>asinh(x)</tt> ó <tt>argsh(x) |
||
5766 | bpr | 79 | <br/>ó <tt>Argsh(x) |
1979 | bpr | 80 | $table_tr<td>Argch($x)<td>inversa hiperbólica<td><tt>acosh(x)</tt> ó <tt>argch(x) |
5766 | bpr | 81 | <br/>ó <tt>Argch(x) |
1979 | bpr | 82 | $table_tr<td>Argth($x)<td>inversa hiperbólica<td><tt>atanh(x)</tt> ó <tt>argth(x) |
5766 | bpr | 83 | <br/>ó <tt>Argth(x) |
1979 | bpr | 84 | $table_tr<td>max(x,y)<td>El mayor de x e y<td><tt>max(x,y) |
85 | $table_tr<td>min(x,y)<td>El menor de x e y<td><tt>min(x,y) |
||
86 | $table_tr<td>gcd(x,y)<td>Máximo Común Divisor<td><tt>gcd(x,y) |
||
87 | $table_tr<td>lcm(x,y)<td>Mínimo Común Múltiplo<td><tt>lcm(x,y) |
||
30 | reyssat | 88 | </table></center> |
89 |