Fix bug #1848: taytorat leaks internal gensyms from multivar expansions
[maxima.git] / doc / info / pt_BR / Introduction.texi.update
blobe1273985d6b857f340aad7de158512e98879a999
1 @c
2 @c versao pt_BR baseada no md5sum abaixo:
3 @c 0ca72bd067ec8cfe8ebf26f085a9a6eb  Introduction.texi
4 @c
5 Inicie o Maxima com o comando "maxima" em uma janela de shell.  Maxima ir@'{a} mostrar informa@,{c}@~{o}es
6 de vers@~{a}o e um prompt.  Termine cada comando do Maxima com um ponto e v@'{i}rgula.
7 Encerre a utiliza@,{c}@~{a}o do Maxima com o comando "quit();".  Adiante temos uma amostra de sess@~{a}o:
9 @example
10 [wfs@@chromium]$ maxima
11 Maxima 5.9.1 http://maxima.sourceforge.net
12 Using Lisp CMU Common Lisp 19a
13 Distributed under the GNU Public License. See the file COPYING.
14 Dedicated to the memory of William Schelter.
15 This is a development version of Maxima. The function bug_report()
16 provides bug reporting information.
17 (%i1) factor(10!);
18                             8  4  2
19 (%o1)                      2  3  5  7
20 (%i2) expand ((x + y)^6);
21        6        5       2  4       3  3       4  2      5      6
22 (%o2) y  + 6 x y  + 15 x  y  + 20 x  y  + 15 x  y  + 6 x  y + x
23 (%i3) factor (x^6 - 1);
24                               2            2
25 (%o3)       (x - 1) (x + 1) (x  - x + 1) (x  + x + 1)
26 (%i4) quit();
27 [wfs@@chromium]$
28 @end example
30 Maxima pode buscar p@'{a}ginas de manual no formato info.  Use o comando @mref{describe}
31 para mostrar
32 informa@,{c}@~{a}o sotre o comando ou todos os comandos e vari@'{a}veis contendo
33 uma sequ@^{e}ncia de caracteres.
34 O ponto de interroga@,{c}@~{a}o simples @mref{?}
35 (busca exata) e a dupla interroga@,{c}@~{a}o @mref{??}
36 @w{} (busca inexata) s@~{a}o abrevia@,{c}@~{o}es para @code{describe}:
38 @example
39 (%i1) ?? integ
41  0: Exponential Integrals
42  1: Functions and Variables for Elliptic Integrals
43  2: Functions and Variables for Integration
44  3: Introduction to Elliptic Functions and Integrals
45  4: Introduction to Integration
46  5: askinteger  (Functions and Variables for Facts)
47  6: beta_args_sum_to_integer  (Gamma and factorial Functions)
48  7: expintegral_chi  (Exponential Integrals)
49  8: expintegral_ci  (Exponential Integrals)
50  9: expintegral_e  (Exponential Integrals)
51  10: expintegral_e1  (Exponential Integrals)
52  11: expintegral_ei  (Exponential Integrals)
53  12: expintegral_li  (Exponential Integrals)
54  13: expintegral_shi  (Exponential Integrals)
55  14: expintegral_si  (Exponential Integrals)
56  15: integerp  (Functions and Variables for Numbers)
57  16: integer_partitions  (Functions and Variables for Sets)
58  17: integrate  (Functions and Variables for Integration)
59  18: integrate_use_rootsof  (Functions and Variables for Integration)
60  19: integration_constant  (Functions and Variables for Integration)
61  20: integration_constant_counter  (Functions and Variables for Integration)
62  21: nonnegintegerp  (Functions and Variables for Numbers)
63 Enter space-separated numbers, `all' or `none': 15 5
64  -- Function: integerp (<expr>)
65      Returns `true' if <expr> is a literal numeric integer, otherwise
66      `false'.
68      `integerp' returns false if its argument is a symbol, even if the
69      argument is declared integer.
71      Examples:
73           (%i1) integerp (0);
74           (%o1)                         true
75           (%i2) integerp (1);
76           (%o2)                         true
77           (%i3) integerp (-17);
78           (%o3)                         true
79           (%i4) integerp (0.0);
80           (%o4)                         false
81           (%i5) integerp (1.0);
82           (%o5)                         false
83           (%i6) integerp (%pi);
84           (%o6)                         false
85           (%i7) integerp (n);
86           (%o7)                         false
87           (%i8) declare (n, integer);
88           (%o8)                         done
89           (%i9) integerp (n);
90           (%o9)                         false
92  -- Function: askinteger (<expr>, integer)
93  -- Function: askinteger (<expr>)
94  -- Function: askinteger (<expr>, even)
95  -- Function: askinteger (<expr>, odd)
96      `askinteger (<expr>, integer)' attempts to determine from the
97      `assume' database whether <expr> is an integer.  `askinteger'
98      prompts the user if it cannot tell otherwise, and attempt to
99      install the information in the database if possible.  `askinteger
100      (<expr>)' is equivalent to `askinteger (<expr>, integer)'.
102      `askinteger (<expr>, even)' and `askinteger (<expr>, odd)'
103      likewise attempt to determine if <expr> is an even integer or odd
104      integer, respectively.
106 (%o1)                                true
107 @end example
109 Para usar um resultado em c@'{a}lculos posteriores, voc@^{e} pode atribuir esse resultado a uma vari@'{a}vel ou
110 fazer uma refer@^{e}ncia a exxe c@'{a}lculo anterior por meio de seu r@'{o}tulo fornecido automaticamente.  Adicionalmente, @mref{%}
111 @w{}(sinal de porcentagem) refere-se ao resultado calculado mais recentemente:
113 @example
114 (%i1) u: expand ((x + y)^6);
115        6        5       2  4       3  3       4  2      5      6
116 (%o1) y  + 6 x y  + 15 x  y  + 20 x  y  + 15 x  y  + 6 x  y + x
117 (%i2) diff (u, x);
118          5         4       2  3       3  2       4        5
119 (%o2) 6 y  + 30 x y  + 60 x  y  + 60 x  y  + 30 x  y + 6 x
120 (%i3) factor (%o2);
121                                     5
122 (%o3)                      6 (y + x)
123 @end example
125 Maxima conhece n@'{u}meros complexos e constantes matem@'{a}ticas:
127 @example
128 (%i1) cos(%pi);
129 (%o1)                          - 1
130 (%i2) exp(%i*%pi);
131 (%o2)                          - 1
132 @end example
134 Maxima pode fazer c@'{a}lculos difereciais e integrais:
136 @example
137 (%i1) u: expand ((x + y)^6);
138        6        5       2  4       3  3       4  2      5      6
139 (%o1) y  + 6 x y  + 15 x  y  + 20 x  y  + 15 x  y  + 6 x  y + x
140 (%i2) diff (%, x);
141          5         4       2  3       3  2       4        5
142 (%o2) 6 y  + 30 x y  + 60 x  y  + 60 x  y  + 30 x  y + 6 x
143 (%i3) integrate (1/(1 + x^3), x);
144                                   2 x - 1
145                 2            atan(-------)
146            log(x  - x + 1)        sqrt(3)    log(x + 1)
147 (%o3)    - --------------- + ------------- + ----------
148                   6             sqrt(3)          3
149 @end example
151 Maxima pode resolver sistemas lineares e equa@,{c}@~{o}es c@'{u}bicas:
153 @example
154 (%i1) linsolve ([3*x + 4*y = 7, 2*x + a*y = 13], [x, y]);
155                         7 a - 52        25
156 (%o1)              [x = --------, y = -------]
157                         3 a - 8       3 a - 8
158 (%i2) solve (x^3 - 3*x^2 + 5*x = 15, x);
159 (%o2)       [x = - sqrt(5) %i, x = sqrt(5) %i, x = 3]
160 @end example
162 Maxima pode resolver conjuntos de equa@,{c}@~{o}es n@~{a}o lineares.  Note que se voc@^{e} n@~{a}o
163 deseja que um resultado seja mostrado, voc@^{e} pode terminar seu comando com @kbd{$} ao inv@'{e}s de
164 terminar com @kbd{;}.
166 @example
167 (%i1) eq_1: x^2 + 3*x*y + y^2 = 0$
168 (%i2) eq_2: 3*x + y = 1$
169 (%i3) solve ([eq_1, eq_2]);
170               3 sqrt(5) + 7      sqrt(5) + 3
171 (%o3) [[y = - -------------, x = -----------], 
172                     2                 2
174                                3 sqrt(5) - 7        sqrt(5) - 3
175                           [y = -------------, x = - -----------]]
176                                      2                   2
177 @end example
179 Maxima pode gerar gr@'{a}ficos gen@'{e}ricos de uma ou mais fun@,{c}@~{o}es:
181 @example
182 (%i1) plot2d (sin(x)/x, [x, -20, 20])$
183 @end example
184 @ifnotinfo
185 @image{figures/introduction1, 10cm}
186 @end ifnotinfo
187 @example
188 (%i2) plot2d ([atan(x), erf(x), tanh(x)], [x, -5, 5], [y, -1.5, 2])$
189 @end example
190 @ifnotinfo
191 @image{figures/introduction2, 10cm}
192 @end ifnotinfo
193 @example
194 @group
195 (%i3) plot3d (sin(sqrt(x^2 + y^2))/sqrt(x^2 + y^2), 
196          [x, -12, 12], [y, -12, 12])$
197 @end group
198 @end example
199 @ifnotinfo
200 @image{figures/introduction3, 12cm}
201 @end ifnotinfo 
203 @c FOLLOWING TEXT DESCRIBES THE TCL/TK PLOT WINDOW WHICH IS NO LONGER THE DEFAULT
204 @c Moving the cursor to the top left corner of the plot window will pop up
205 @c a menu that will, among other things, let you generate a PostScript file
206 @c of the plot.  (By default, the file is placed in your home directory.)
207 @c You can rotate a 3D plot.
209 @opencatbox
210 @category{Ajuda}
211 @closecatbox