Programme casio
jojomisterjo
Messages postés
646
Statut
Membre
-
bjour Messages postés 8544 Date d'inscription Statut Contributeur Dernière intervention -
bjour Messages postés 8544 Date d'inscription Statut Contributeur Dernière intervention -
Bonsoir,
Quelqu'un peut-il me dire où est l'erreur dans le prog suivant (je pense qu'elle est au début)
Il est affiché "erreur de syntaxe"
Lbl 0
Cls
AxesOff
ViewWindow 0,128,128,0,64,64
@F-Line 3,10,3,57
@Horizontal 1
@Horizontal 8
@Horizontal 59
Text 1,1,"CIRCUITS RLC"
Text 8,9,"[1] DEFINITION"
Text 14,9,"[2] MONTAGE CLASSIQUE"
Text 20,9,"[3] REGIMES"
Text 26,9,"[4] EQUATIONS DIFFERENTIELLES"
Text 32,9,"[5] TENSION CONDENSATEUR"
Text 38,9,"[6] PERIODE"
Text 44,9,"[7] ENERGIE"
Text 50,9,"[8] DIPOLE D"
Do
Getkey
LpWhile Ans=0
AxesOff
Cls
@Horizontal 58
@Text 58,25,"[EXE]:RETOUR MENU"
Ans=72ãGoto 1
Ans=62ãGoto 2
Ans=52ãGoto 3
Ans=73ãGoto 4
Ans=63ãGoto 5
Ans=53ãGoto 6
Ans=74ãGoto 7
Ans=64ãGoto 8
Goto 0
Lbl 1
Text 1,1,"DEFINITION CIRCUIT RLC"
Text 10,1,"Un circuit RLC est constitue"
Text 16,1,"de l'association d'un "
Text 22,1,"condensateur, d'une bobine"
Text 28,1,"et d'une resistan ce"Ý
Goto 0
Lbl 2
Text 1,5,"MONTAGE CLASSIQUE CIRCUIT RLC"
Text 40,1,"pos K™1 : charge condensateur"
Text 46,1,"pos K™2 : decharge oscillante"
Text 12,62,"R"
Text 19,37,"K"
Text 25,22,"C"
Text 25,87,"L,r"
Text 9,40,"2"
Text 9,30,"1"
Text 30,1,"U"
Text 25,117,"Ul"
Text 25,47,"Uc"
Text 9,12,"i"
Text 24,60,"Ur"
F-Line 60,42,62,40
F-Line 60,42,62,44
F-Line 60,42,70,42
F-Line 20,50,15,53
F-Line 20,50,15,47
F-Line 115,35,115,45
F-Line 115,45,113,43
F-Line 115,45,117,43
F-Line 4,35,4,45
F-Line 4,45,2,43
F-Line 4,45,6,43
F-Line 10,50,10,30
F-Line 10,50,30,50
F-Line 40,50,60,50
F-Line 60,45,60,55
F-Line 60,45,70,45
F-Line 60,55,70,55
F-Line 70,45,70,55
F-Line 70,50,100,50
F-Line 100,50,100,45
F-Line 100,45,104,43
F-Line 104,42,100,40
F-Line 100,40,104,38
F-Line 104,37,100,35
F-Line 100,35,104,33
F-Line 104,32,100,30
F-Line 100,30,10,30
F-Line 28,40,42,40
F-Line 28,36,42,36
F-Line 35,35,35,30
F-Line 45,35,45,45
F-Line 45,45,43,43
F-Line 45,45,47,43
F-Line 35,40,35,45
F-Line 35,47,35,50
Circle 10,40,5Ý
Goto 0
Lbl 3
Text 1,5,"REGIMES"
@Text 10,1,">> PSEUDO PERIODIQUE"
Text 16,1,"La tension diminue tout en"
Text 22,1,"oscillant."
@Text 30,1,">> APERIODIQUE"
Text 36,1,"La tension diminue puis"
Text 42,1,"s'annule sans osciller"
Text 48,1,"pour des valeurs elevees de R"Ý
Goto 0
Lbl 4
Text 1,5,"EQUATIONS DIFFERENTIELLES"
@Text 10,1,"POUR LES CIRCUIT LC (R‰r=0) !!!"
Text 16,1,">> avec Uc :"
@Text 22,1,"d‹Uc Uc"
@Text 30,1,"dt‹ LC"
@Text 26,21,"‰"
@Text 26,50,"= 0"
Text 36,1,">> avec q (charge condensateur)"
@Text 42,1,"d‹q q"
@Text 50,1,"dt‹ LC"
@Text 46,21,"‰"
@Text 46,50,"= 0"
@F-Line 1,15,17,15
@F-Line 27,15,37,15
@F-Line 1,36,17,36
@F-Line 27,36,37,36Ý
Goto 0
Lbl 5
Text 1,5,"EN RESOLVANT L'EQD :"
@Text 10,1,"Uc(t) = U.cos [2Щt¹To]"
@Text 18,1,"q(t) = Q.cos [2Щt¹To]"
@Text 26,1,"i(t) = I.cos [2Щt¹To ‰ й2]"
Text 34,1,"Uc et U en volts (V)"
Text 40,1,"i et I en A"
Text 46,1,"q et Q en coulomb (C)"
Text 52,1,"t et To en s"Ý
Goto 0
Lbl 6
Text 1,5,"PERIODE To "
@Text 10,1,"To = 2І(LC)"
Text 20,1,"To en secondes (s)"
Text 26,1,"L inductan ce en Henry (H)"
Text 32,1,"C capacite en farad (F)"
@Text 48,1,"Circuit RLC peu amorti : T=To"Ý
Goto 0
Lbl 7
Text 1,5,"ENERGIE"
@Text 10,1,"Et = 0,5©L©I‹ = 0,5Q‹¹C"
Text 20,1,"Et energie totale en J"
Text 26,1,"L inductan ce en henry (H)"
Text 32,1,"I courant max en ampere (A)"
Text 38,1,"C capacite en farad (F)"
Text 44,1,"Q charge max en Coulomb (C)"Ý
Goto 0
Lbl 8
Text 1,5,"DIPOLE D"
@Text 8,1,"composant principal :"
@Text 14,1,">> amplificateur operationnel"
Text 20,1,"Le dipole D se comporte c une"
Text 26,1,"resistce negative de m valeur"
Text 32,1,"abs. que celle du circuit RLC"
@Text 38,1,"Le dipole D fournit au circ. la"
@Text 44,1,"puissce perdue par effet Joule"
@Text 50,1,"ã oscillations entretenues"Ý
Goto 0
Quelqu'un peut-il me dire où est l'erreur dans le prog suivant (je pense qu'elle est au début)
Il est affiché "erreur de syntaxe"
Lbl 0
Cls
AxesOff
ViewWindow 0,128,128,0,64,64
@F-Line 3,10,3,57
@Horizontal 1
@Horizontal 8
@Horizontal 59
Text 1,1,"CIRCUITS RLC"
Text 8,9,"[1] DEFINITION"
Text 14,9,"[2] MONTAGE CLASSIQUE"
Text 20,9,"[3] REGIMES"
Text 26,9,"[4] EQUATIONS DIFFERENTIELLES"
Text 32,9,"[5] TENSION CONDENSATEUR"
Text 38,9,"[6] PERIODE"
Text 44,9,"[7] ENERGIE"
Text 50,9,"[8] DIPOLE D"
Do
Getkey
LpWhile Ans=0
AxesOff
Cls
@Horizontal 58
@Text 58,25,"[EXE]:RETOUR MENU"
Ans=72ãGoto 1
Ans=62ãGoto 2
Ans=52ãGoto 3
Ans=73ãGoto 4
Ans=63ãGoto 5
Ans=53ãGoto 6
Ans=74ãGoto 7
Ans=64ãGoto 8
Goto 0
Lbl 1
Text 1,1,"DEFINITION CIRCUIT RLC"
Text 10,1,"Un circuit RLC est constitue"
Text 16,1,"de l'association d'un "
Text 22,1,"condensateur, d'une bobine"
Text 28,1,"et d'une resistan ce"Ý
Goto 0
Lbl 2
Text 1,5,"MONTAGE CLASSIQUE CIRCUIT RLC"
Text 40,1,"pos K™1 : charge condensateur"
Text 46,1,"pos K™2 : decharge oscillante"
Text 12,62,"R"
Text 19,37,"K"
Text 25,22,"C"
Text 25,87,"L,r"
Text 9,40,"2"
Text 9,30,"1"
Text 30,1,"U"
Text 25,117,"Ul"
Text 25,47,"Uc"
Text 9,12,"i"
Text 24,60,"Ur"
F-Line 60,42,62,40
F-Line 60,42,62,44
F-Line 60,42,70,42
F-Line 20,50,15,53
F-Line 20,50,15,47
F-Line 115,35,115,45
F-Line 115,45,113,43
F-Line 115,45,117,43
F-Line 4,35,4,45
F-Line 4,45,2,43
F-Line 4,45,6,43
F-Line 10,50,10,30
F-Line 10,50,30,50
F-Line 40,50,60,50
F-Line 60,45,60,55
F-Line 60,45,70,45
F-Line 60,55,70,55
F-Line 70,45,70,55
F-Line 70,50,100,50
F-Line 100,50,100,45
F-Line 100,45,104,43
F-Line 104,42,100,40
F-Line 100,40,104,38
F-Line 104,37,100,35
F-Line 100,35,104,33
F-Line 104,32,100,30
F-Line 100,30,10,30
F-Line 28,40,42,40
F-Line 28,36,42,36
F-Line 35,35,35,30
F-Line 45,35,45,45
F-Line 45,45,43,43
F-Line 45,45,47,43
F-Line 35,40,35,45
F-Line 35,47,35,50
Circle 10,40,5Ý
Goto 0
Lbl 3
Text 1,5,"REGIMES"
@Text 10,1,">> PSEUDO PERIODIQUE"
Text 16,1,"La tension diminue tout en"
Text 22,1,"oscillant."
@Text 30,1,">> APERIODIQUE"
Text 36,1,"La tension diminue puis"
Text 42,1,"s'annule sans osciller"
Text 48,1,"pour des valeurs elevees de R"Ý
Goto 0
Lbl 4
Text 1,5,"EQUATIONS DIFFERENTIELLES"
@Text 10,1,"POUR LES CIRCUIT LC (R‰r=0) !!!"
Text 16,1,">> avec Uc :"
@Text 22,1,"d‹Uc Uc"
@Text 30,1,"dt‹ LC"
@Text 26,21,"‰"
@Text 26,50,"= 0"
Text 36,1,">> avec q (charge condensateur)"
@Text 42,1,"d‹q q"
@Text 50,1,"dt‹ LC"
@Text 46,21,"‰"
@Text 46,50,"= 0"
@F-Line 1,15,17,15
@F-Line 27,15,37,15
@F-Line 1,36,17,36
@F-Line 27,36,37,36Ý
Goto 0
Lbl 5
Text 1,5,"EN RESOLVANT L'EQD :"
@Text 10,1,"Uc(t) = U.cos [2Щt¹To]"
@Text 18,1,"q(t) = Q.cos [2Щt¹To]"
@Text 26,1,"i(t) = I.cos [2Щt¹To ‰ й2]"
Text 34,1,"Uc et U en volts (V)"
Text 40,1,"i et I en A"
Text 46,1,"q et Q en coulomb (C)"
Text 52,1,"t et To en s"Ý
Goto 0
Lbl 6
Text 1,5,"PERIODE To "
@Text 10,1,"To = 2І(LC)"
Text 20,1,"To en secondes (s)"
Text 26,1,"L inductan ce en Henry (H)"
Text 32,1,"C capacite en farad (F)"
@Text 48,1,"Circuit RLC peu amorti : T=To"Ý
Goto 0
Lbl 7
Text 1,5,"ENERGIE"
@Text 10,1,"Et = 0,5©L©I‹ = 0,5Q‹¹C"
Text 20,1,"Et energie totale en J"
Text 26,1,"L inductan ce en henry (H)"
Text 32,1,"I courant max en ampere (A)"
Text 38,1,"C capacite en farad (F)"
Text 44,1,"Q charge max en Coulomb (C)"Ý
Goto 0
Lbl 8
Text 1,5,"DIPOLE D"
@Text 8,1,"composant principal :"
@Text 14,1,">> amplificateur operationnel"
Text 20,1,"Le dipole D se comporte c une"
Text 26,1,"resistce negative de m valeur"
Text 32,1,"abs. que celle du circuit RLC"
@Text 38,1,"Le dipole D fournit au circ. la"
@Text 44,1,"puissce perdue par effet Joule"
@Text 50,1,"ã oscillations entretenues"Ý
Goto 0
A voir également:
- Programme casio
- Programme demarrage windows - Guide
- Programme word gratuit - Guide
- Message programmé - Guide
- Mettre en veille un programme - Guide
- Desinstaller un programme - Guide