Return a graph I vs E of the electrochemical process
CV(Co = 0.001, Dx = 1e-05, Eo = 0, Dm = 0.45, Vi = 0.3, Vf = -0.3, Vs = 0.001, ko = 0.01, alpha = 0.5, Temp = 298.15, n = 1, Area = 1, DerApprox = 2, errCheck = FALSE, Method = "Euler")
bulk concentration
diffusion coefficient
reduction potential of the species
simulation parameter, maximum 0.5 for explicit methods
initial potential of the sweep
final potential of the sweep
potential scan rate of the simulation
heterogeneous electron transfer rate constant
charge transfer coefficient
temperature in kelvin
number of electrons involved in the process
area of the electrode
number of point for the approximation of the first derivative
if true the function returns a list with parameters for CottrCheck function
method to be used for the simulation = "Euler" "BI" "RK4" "CN" "BDF"
if errCheck == F a graph I vs E, if errCheck == T a list
# NOT RUN { CV(Co = 0.001, DerApprox = 2, Dm = 0.45, errCheck = FALSE, Method = "Euler") # }
Run the code above in your browser using DataLab