/* --------------------------------- */
/* save as fb.h */
/* --------------------------------- */
double f(
double t)
{
return( 3*pow(sin(t),5) );
}
char feq[] = "3*pow(sin(t),5)";
/* --------------------------------- */
double Df(
double t)
{
return( 15*cos(t)*pow(sin(t),4) );
}
char Dfeq[] = "15*cos(t)*pow(sin(t),4)";
/* --------------------------------- */
double g(
double t)
{
return( 3*pow(cos(t),5) );
}
char geq[] = "3*pow(cos(t),5)";
/* --------------------------------- */
double Dg(
double t)
{
return( -15*sin(t)*pow(cos(t),4) );
}
char Dgeq[] = "-15*sin(t)*pow(cos(t),4)";
/* --------------------------------- */
/* --------------------------------- */
double DgDf(
double t)
{
return(Dg(t)/Df(t));
}
/* --------------------------------- */
/* --------------------------------- */