Learn R Programming

FindAllRoots (version 1.0)

FindAllRoots-package: Find all root(s) of the equation and Find root(s) of the equation by dichotomy

Description

Find all root(s) of the equation,including complex roots;Find root(s) of the equation by dichotomy

Arguments

Details

Package:
FindAllRoots
Type:
Package
Version:
1.0
Date:
2012-07-13
License:
GPL (>= 2)

References

a passage about finding all roots,whose author is Dequan Shang a passage about finding root(s) of equation ,whose author is Yong Ling

Examples

Run this code
a=c(2,-1,-13,-1,-5)
b=c(4:0)
x1=c(1:10)
x2=c(2:11)
allroots(a,b)
dichotomy(x1,x2,a,b)

Run the code above in your browser using DataLab