In practice we frequently need to deal with composite functions.
This is frequently formulated as `z` is simple function of `y` , `x` is simple function of `t` say
`y` is arbitrary. We want to compute second derivative of our
function.
In FriCAS we can express is in very natural way. First define fricas (1) -> y := operator 'y
Type: BasicOperator?Now we just translate math to FriCAS syntax: fricas x := 1/t
Type: Fraction(Polynomial(Integer))fricas z := c*x*y(x)
Type: Expression(Integer)fricas D(z,
Type: Expression(Integer) |