solve_quadratic_node
v1.0.0
Published
Пакет предоставляет функцию для решения квадратных уравнений вида
Downloads
5
Readme
solveQuadratic
Пакет solveQuadratic
предоставляет функцию для решения квадратных уравнений вида ax^2 + bx + c = 0
.
Установка
Для установки этого пакета вы можете клонировать репозиторий или скачать файл напрямую.
Использование
Сначала подключите модуль в вашем проекте c помощью require
Затем вы можете использовать функцию solveQuadratic для решения квадратных уравнений.
Описание функции
solveQuadratic(a, b, c)
Параметры:
a (число): Коэффициент при x^2. b (число): Коэффициент при x. c (число): Свободный член.
Возвращает:
Строку, указывающую на характер корней квадратного уравнения и их значения, если они существуют.