12.07.2015 Views

MATHEMATIQUES Cahier du professeur - Académie de Montpellier

MATHEMATIQUES Cahier du professeur - Académie de Montpellier

MATHEMATIQUES Cahier du professeur - Académie de Montpellier

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Programme 1 Programme 2Choisir un nombre.Retrancher 1 ;Multiplier le résultat par ledouble <strong>du</strong> nombre choisi ;Multiplier par 2 ;Donner le résultatChoisir un nombre.Soustraire 1 au double <strong>du</strong>nombre choisi ;Elever le résultat au carréRetrancher 1.Donner le résultata) Utiliser la calculatrice pour compléter le tableau suivant :b) Que constate-t-on ? Démontrer.Nombre choisi Programme 1 Programme 2110-30,1-0,3-0,01Exemple 6 :Voici <strong>de</strong>ux programmes <strong>de</strong> calcul.Programme 1 Programme 2Choisir un nombre.Elever ce nombre au carré ;Retrancher au résultat le double <strong>du</strong>nombre <strong>de</strong> départ ;Donner le résultatChoisir un nombre.Lui retrancher 1 ;Elever le résultat au carréRetrancher 1 au résultat trouvé.Donner le résultata) Compléter les écritures <strong>de</strong> ces <strong>de</strong>ux programmes dans le langage Algobox puis compléter letableau <strong>de</strong> valeurs :Programme 1 Programme 2VARIABLESx EST_DU_TYPE NOMBREa EST_DU_TYPE NOMBREb EST_DU_TYPE NOMBREc EST_DU_TYPE NOMBREDEBUT_ALGORITHMELIRE xa PREND_LA_VALEUR pow(x,2)b PREND_LA_VALEUR 2*xc PREND_LA_VALEUR ……AFFICHER "c="AFFICHER cFIN_ALGORITHMEVARIABLESx EST_DU_TYPE NOMBREa EST_DU_TYPE NOMBREb EST_DU_TYPE NOMBREc EST_DU_TYPE NOMBREDEBUT_ALGORITHMELIRE xa PREND_LA_VALEUR x - 1b PREND_LA_VALEUR ………c PREND_LA_VALEUR ………AFFICHER "c="AFFICHER cFIN_ALGORITHME40

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!