I have plot a function B[t], solved from a differential equation. It gave me an interpolating function B: { {B => InterpolatingFunction [ {{0,.60}}, <> ] }}
I would like now to plot another function depending on B, that would be: (A2*B + A1 - rho) / eta, with rho (=0.96 for exemple) and eta (=2 for exemple) two constant parameters, and A1 and A2 defined below. But I can’t manage to plot this function depending on the interpolating function.
If someone knows how to do it, it would be great help !
Here is the equation that permitted me to find the trajectory of B:
Alexey wrote solution where is used values from interpolation coefficient (polynomial). Solved values have small error. If you want solve other t-values and use interpolation function for solution then you can write this code: