BaseMax / BaseMax/CubicEquationCalculator

Wrong answers in the specific case

Open
#3 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Hello!
I've tried next coefficient in the program: `1, -2, -1, 1`.
So it's the equation `x^3 - 2 * x^2 - x + 1 = 0`.
And I've got the answers `2.1776150834928703, -2.0236846915106783, -0.15393039198219122`.
But the correct answers are `-0.80194, 0.55496, 2.2470` (checked in the Wolfram Alpha).
I hope, that this will help you.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.