Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

AMATEURTOSS/computorv1

Repository files navigation

computorv1

Abstract

이차 이하의 방적식을 푸는 프로그램입니다.
과제에 대한 세부 내용은 en.subject.pdf를 참고해주세요.

Usage

npm install # install dependencies
npm run build # build program
npm start -- "x ^ 0 + 2x ^ 1 = 0"

Result

~/Project/computorv1 git:(main) npm start -- "x ^ 0 + 2x ^ 1 = 0"

> start
> tsc && node dist/main.js x ^ 0 + 2x ^ 1 = 0

Reduced form: (1𝑥⁰) + (2𝑥¹) = 0
Polynomial degree: 1
Discriminant is zero, the solution is:
-0.5

About

Quadratic equation solver

Topics

Resources

Stars

Watchers

Forks