/* ---------------------------------- */
/* save as fb.h */
/* ---------------------------------- */
double a_n(
double n)
{
return( (3.*pow(n,2.)+5.*n) / (pow(2.,n)*pow(n,2.)+pow(2.,n)));
}
char a_neq[] = "(3*n**2 + 5*n) / ((2**n)*n**2 + 2**n)";
char a_xeq[] = "(3*x**2 + 5*x) / ((2**x)*x**2 + 2**x)";
/* ---------------------------------- */
double b_n(
double n)
{
return( 1./pow(2.,n) );
}
char b_neq[] = "1/2**n";
char b_xeq[] = "1/2**x";
/* ---------------------------------- */
/* ---------------------------------- */