Язык программирования R/Математика: различия между версиями

Содержимое удалено Содержимое добавлено
Logarithm and Exponents
Polynomial equations
Строка 497:
</pre>
 
=== Решение многочленов ===
=== Polynomial equations ===
Что бы решить уравнение <math>a x^k + bx^{k-1} +\cdots+ n=0</math>, где <math>a,b,\dots,n</math> - данные числа, следует применить функцию <code>polyroot()</code>:
 
To solve <math> a x^k + bx^{k-1} +\cdots+ n=0</math>, where <math>a,b,\dots,n</math> are given numbers, use the command
 
<pre width=80>
Строка 505 ⟶ 504 :
</pre>
 
SoНапример, forвычислим example, to calculate the roots of theкорни equationуравнения <math> 2x^2 - 5x - 3 = 0</math> one would do as follows:
 
<pre width=80>
Строка 512 ⟶ 511 :
</pre>
 
andответ theследует solutionчитать can be read to beкак: <math>x_1 = -0.5 \land x_2 = 3</math>.
 
SeeСмотрите alsoтакже пакеты '''polynom''' andи '''multipol''' packages.
 
=== Derivatives ===