samedi 30 janvier 2016

                                                  Info (Concours cycle fst )

Enoncé :


Solution : 



                                           Mécanique ( Concours cycle fst ) 

énoncé :


Solution :




                                             Analyse : (Concours cycle fst )

Enoncé :


Solution :



mardi 26 janvier 2016


Les concours des grandes écoles Bac +2 (EMI - EHTP - INPT ..)
Partie 2 ( Math - Physique )


















lundi 25 janvier 2016

Quelques concours des grandes écoles ( EMI - INPT - EHTP - ENIM ..)
Pour télécharger le fichier pdf , voici le lien :

https://www.dropbox.com/s/7vvx7v5pqdzrqp9/concours%20%20des%20grand%20ecoles.pdf






vendredi 22 janvier 2016



       La correction (la suite) de la question 4 du concours INPT 2010 : (info)


      int contientsous(char t[],char sous[])
          {
             int i,j,trouve=0;

              for(i=0;t[i]!='\0' && !trouve;i++)
                 {
                     if(t[i]==sous[0])
                       {
                               for(j=1;sous[j]!='\0' && sous[j]==t[i+j];j++);

                            if(sous[j]=='\0')
                                  trouve=1;
                       }
                }
               return trouve;
         }


Voila un screen de la compilation des 4 questions : 







Concours INPT 2010 Informatique : 

Corrigé : 

Question 1 :
 int valide(char t[])
{
    int i=0,j=0;
    while(t[j]!='\0')
        j++;
        while(t[i]!='#')
            i++;
    while(t[j]!='#')
    {
        if((t[i]=='A'&& t[j]!='T')||(t[i]=='T'&& t[j]!='A')||(t[i]=='C'&& t[j]!='G')||(t[i]=='G'&& t[j]!='C'))
        {
             return 0;
        }
         
            i--;
            j--;
    }
    return 1;

}

Question 2 :

int nombredebase(char t[])
{
    int i=0;

    while(t[i]!='#')
        i++;
return 2*i;

}

Question 3 :(Les pointeurs sont obligatoire ici car on a besoin de deux valeurs et on peux pas faire ( return ) 2 fois dans une fonction ) 

void pourcentage(char t[], int *a,int *b)
{
    int i=0,j=0,k=0;
    while(t[i]!='\0')
    {
        if(t[i]=='A')
            j++;
        if(t[i]=='T')
            k++;
        i++;
    }
    *a=j; *b=k;
}

jeudi 21 janvier 2016

Exercice corrigé Langage C : (Structures)

Enoncé :

Soit la structure suivante : 

                                        struct etudiant {

                                                  int num;
                                                  char nom[30];
                                                  char filiere[30];
                                      };


  1. Ecrire une fonction Remplir qui remplie la structure .
  2. Ecrire une fonction Afficher les données selon une filière donnée par l'utilisateur 

 Solution : 

struct etudiant
{
    int num;
    char nom[30];
    char filiere[30];
};
typedef struct etudiant CD;
CD* remplir(CD T[],int n)
{
    int i;
    for(i=0;i<n;i++)
    {
        printf("Donner le num \n");
        scanf("%d",&T[i].num);
        getchar();
        printf("Donner le nom \n");
        gets(T[i].nom);
        printf("Donner la filiere \n");
        gets(T[i].filiere);
    }
return T;
}
void afficherparfili(CD T[],int n)
{
    int i;
    char fili[30];
    printf("Donner la filiere a chercher \n");
    gets(fili);
    for(i=0;i<n;i++)
    {
        if(strcmp(T[i].filiere,fili)==0)
        {
            printf("Le num : %d \t le nom : %s\n",T[i].num,T[i].nom);
        }
    }
}
int main()
{

       CD *T; int n;

     do{
        printf("Donner le nombre d'etudiant \n");
        scanf("%d",&n);
    }while(n<=0 && n>100);

    T=(CD*)malloc(n*sizeof(CD));

    T=remplir(T,n);
    afficherparfili(T,n);

return 0;
}


Exercice corrigé (Chaine de caractère) 

Enoncé : 

Ecrire une fonction Estpalindrome( chaine de caractère ) qui retourne 1 si la chaine est un palindrome et 0 sinon

NB: On pourra utiliser strlen pour compter le nombre de carctère de la chaine avec le caractère null .


Solution

int Estpalindrome(char T[])
{
    int i=0,j=0;

    j=strlen(T)-1;  //strlen compte le nombre de caractere de la chaine avec le caractère null
    while(j>i)
    {
        if(T[i]!=T[j])
        {
            return 0;
        }
        i++;
        j--;
    }
return 1;
}

Exercice corrigé en C : 

Enoncé : 

Donner un programme qui permet de trier un tableau d'entier (trie par insertion)

Solution : 

int main()
{
      int tab[100],n;
      int i,j,aide;
      do{
       
        printf("Donner le nombre d'element du tableau \n");
      scanf("%d",&n);
      }while(n<=0);
     
      //Remplissage du tableau
    for(i=0;i<n;i++)
    {
        printf("Donner l'element %d : \n",i+1);
        scanf("%d",&tab[i]);
    }
    //affichage
    for(i=0;i<n;i++)
    {
        printf("%d\t",tab[i]);
    }
    //Le tri par insertion
    for(i=1;i<n;i++)
    {
        j=i;
        while(j>0 && tab[j]<tab[j-1])
        {
            aide=tab[j-1];
            tab[j-1]=tab[j];
            tab[j]=aide;
            j--;
        }
    }
    //affichage apres le tri
    printf("\nVotre tableau trier \n");
     for(i=0;i<n;i++)
    {
        printf("%d\t",tab[i]);
    }
return 0;
}
Exercice corrigé Langage C :


Enoncé 


Soit un fichier binaire nommé PFE.bin regroupant les informations sur les projets de fin d’étude d’un établissement. Pour chaque projet, on mentionne le code du projet ( un entier ), le titre ( chaine de caractère de taille max 40 ), le nom de l’encadrant ( une chaine de caractères de taille max 20 ), le domaine traité ( une chaine de caractères de taille max 30 ).

L’application qu’on se propose de réaliser consiste à effectuer les opérations suivantes :

a. Créer le fichier PFE.bin.
b. Afficher le contenu du fichier PFE.bin.
c. Modifier les informations relatives à un projet du fichier PFE.bin
d.     Supprimer  les informations relatives à un projet du fichier PFE.bin


Solution :


struct PFE{

      int code;
      char titre[20];
      char nom[20];
      char domaine[20];

};
typedef struct PFE PFE;
void ajouter()
{
    PFE *A; FILE *f; int i,N;

    f=fopen("PFE.bin","wb");
    if(!f)
        exit(-1);

    printf("Donner le nombre d'element : \n");
    scanf("%d",&N);
    A=(PFE*)malloc(N*sizeof(PFE));
     for(i=0;i<N;i++)
    {
        printf("Donner le Num :\n");
        scanf("%d",&(A+i)->code);
        getchar();
        printf("Donner le titre :\n");
        gets((A+i)->titre);
        printf("Donner le nom :\n");
        gets((A+i)->nom);
        printf("Donner le domaine :\n");
        gets((A+i)->domaine);
        fwrite((A+i),sizeof(PFE),1,f)
;    }
    fclose(f);

}
void afficher()
{
    FILE *f; PFE A ;
    f=fopen("PFE.bin","rb");
    if(!f)
        exit(-1);
    while(fread(&A,sizeof(PFE),1,f)!=0)
    {
        printf("                                                     Le numero : %d\n                                                     Le titre : %s\n                                                     Le nom : %s\n                                                     Le domaine : %s\n",A.code,A.titre,A.nom,A.domaine);
    }
    fclose(f);
}
PFE saisi()
{
    PFE t;
    printf("Donner le code : \n");
    scanf("%d",&t.code);
    getchar();
    printf("Donner le titre : \n");
    gets(t.titre);
    printf("Donner le nom : \n");
    gets(t.nom);
    printf("Donner le domaine : \n");
    gets(t.domaine);
    return t;
}
void supprimer()
{
    FILE *f,*g;
    PFE p,z;
    f=fopen("PFE.bin","rb");
    if(!f)
        exit(-1);
    g=fopen("temp.bin","wb");
    if(!g)
        exit(-1);
        printf("\n");
        printf("                                          Donner le projet a supprimer : \n");
        z=saisi();
        while(fread(&p,sizeof(PFE),1,f)!=0)
        {
            if(z.code!=p.code && strcmp(z.titre,p.titre)!=0 && strcmp(z.nom,p.nom)!=0 && strcmp(z.domaine,p.domaine)!=0)
            {
                fwrite(&p,sizeof(PFE),1,g);
            }
        }
        fclose(f); fclose(g);
        remove("PFE.bin"); rename("temp.bin","PFE.bin");
}
void modifier()
{
    FILE *f;
    PFE z,p;
    int test=0;
    f=fopen("PFE.bin","rb+");
    if(!f)
        exit(-1);
        printf("                                    --------Donner l'element a modifier : ----------\n");
        z=saisi();
        while(fread(&p,sizeof(PFE),1,f)!=0 && test==0)
        {
            if(z.code==p.code && strcmp(z.titre,p.titre)==0 && strcmp(z.nom,p.nom)==0 && strcmp(z.domaine,p.domaine)==0)
            {
                test=1;
            }
        }
        printf("                                    -------Donner les nouvelles informations : ---------\n");
        fseek(f,-sizeof(PFE),1);
        p=saisi();
        fwrite(&p,sizeof(PFE),1,f);
        fclose(f);
}

int menu()
{
    int choix;
    printf("                                        1: Afficher les donnees du fichier \n");
    printf("                                        2: supprimer les donnees du fichier \n");
    printf("                                        3: modifier les donnees du fichier \n");
    printf("                                        0: Quitter\n");
    scanf("%d",&choix);
    return choix;
}
int main()
{
    int x;
    printf("                                          -------Donner les informations du fichier--------- \n");
    ajouter();

    do
    {
        x=menu();
        switch(x)
        {
        case 1:
            printf("\n");
            afficher();
            printf("\n");
            break;
        case 2:
            supprimer();
            printf("\n");
            afficher();
            printf("\n");
            break;
        case 3:
            modifier();
            printf("\n");
            afficher();
            printf("\n");
            break;
        case 0:
            printf("Fin de programme\n");
            break;
        }
    }while(x!=0);
return 0;
}
Exercice corrigé Langage C : (tableaux)

Enoncé : 

 //Ecrire  un programme qui recherche la position du minimum d’un tableau d’entiers

Solution :

int main()
{
      int tab[5]; //5 element par exmple
      int i; //l'indice du tableau
      int min; //le minimum

      /*Remplissage du tableau*/
      for(i=0;i<5;i++)
      {
          printf("Donner l'element %d : \n",i+1);
          scanf("%d",&tab[i]);
      }
      /*Affichage du tableau*/
      for(i=0;i<5;i++)
      {
          printf("%d \t",tab[i]);
      }
     /*La recherche du minimum*/
       //on donne le premier element du tableau au min et apres on va comparer le min avec tous les elements
                          min=tab[0];

      for(i=0;i<5;i++)
      {
          if(tab[i]<min) //s'il existe un element inferieur au min on change la valeur de min avec cet element
          {
              min=tab[i];
          }
      }
      // a la fin de cette boucle , on est sure qu'on a trouver le minimum du tableau

      printf("\nLe minimum egale : %d",min);

}
Exercice corrigé Langage C :

Enoncé : 

//Ecrire un programme qui calcule la factorielle du nombre n.(n factorielle s'écrit n!)
//exmple 3! =3x2x1 = 6      6! = 6x5x4x3x2x1 = 720
//NB : 0!=1  et le n doit etre obligatoirement positive

Solution : (Il y a plusieurs façon de le faire)

int main()
{
      int n,f=1; //on doit initialiser le f par 1 parce qu'on va faire un produit
      //pour gerer la positivité du nombre n , on va utiliser une boucle do while
      do
      {
          printf("Donner la valeur de n : \n");
          scanf("%d",&n);
      }while(n<0); //la condition : c'est repeter les instructions si le n est négative

    //le cas ou n=0
    if(n==0)
    {
        f=1;
    }
    while(n!=0) //parce qu'on doit s'arreter a 1 d'apres la definition de la factorielle
    {
        f=f*n;
        n=n-1;
    }
    printf("La factorielle vaut : %d ",f);

}
Exercice corrigé Langage C :

Enoncé :

écrire un programme qui vérifie est-ce-que un entier A est paire ou impaire , A est donné  par l'utilisateur .

Solution :

int main()
{

    int A;
    printf("Donner la valeur de A \n");
    scanf("%d",&A);

    if(A%2==0)
    {
        printf("A est paire \n");
    }
    else
    {
        printf("A est impaire \n");
    }

}

Pour voir les exercices en video , visiter notre chaine https://www.youtube.com/channel/UCyFctLWPRm3akz6p1VZ-pWg
Exercice corrigé langage C :

Enonce : 

/*Ecrire un programme qui fait l'echange entre 2 variables entieres A et B , données par l'utilisateur*/

Solution :

int main()
{

    /*Déclaration des variables , on a besoin obligatoirement d'une variable intermédiare*/
    int A,B,C;

    /*Remplissage des variables , sauf la variable c*/
    printf("Entrer les deux valeurs \n");
    scanf("%d",&A);
    scanf("%d",&B);

    /*Affichage des variables*/
    printf("A= %d   B= %d  \n",A,B);  //L'ordre ds variables est inportant

    /*Echange des variables*/
    C=A; //sauvgarder la valeur de A dans C pour ne pas la valeur de A
    A=B; //Changer la valeur de A par la valeur de B
    B=C;  //la valeur de C contient l'ancienne valeur valeur de A , donc on change la valeur de B par C
    /*Affichage des variables apres l'echange*/
    printf("Les nouvelles valeurs :\n");
    printf("A= %d   B= %d  \n",A,B);

}

Exercice corrigé en langage C :

    Énoncé :

Ecrire un programme qui permute et affiche les valeurs de trois variables A, B, C de type entier qui sont entrées au clavier :

                                       A ==> B , B ==> C , C ==> A
   Solution :

int main()
{

    /*Déclaration des variables*/
    int A,B,C;

    /*Remplissage des variables*/
    printf("Entrer les troix valeurs \n");
    scanf("%d",&A);
    scanf("%d",&B);
    scanf("%d",&C);

    /*Affichage des variables*/
    printf("A= %d   B= %d   C= %d\n",A,B,C);  //L'ordre ds variables est inportant

    /*Permutation des variables*/
    A=B;
    B=C;
    C=A;
   /*Affichage des variables apres permutation*/
    printf("A= %d   B= %d   C= %d\n",A,B,C);

}

Exemple de résultats obtenu :

Entrer les troix valeurs
1
2
3
 /*Affichage des variables*/
A= 1   B= 2   C= 3
/*Affichage des variables apres permutation*/
A= 2   B= 3   C= 2

mercredi 20 janvier 2016

Part 3:

Dreams have a meaning

This is the whole dream, or, at all events, all that I can remember. It appears to me not only obscure and meaningless, but more especially odd. Mrs. E.L. is a person with whom I am scarcely on visiting terms, nor to my knowledge have I ever desired any more cordial relationship. I have not seen her for a long time, and do not think there was any mention of her recently. No emotion whatever accompanied the dream process. Reflecting upon this dream does not make it a bit clearer to my mind. I will now, however, present the ideas, without premeditation and without criticism, which introspection yielded. I soon notice that it is an advantage to break up the dream into
11
its elements, and to search out the ideas which link themselves to each fragment. Company; at table or table d'hôte. The recollection of the slight event with which the evening of yesterday ended is at once called up. I left a small party in the company of a friend, who offered to drive me home in his cab. "I prefer a taxi," he said; "that gives one such a pleasant occupation; there is always something to look at." When we were in the cab, and the cab-driver turned the disc so that the first sixty hellers were visible, I continued the jest. "We have hardly got in and we already owe sixty hellers. The taxi always reminds me of the table d'hôte. It makes me avaricious and selfish by continuously reminding me of my debt. It seems to me to mount up too quickly, and I am always afraid that I shall be at a disadvantage, just as I cannot resist at table d'hôte the comical fear that I am getting too little, that I must look after myself." In farfetched connection with this I quote: "To earth, this weary earth, ye bring us, To guilt ye let us heedless go." Another idea about the table d'hôte. A few weeks ago I was very cross with my dear wife at the dinner-table at a Tyrolese health resort, because she was not sufficiently reserved with some neighbors with whom I wished to have absolutely nothing to do. I begged her to occupy herself rather with me than with the strangers. That is just as if I had been at a disadvantage at the table d'hôte. The contrast between the behavior of my wife at the table and that of Mrs. E.L. in the dream now strikes me: "Addresses herself entirely to me." Further, I now notice that the dream is the reproduction of a little scene which transpired between my wife and myself when I was secretly courting her. The caressing under cover of the tablecloth was an answer to a wooer's passionate letter. In the dream, however, my wife is replaced by the unfamiliar E.L. Mrs. E.L. is the daughter of a man to whom I owed money! I cannot help noticing that here there is revealed an unsuspected connection between the dream content and my thoughts. If the chain of associations be followed up which proceeds from one element of the dream one is soon led back to another of its elements. The thoughts evoked by the dream stir up associations which were not noticeable in the dream itself.

Second part :

Dreams have a meaning

One day I discovered to my amazement that the popular view grounded in superstition, and not the medical one, comes
9
nearer to the truth about dreams. I arrived at new conclusions about dreams by the use of a new method of psychological investigation, one which had rendered me good service in the investigation of phobias, obsessions, illusions, and the like, and which, under the name "psycho-analysis," had found acceptance by a whole school of investigators. The manifold analogies of dream life with the most diverse conditions of psychical disease in the waking state have been rightly insisted upon by a number of medical observers. It seemed, therefore, a priori, hopeful to apply to the interpretation of dreams methods of investigation which had been tested in psychopathological processes. Obsessions and those peculiar sensations of haunting dread remain as strange to normal consciousness as do dreams to our waking consciousness; their origin is as unknown to consciousness as is that of dreams. It was practical ends that impelled us, in these diseases, to fathom their origin and formation. Experience had shown us that a cure and a consequent mastery of the obsessing ideas did result when once those thoughts, the connecting links between the morbid ideas and the rest of the psychical content, were revealed which were heretofore veiled from consciousness. The procedure I employed for the interpretation of dreams thus arose from psychotherapy. This procedure is readily described, although its practice demands instruction and experience. Suppose the patient is suffering from intense morbid dread. He is requested to direct his attention to the idea in question, without, however, as he has so frequently done, meditating upon it. Every impression about it, without any exception, which occurs to him should be imparted to the doctor. The statement which will be perhaps then made, that he cannot concentrate his attention upon anything at all, is to be countered by assuring him most positively that such a blank state of mind is utterly impossible. As a matter of fact, a great number of impressions will soon occur, with which others will associate themselves. These will be invariably accompanied by the expression of the observer's opinion that they have no meaning or are unimportant. It will be at once noticed that it is this self-criticism which prevented the patient from imparting the ideas, which had indeed already excluded them from consciousness. If the patient can be induced to
10
abandon this self-criticism and to pursue the trains of thought which are yielded by concentrating the attention, most significant matter will be obtained, matter which will be presently seen to be clearly linked to the morbid idea in question. Its connection with other ideas will be manifest, and later on will permit the replacement of the morbid idea by a fresh one, which is perfectly adapted to psychical continuity. This is not the place to examine thoroughly the hypothesis upon which this experiment rests, or the deductions which follow from its invariable success. It must suffice to state that we obtain matter enough for the resolution of every morbid idea if we especially direct our attention to the unbidden associations which disturb our thoughts—those which are otherwise put aside by the critic as worthless refuse. If the procedure is exercised on oneself, the best plan of helping the experiment is to write down at once all one's first indistinct fancies. I will now point out where this method leads when I apply it to the examination of dreams. Any dream could be made use of in this way. From certain motives I, however, choose a dream of my own, which appears confused and meaningless to my memory, and one which has the advantage of brevity. Probably my dream of last night satisfies the requirements. Its content, fixed immediately after awakening, runs as follows: "Company; at table or table d'hôte… . Spinach is served. Mrs. E.L., sitting next to me, gives me her undivided attention, and places her hand familiarly upon my knee. In defence I remove her hand. Then she says: 'But you have always had such beautiful eyes.'… . I then distinctly see something like two eyes as a sketch or as the contour of a spectacle lens… ."

mardi 19 janvier 2016

Chapter 1 : 

Dreams have a meaning


In what we may term "prescientific days" people were in no uncertainty about the interpretation of dreams. When they were recalled after awakening they were regarded as either the friendly or hostile manifestation of some higher powers, demoniacal and Divine. With the rise of scientific thought the whole of this expressive mythology was transferred to psychology; to-day there is but a small minority among educated persons who doubt that the dream is the dreamer's own psychical act. But since the downfall of the mythological hypothesis an interpretation of the dream has been wanting. The conditions of its origin; its relationship to our psychical life when we are awake; its independence of disturbances which, during the state of sleep, seem to compel notice; its many peculiarities repugnant to our waking thought; the incongruence between its images and the feelings they engender; then the dream's evanescence, the way in which, on awakening, our thoughts thrust it aside as something bizarre, and our reminiscences mutilating or rejecting it—all these and many other problems have for many hundred years demanded answers which up till now could never have been satisfactory. Before all there is the question as to the meaning of the dream, a question which is in itself double-sided. There is, firstly, the psychical significance of the dream, its position with regard to the psychical processes, as to a possible biological function; secondly, has the dream a meaning—can sense be made of each single dream as of other mental syntheses?

Three tendencies can be observed in the estimation of dreams. Many philosophers have given currency to one of these tendencies, one which at the same time preserves
8

something of the dream's former over-valuation. The foundation of dream life is for them a peculiar state of psychical activity, which they even celebrate as elevation to some higher state. Schubert, for instance, claims: "The dream is the liberation of the spirit from the pressure of external nature, a detachment of the soul from the fetters of matter." Not all go so far as this, but many maintain that dreams have their origin in real spiritual excitations, and are the outward manifestations of spiritual powers whose free movements have been hampered during the day ("Dream Phantasies," Scherner, Volkelt). A large number of observers acknowledge that dream life is capable of extraordinary achievements—at any rate, in certain fields ("Memory"). In striking contradiction with this the majority of medical writers hardly admit that the dream is a psychical phenomenon at all. According to them dreams are provoked and initiated exclusively by stimuli proceeding from the senses or the body, which either reach the sleeper from without or are accidental disturbances of his internal organs. The dream has no greater claim to meaning and importance than the sound called forth by the ten fingers of a person quite unacquainted with music running his fingers over the keys of an instrument. The dream is to be regarded, says Binz, "as a physical process always useless, frequently morbid." All the peculiarities of dream life are explicable as the incoherent effort, due to some physiological stimulus, of certain organs, or of the cortical elements of a brain otherwise asleep. But slightly affected by scientific opinion and untroubled as to the origin of dreams, the popular view holds firmly to the belief that dreams really have got a meaning, in some way they do foretell the future, whilst the meaning can be unravelled in some way or other from its oft bizarre and enigmatical content. The reading of dreams consists in replacing the events of the dream, so far as remembered, by other events. This is done either scene by scene, according to some rigid key, or the dream as a whole is replaced by something else of which it was a symbol. Serious-minded persons laugh at these efforts—"Dreams are but sea-foam!"

Sigmund Freud (Dream Psychology).

Second part : Tomorrow .

lundi 18 janvier 2016

VIKRAM KARVE (A fiction short story frensh version)

"Je veux rentrer à la maison!" Le père, un vieil homme regardant redoutable, environ soixante-dix, crie avec force à son fils.
"Merci de Baba. Ne pas créer une scène, "le fils, un homme à la recherche efféminé dans la mi-quarantaine, dit-il doucement.
"Que voulez-vous dire de ne pas créer une scène?" Le vieil homme crie encore plus fort, en agitant son bâton de marche d'une manière menaçante.
"Calmez vous s'il vous plait! Tout le monde nous regarde! ", Une vieille femme, dans la mi-soixantaine, plaide avec son mari.
"Laissez-les regarder! Que tout le monde de voir ce fils ingrat fait pour ses pauvres vieux parents, "le vieil homme dit à haute voix, en regardant tout autour.
«Ingrat?" Fils grimace.
"Oui, ingrat! Voilà ce que vous êtes. Nous avons tout fait pour vous; vous instruit, vous avez soulevé. Et maintenant vous nous jeter hors de notre maison dans cette choultry sanglante ".
"Choultry! Vous appelez ça un choultry! S'il vous plaît Baba. Ceci est un canton de luxe pour personnes âgées ", dit le fils.
"Il est normal," la vieille femme console son mari, "nous gérons dans cette maison de retraite."
«Maman, s'il vous plaît!" A imploré le fils d'exaspération, «Combien de fois vous ai-je dit. Cela ne veut pas d'une maison de retraite. Il est un si beau canton exclusif pour des aînés de jouir d'une vie heureuse et active. Et je vous ai réservé un cottage premium - le meilleur ici ".
La mère regarde son fils, puis à son mari, pris au piège entre les deux, ne sachant pas quoi dire que les deux ont raison à leur manière. Donc, dit-elle doucement à son mari, "essayer de comprendre. Nous allons ajuster ici. Voyez comment pittoresque et vert cet endroit est. Voir là - ce un joli jardin ".
"Je préfère Nana-NaniPark. Mes amis sont là ", dit le vieil homme.
"Vous allez faire des amis ici aussi», dit-elle.
"Amis! Ces snobs intello demi-morts? »Le vieil homme dit d'un air moqueur.
"Ok," le fils intervient, "vous pouvez aussi bien faire de longues promenades. L'air est si pur et rafraîchissant à cette station de montagne ".
«Écoutez-vous! Ne pas essayer tout cela sur moi. Je marche pour les cinquante dernières années sur Marine Drive et ce est où je compte marcher le reste de ma vie. »Il se tourne vers sa femme et dit péremptoirement à elle," Vous faire nos valises et Revenons à Mumbai. Nous ne restent pas ici! "
"Essayez de régler», sa femme lui supplie, "vous aimerez l'endroit. Regardons les installations ici - il ya un club de santé moderne, salle de sport, bibliothèque, loisirs; tout est là. "
"Gym? Vous voulez que je fasse le bâtiment de corps à cet âge? Bibliothèque? Vous savez après ma cataracte je peux à peine lire le journal! Et je peux obtenir tous les loisirs que je besoin de regarder la mer à la Chowpatty ".
"S'il vous plaît Baba, ne pas être obstiné," supplie son fils. "Cet endroit est si bon pour votre santé. Ils vous donnent comme nourriture délicieuse nourrissante ici. "
"Délicieuse? Nourrissant? Le truc stérile sanglante goûte comme nourriture de l'hôpital. Je ne peux pas le supporter - où vais-je obtenir Pav Bhaji de Sardar, Kheema Pav de Kyani, Misal de Vinay, Vada Pav de Satam, Biryani de Delhi Durbar, Boti Kababs de Sarvi, Fish dans Anantashram à côté de Khotachi ... "
"Merci de Baba! Tout ce que vous pouvez penser est la rue la nourriture épicée huileuse horrible vous ne devriez pas manger à votre âge! Avec vos cholestérol et de sucre niveaux, vous allez mourir si vous continuez de manger ce genre de choses ".
"Je préfère mourir d'une crise cardiaque à Mumbai en profitant de la bonne nourriture, je l'aime plutôt que de subir une mort lente ici pour essayer de manger cette absurdité goût insipide." Le vieil homme regarde sa femme et de commandes, "écouter. Juste emballer. Nous ne sommes pas descendu ici comme des esclaves glorifiés dans cette cage dorée. Un mois ici, dans cet endroit paumé m'a rendu presque fou. Nous allons tout de suite à notre maison dans Girgaum de vivre avec dignité! "
"Merci de Baba. Ne pas être difficile. Je dois partir pour les Etats, ce soir, "le fils plaide désespérément. «Je vais essayer de faire le mieux possible pour vous. Vous savez l'énorme quantité d'argent que je avez payé à l'avance pour réserver ce lieu pour vous? "
"Vous revenez à votre famille en Amérique. Je vais revenir à ma maison dans Girgaum! Voilà finale! "Affirme le vieil homme à son fils. Il regarde sa femme et dit: «Tu veux venir? Ou devrais-je retourner seul? "
«Maman, dis-lui s'il vous plaît," le fils regarde sa mère.
La vieille femme regarde amoureusement son mari, pose sa main sur son bras et dit doucement, «S'il vous plaît essayer de comprendre. Nous avons de vivre ici. Il n'y a pas maison dans Girgaum. Notre immeuble chawl a été vendu à un constructeur. Ils construisent un complexe commercial là ".
"Quoi?" Le vieil homme regarde sa femme comme si il est pôle-hache, Et soudain ses défenses crumble et il se désintègre "vous aussi!"; plus il est l'homme fort redoutable qu'il était il ya quelques instants! La métamorphose dans sa personnalité est incroyable comme il tient humblement la main de sa femme pour le soutien et docilement marche avec elle vers leur chalet.

dimanche 17 janvier 2016

The crocodile dilemma, Quintilian

A woman is robbed her baby by a crocodile.
This one said, "If you can guess what I'll do, I give you your baby, if you're wrong, I devour it."
The woman responds immediately: "You're going to eat him!"
The question is therefore whether the woman was right, if so, the crocodile would give him her baby, conversely, it will devour him. However, if the crocodile gives the baby because he intended to devour him, he does not speak. Since he decided to make it, the woman is wrong when she said he would eat, in this case, he should eat the baby, but if he devours the baby, it does not take word to give the baby as he had said ... The real question would be rather: do we overestimated the intelligence of crocodiles?

The barber paradox, by Bertrand Russell

A village has only one barber. A sign in the window of his shop announces: "I shaves all men who do not shave themselves, and only those."
The question is: who shaves the barber in this case? If he shaves himself, it does not follow its own rules not shave that men who do not shave themselves. So you have a choice: the barber is a liar, the barber is a woman, the barber is a prepubescent boy, the barber is beardless, the barber is God, the barber is a robot, the barber does not exist, what's a barber? What is a beard?

The paradox of duplication, Jules Henri Poincaré

Suppose that during the night, all that exists on earth has doubled in size (relatively speaking), how we would notice?
By measuring things? How, if the meters measuring tapes and doubled too? Everything on earth does it include the land itself? The answer is 42.

The paradox of the violation of the domestic law

A law said: It is forbidden to forbid. The content of the law contradicts the law itself. It is forbidden to say that it is forbidden to forbid, and therefore forbidden to say that it is forbidden to say that it is forbidden to forbid. Including?

The paradox of God and heavy rock.

If God is omnipotent, can he create a rock so heavy that he himself will not be able to lift? If this is the case and can not lift the rock, then it will not be ... The Almighty he will only ever been?
Simpson variant: is it that Jesus is able to cook a pizza in the microwave and cook to the point of making it even burning for him? A question worth asking.

The prisoner's dilemma

Two accomplices were arrested suspected of wrongdoing. The police told them that if both confess the crime, they take each for 3 years, but if one confesses the crime, it will take 10 years and the other will be free, however, if they come to s accuse each other, they will each for 15 years. Intuition would they agree, game theory argue that they take 15 years each. For all practical purposes, if you ever find yourself in this situation, know that the culprit is Obi-Wan Kenobi.

The time paradox

You travel in the past, you kill your grandfather by accident and sleep with your grandmother ... You then become your own grandfather ... What is this if not a paradox even more twisted version of the Oedipus complex ...
The paradoxical syllogism

"The more Gruyere, the more holes, the more holes, the less Gruyere, therefore, the greater the Gruyere, the less gruyere" That's it.

The paradox of the liar, for Eubulides

"I said that lies"
If my statement is true, it is false that I told lies. If my sentence is false, it is true that I said that mensonges.En 270 BC. JC. The Philetas poet died Cos insomnia obsessed with this paradox.
Good night.

The Paradox of the archer

Among my bow and my target, there are 10 meters. Once I would have shot the arrow will travel half the distance. Then again half the remaining distance. Then again half the remaining distance ... and so on, the arrow is going to go through endless distances certainly becoming shorter, but not zero. A sum to infinity of non-zero distances, but that does exactly 10 meters?