Description

This packesge provides the ability to create functions from text input. On the built functions it offers the ability to compute the derivative and the definite integral and allows also for computing the value of f(x) at a given x.

Usage

```rust use ruut_functions::function::{Function, approx};

fn main() { // Note that the input must be without spaces let function = Function::build("x*cos(2x+2)+e^sin(x)").unwrap(); let derivative = function.derivative();
let y = function.evaluate(2.);
let integral = function.integrate(0., 2.);

// And operations between functions and with f32 let f = Function::build("3x^2").unwrap(); ■■ let g = Function::build("log(tan(1/x))").unwrap();

// f + g
// f - g
// f * g
// f / g
// 2. * f
// 2. / f

} ```

Contact Me

20tasso00@gmail.com