solve_eq: Solve the equation ff(k,a)=ff(k-1,a)

Description Usage Arguments Value Examples

View source: R/ex.R

Description

Solve the equation ff(k,a)=ff(k-1,a)

Usage

1

Arguments

k

integer

Value

the root of the equation

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
Root=matrix(0,2,5)
k=c(4,25,100,500,1000)
for (i in 1:length(k)){
 Root[2,i]=round(solve_eq(k[i]),4)
}
Root[1,]=k;rownames(Root)=c('k','root')
Root

## End(Not run)

XixuHu/SC19090 documentation built on Jan. 2, 2020, 8:40 p.m.