Skip to content

Three methods to find the roots of non-linear functions - #228

Merged
harshildarji merged 2 commits into
TheAlgorithms:masterfrom
mavroudo:master
Dec 18, 2017
Merged

Three methods to find the roots of non-linear functions#228
harshildarji merged 2 commits into
TheAlgorithms:masterfrom
mavroudo:master

Conversation

@mavroudo

Copy link
Copy Markdown
Contributor

Bisection uses the Bolzano theorem, the others 2 find the root faster by using the derivative of the function

There are three methods that find approximately the roots of a non-linear function
@harshildarji
harshildarji merged commit 8bf6952 into TheAlgorithms:masterDec 18, 2017
priya-sundaram-dev added a commit to priya-sundaram-dev/Python that referenced this pull request Sep 2, 2026
The devcontainer image build fails on main: the Dockerfile does
`COPY requirements.txt`, but that file was removed when the repo moved
its dependencies to pyproject.toml, so there is nothing to copy. Switch
devcontainer.json to pull the upstream mcr.microsoft.com/devcontainers/python
image and install pre-commit/ruff/uv in postCreateCommand. Fully within
.json so it stays keeper-safe; the now-unused Dockerfile can be dropped in
a follow-up once the keeper accepts the Dockerfile filename (TheAlgorithms#228).
cclauss added a commit that referenced this pull request Sep 2, 2026
… .vscode (keeper-safe .json-only) (#15162)
* ci(devcontainer): Debian 13 Trixie + Python 3.14, Ruff settings, drop .vscode
Bumps the base image to 3.14-trixie purely via devcontainer.json's
build.args.VARIANT (the Dockerfile's ARG reads it), so the Dockerfile
itself is untouched and keeps installing requirements + pipx pre-commit/ruff.
- VARIANT 3.13-bookworm -> 3.14-trixie (Debian 13, latest stable CPython).
- Replace removed python.linting.*/blackPath settings with Ruff format-on-save
+ fixAll/organizeImports (matches pre-commit and CI); add the Ruff extension.
- Delete .vscode/settings.json: pre-commit/Ruff cover this now.
Keeps the change to .json files only.
* ci(devcontainer): use prebuilt image instead of broken Dockerfile build
The devcontainer image build fails on main: the Dockerfile does
`COPY requirements.txt`, but that file was removed when the repo moved
its dependencies to pyproject.toml, so there is nothing to copy. Switch
devcontainer.json to pull the upstream mcr.microsoft.com/devcontainers/python
image and install pre-commit/ruff/uv in postCreateCommand. Fully within
.json so it stays keeper-safe; the now-unused Dockerfile can be dropped in
a follow-up once the keeper accepts the Dockerfile filename (#228).
* Update .devcontainer/devcontainer.json
---------
Co-authored-by: Christian Clauss <cclauss@me.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@mavroudo@harshildarji