Aller au contenu

Mathc initiation/a522

Un livre de Wikilivres.


Sommaire


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

c00a.c
/* --------------------------------- */
/* save as c00a.c                    */
/* --------------------------------- */
#include "x_afile.h"
#include      "fa.h"                 /* Try fa.h, fb.h, fc.h ... fj.h */
/* --------------------------------- */
int main(void)
{
 clrscrn();  
 printf(" The Laplace transform of F(t) is f(s) \n\n" 
        "            / oo                         \n" 
        "           |                             \n" 
        " L{F(t)} = |    exp(-s t) F(t) dt = f(s) \n" 
        "           |                             \n" 
        "           /  0                      \n\n\n");
 
 
 printf(" A property of the Laplace transform is : \n\n"
        "                       /t                   \n"
        "                      |             f(s)    \n"
        "                    L{|  F(U) dU} = ----    \n"
        "                      |              s      \n"   
        "                      /0                  \n\n");
 stop();
 
 clrscrn(); 
 printf(" If  F(t) : t-> %s  then  f(s) = %s\n\n", Feq, feq);  
 
 printf(" Then :\n\n"
        "                       /t                       \n"
        "                      |              1          \n"
        "                    L{|  F(U) dU} = --- f(s)= %s\n"
        "                      |              s          \n"   
        "                      /0                      \n\n", f_seq);

 printf(" With  s = (%+.3f)\n\n", s);
 
 printf(" Then  f(s)/s = %s = (%+.3f)\n\n", f_seq, f_s(s)); 
 
 stop();
 
 return 0;
}
/* --------------------------------- */
/* --------------------------------- */


Exemple de sortie écran :

 The Laplace transform of F(t) is f(s) 

            / oo                         
           |                             
 L{F(t)} = |    exp(-s t) F(t) dt = f(s) 
           |                             
           /  0                      


 A property of the Laplace transform is : 

                       /t                   
                      |             f(s)    
                    L{|  F(U) dU} = ----    
                      |              s      
                      /0                  

 Press return to continue.


Exemple de sortie écran :

 If  F(t) : t-> (1)  then  f(s) = (1/s)

 Then :

                       /t                       
                      |              1          
                    L{|  F(U) dU} = --- f(s)= (1/s)*(1/s)
                      |              s          
                      /0                      

 With  s = (+2.000)

 Then  f(s)/s = (1/s)*(1/s) = (+0.250)

 Press return to continue. .