Mathc initiation/Fichiers h : x 66ca
Apparence
Installer et compiler ces fichiers dans votre répertoire de travail.
c01a.c |
---|
/* ---------------------------------- */
/* save as c16a.c */
/* ---------------------------------- */
#include "x_hfile.h"
#include "fa.h"
/* ---------------------------------- */
int main(void)
{
pt2d p1 = {1,-2};
/* ---------------------------------- */
clrscrn();
printf(" Implicit differentiation.\n\n"
" ****************\n\n"
" If an equation F(x,y) = 0 determines,\n"
" implicitly, a differentiable function g of\n"
" one variable x such that y = g(x) then \n\n"
" dy F_x(x,y)\n"
" -- = - --------\n"
" dx F_y(x,y)\n\n");
stop();
/* ---------------------------------- */
clrscrn();
printf(" f : x,y-> %s\n\n\n\n",feq);
printf(" In first verify that the point p(%0.2f,%0.2f)\n\n", p1.x,p1.y);
printf(" satisfy the equation.\n\n");
printf(" f(%0.2f,%0.2f) = %0.9f\n\n\n",
p1.x,p1.y,f(p1.x,p1.y));
printf(" Now you can compute : y'](%0.2f,%0.2f)\n\n\n",p1.x,p1.y);
printf(" y'](%0.2f,%0.2f) = %0.9f with %s \n\n",
p1.x,p1.y,dy(p1.x,p1.y),dyeq);
printf(" y'](%0.2f,%0.2f) = %0.9f with implicitDy(); \n\n",
p1.x,p1.y, implicitDy(f,H,p1));
stop();
return 0;
}
/* ---------------------------------- */
/* ---------------------------------- */
Exemple de sortie écran :
Implicit differentiation.
****************
If an equation F(x,y) = 0 determines,
implicitly, a differentiable function g of
one variable x such that y = g(x) then
dy F_x(x,y)
-- = - --------
dx F_y(x,y)
Press return to continue.
Exemple de sortie écran :
f : x,y-> y**4 + 3*y - 4*x**3 - 5*x - 1
In first verify that the point p(1.00,-2.00)
satisfy the equation.
f(1.00,-2.00) = 0.000000000
Now you can compute : y'](1.00,-2.00)
y'](1.00,-2.00) = -0.586206897 with (12*x**2 + 5) / (4*y**3 + 3)
y'](1.00,-2.00) = -0.586206896 with implicitDy();
Press return to continue.