f_gen {chemdeg}R Documentation

Formula of an n-order model.

Description

Given the reaction order n , the function returns the equation corresponding to that particular n^th^-order kinetic model. For n\neq 1:

y(t)=((n-1)\,k\,t+y_0^{1-n}))^{\frac{1}{n-1}}

for n=1:

y(t)=y_0\,e^{-k\,t}

Usage

f_gen(n)

Arguments

n

reaction order

Value

A formula object containing the equation of the selected n^th^ order kinetic model.

Examples

nc <- 2
f_gen(nc)

f_gen(1)

[Package chemdeg version 0.1.4 Index]