Mathc initiation/Fichiers c : c45c3c


Sommaire


Installer et compiler ces fichiers dans votre répertoire de travail.

c183c.c
/* ---------------------------------- */
/* save as c183c.c                    */
/* ---------------------------------- */
#include "x_hfile.h"
#include      "fc.h"
/* ---------------------------------- */
int main(void)
{
 clrscrn();
 
 printf(" Evaluate the line integral :\n\n");

 printf("    (\n" 
        " int(   f(x,y) dy = \n" 
        "    (C\n\n\n"

        " is C has the parametrization :   \n\n" 
        " x = g(t);     y = h(t);     a < t =< b \n\n\n"

        "    (                 (b\n" 
        " int( f(x,y) dy =  int( f(g(t),h(t))  h(t)' dt \n" 
        "    (C                (a\n\n\n" );  
 stop(); 
 
 clrscrn();
 printf(" Evaluate :\n\n");

 printf("    (\n");
 printf(" int(   (%s) dy = \n", feq);
 printf("    (C\n\n\n");

 printf(" is C has the parametrization :\n\n\n");
 printf(" x = %s;     y = %s;      %.1f < t =< %.1f \n\n\n", geq, heq, a, b);
 
 printf("    (b\n" 
        " int(   f(g(t),h(t))  h(t)' dt =  %+.3f\n" 
        "    (a\n\n\n",
        
               lint2d_dy( f,
                          g,h,
                          a,b,LOOP) 
                          ); 
 stop();

 return 0;
}
/* ---------------------------------- */
/* ---------------------------------- */


Évaluer l'intégrale curviligne en dy.


Exemple de sortie écran :

 Evaluate the line integral :

    (
 int(   f(x,y) dy = 
    (C


 is C has the parametrization :   

 x = g(t);     y = h(t);     a < t =< b 


    (                 (b
 int( f(x,y) dy =  int( f(g(t),h(t))  h(t)' dt 
    (C                (a


 Press return to continue.

Exemple de sortie écran :

 Evaluate :

    (
 int(   (sqrt(x**2 + y**2)) dy = 
    (C


 is C has the parametrization :


 x = 2*t**2;     y = 4*t-3*t**2;      0.0 < t =< 1.0 


    (b
 int(   f(g(t),h(t))  h(t)' dt =  +0.255
    (a


 Press return to continue.