SlideShare ist ein Scribd-Unternehmen logo
1 von 2
 ECUACION DE PRIMER GRADO Y = Ax + B:
Private sub command1_ click ( )
text1 = “ “
text2 = “ “
text3 = “ “·
text4 = “ “
End sub
Private sub command2_ click ( )
End
End sub
Private sub command3_ click ( )
Din a As Double
Din b As Double
Din x As Double
a = Val (text1)
b = Val (text2)
x = Val (text3)
             y=a*x+b
text4.text = y
text5.text = “y “& Val (text 1) & Val (text 2)
End sub

 FORMULA DE PITAGORAS:
Private sub command1 _click ( )
Din A As Double
Din B As Double
    A = Val (text1)
    B = Val (text2)
    C = sqr ( (A * A ) + ( B * B ) )
Text3 .text = C
End sub
Private sub command2_: click ( )
Din B As Double
Din C As Double
      B = Val (text1)
      C = Val (text2)
      A =sqr ( (C * C ) - ( B * B) )
Text3.text = A
End sub

Privates ub command_clicjk ( )
Din A As Double
Din B As Double
   A = val (text1 )
   C = val ( text3 )
    B = sqr ( ( c * c ) - (A * A) )
Text2.text = B
End sub
Private sub command4_ click ( )
IgText1.text = “ “
Text2 .text= “ “
Text3. Text = “ “
End sub
Private sub command5_ click ( )
End
End sub
 PROMEDIO DE UN ALUMNO:
Private sub command click ( )
End
End sub
Private sub command _click ( )
Text1 = “ “
Text2 = “ “
Text5 = “ “
Text3 = “ {Enter } “
Text4 = “ ¿aprovaras ? “
Text4 .forecolor = RGB ( 25, 10 , 225 )
End sub
Private sub text3_keypress (keyacii As Integer)
 Num = CDb ( ( Val (text1.text) + val (text2.text ) +val
(text5)) /3)
If keyAcii = 13 then
Text3.text = str (Num)
Text3.forecolor = IIf (Num >= 10.5, RGB (0, 0,225), RGB
(225, 0,0))
Text4.text = IIf (Num > = 10.5, “aprovado “,
“desaprobado” )
Text4. forecolor = IIf (Num > = 10.5,RGB(0, 0,225,RGB
(225, 0, 0 ) )
End If
End sub

Weitere ähnliche Inhalte

Was ist angesagt?

โจทย์ปัญหา Pbl8.1
โจทย์ปัญหา Pbl8.1โจทย์ปัญหา Pbl8.1
โจทย์ปัญหา Pbl8.1
anusong
 
เธเธฒเธฃเน€เธ‚ เธขเธ™เธ„เธณเธช _เธ‡เธ„เธงเธšเธ„_เธกเธ‚__เธ™เธž__เธ™เธเธฒเธ™
เธเธฒเธฃเน€เธ‚ เธขเธ™เธ„เธณเธช _เธ‡เธ„เธงเธšเธ„_เธกเธ‚__เธ™เธž__เธ™เธเธฒเธ™เธเธฒเธฃเน€เธ‚ เธขเธ™เธ„เธณเธช _เธ‡เธ„เธงเธšเธ„_เธกเธ‚__เธ™เธž__เธ™เธเธฒเธ™
เธเธฒเธฃเน€เธ‚ เธขเธ™เธ„เธณเธช _เธ‡เธ„เธงเธšเธ„_เธกเธ‚__เธ™เธž__เธ™เธเธฒเธ™
Boom Baphomet
 
การเข ยนคำส _งควบค_มข__นพ__นฐาน (1)
การเข ยนคำส _งควบค_มข__นพ__นฐาน (1)การเข ยนคำส _งควบค_มข__นพ__นฐาน (1)
การเข ยนคำส _งควบค_มข__นพ__นฐาน (1)
HamHam' Kc
 

Was ist angesagt? (17)

Página 115
Página 115Página 115
Página 115
 
Elf文件解析
Elf文件解析Elf文件解析
Elf文件解析
 
Plot3D Package and Example in R.-Data visualizat,on
Plot3D Package and Example in R.-Data visualizat,onPlot3D Package and Example in R.-Data visualizat,on
Plot3D Package and Example in R.-Data visualizat,on
 
How i won a golf set from reg.ru
How i won a golf set from reg.ruHow i won a golf set from reg.ru
How i won a golf set from reg.ru
 
Freeing Tower Bridge
Freeing Tower BridgeFreeing Tower Bridge
Freeing Tower Bridge
 
Vb
VbVb
Vb
 
Oopsprc1e
Oopsprc1eOopsprc1e
Oopsprc1e
 
Coding with Vim
Coding with VimCoding with Vim
Coding with Vim
 
Clang2018 class3
Clang2018 class3Clang2018 class3
Clang2018 class3
 
โจทย์ปัญหา Pbl8.1
โจทย์ปัญหา Pbl8.1โจทย์ปัญหา Pbl8.1
โจทย์ปัญหา Pbl8.1
 
Vcs29
Vcs29Vcs29
Vcs29
 
Finagle By Twitter Engineer @ Knoldus
Finagle By Twitter Engineer @ KnoldusFinagle By Twitter Engineer @ Knoldus
Finagle By Twitter Engineer @ Knoldus
 
Ooprc4 b
Ooprc4 bOoprc4 b
Ooprc4 b
 
Cmptr ass
Cmptr assCmptr ass
Cmptr ass
 
正規表現のいろは
正規表現のいろは正規表現のいろは
正規表現のいろは
 
เธเธฒเธฃเน€เธ‚ เธขเธ™เธ„เธณเธช _เธ‡เธ„เธงเธšเธ„_เธกเธ‚__เธ™เธž__เธ™เธเธฒเธ™
เธเธฒเธฃเน€เธ‚ เธขเธ™เธ„เธณเธช _เธ‡เธ„เธงเธšเธ„_เธกเธ‚__เธ™เธž__เธ™เธเธฒเธ™เธเธฒเธฃเน€เธ‚ เธขเธ™เธ„เธณเธช _เธ‡เธ„เธงเธšเธ„_เธกเธ‚__เธ™เธž__เธ™เธเธฒเธ™
เธเธฒเธฃเน€เธ‚ เธขเธ™เธ„เธณเธช _เธ‡เธ„เธงเธšเธ„_เธกเธ‚__เธ™เธž__เธ™เธเธฒเธ™
 
การเข ยนคำส _งควบค_มข__นพ__นฐาน (1)
การเข ยนคำส _งควบค_มข__นพ__นฐาน (1)การเข ยนคำส _งควบค_มข__นพ__นฐาน (1)
การเข ยนคำส _งควบค_มข__นพ__นฐาน (1)
 

Andere mochten auch

what is a photomask
what is a photomaskwhat is a photomask
what is a photomask
Kevin Cook
 
Dawn of the dead
Dawn of the deadDawn of the dead
Dawn of the dead
Dansmad123
 
Grandes matemáticos
Grandes matemáticosGrandes matemáticos
Grandes matemáticos
Miguee Lopez
 
anbefaling Kamilla Meyer fra mette
anbefaling Kamilla Meyer fra metteanbefaling Kamilla Meyer fra mette
anbefaling Kamilla Meyer fra mette
Kamilla Meyer
 
Survival 101
Survival 101Survival 101
Survival 101
jones578
 
Designing HP Data Center and Cloud Solutions
Designing HP Data Center and Cloud SolutionsDesigning HP Data Center and Cloud Solutions
Designing HP Data Center and Cloud Solutions
David Farinola
 
TDC Cloud Integration framework
TDC Cloud Integration frameworkTDC Cloud Integration framework
TDC Cloud Integration framework
Sushil Deshpande
 

Andere mochten auch (17)

Neostrata Skin Active
Neostrata Skin ActiveNeostrata Skin Active
Neostrata Skin Active
 
what is a photomask
what is a photomaskwhat is a photomask
what is a photomask
 
Dawn of the dead
Dawn of the deadDawn of the dead
Dawn of the dead
 
Curso actualización lingüística_2014
Curso actualización lingüística_2014Curso actualización lingüística_2014
Curso actualización lingüística_2014
 
Enlaces quimicos
Enlaces quimicosEnlaces quimicos
Enlaces quimicos
 
Grandes matemáticos
Grandes matemáticosGrandes matemáticos
Grandes matemáticos
 
Educación 2.0
Educación 2.0Educación 2.0
Educación 2.0
 
Darien barrett 55
Darien barrett 55Darien barrett 55
Darien barrett 55
 
The where of health care matters
The where of health care mattersThe where of health care matters
The where of health care matters
 
anbefaling Kamilla Meyer fra mette
anbefaling Kamilla Meyer fra metteanbefaling Kamilla Meyer fra mette
anbefaling Kamilla Meyer fra mette
 
Survival 101
Survival 101Survival 101
Survival 101
 
Designing HP Data Center and Cloud Solutions
Designing HP Data Center and Cloud SolutionsDesigning HP Data Center and Cloud Solutions
Designing HP Data Center and Cloud Solutions
 
TDC Cloud Integration framework
TDC Cloud Integration frameworkTDC Cloud Integration framework
TDC Cloud Integration framework
 
25
2525
25
 
Nerea
Nerea Nerea
Nerea
 
Fichamento pedro
Fichamento pedroFichamento pedro
Fichamento pedro
 
Foda
FodaFoda
Foda
 

Mehr von Ivan Ramirez Iglesias (9)

Belga 1
Belga 1Belga 1
Belga 1
 
42061 física i- trabajos prácticos 1998
42061  física i- trabajos prácticos 199842061  física i- trabajos prácticos 1998
42061 física i- trabajos prácticos 1998
 
Manualcpp
ManualcppManualcpp
Manualcpp
 
Intro c
Intro cIntro c
Intro c
 
Diagramas de flujo
Diagramas de flujoDiagramas de flujo
Diagramas de flujo
 
Desarrollando con visual studio
Desarrollando con visual studioDesarrollando con visual studio
Desarrollando con visual studio
 
Pract met de la program templa
Pract met de la program templaPract met de la program templa
Pract met de la program templa
 
Jbpm user-guide-spanish
Jbpm user-guide-spanishJbpm user-guide-spanish
Jbpm user-guide-spanish
 
108091 prog formativo_ii
108091 prog formativo_ii108091 prog formativo_ii
108091 prog formativo_ii
 

Ececececuacion de primer grado y

  • 1.  ECUACION DE PRIMER GRADO Y = Ax + B: Private sub command1_ click ( ) text1 = “ “ text2 = “ “ text3 = “ “· text4 = “ “ End sub Private sub command2_ click ( ) End End sub Private sub command3_ click ( ) Din a As Double Din b As Double Din x As Double a = Val (text1) b = Val (text2) x = Val (text3) y=a*x+b text4.text = y text5.text = “y “& Val (text 1) & Val (text 2) End sub  FORMULA DE PITAGORAS: Private sub command1 _click ( ) Din A As Double Din B As Double A = Val (text1) B = Val (text2) C = sqr ( (A * A ) + ( B * B ) ) Text3 .text = C End sub Private sub command2_: click ( ) Din B As Double Din C As Double B = Val (text1) C = Val (text2) A =sqr ( (C * C ) - ( B * B) ) Text3.text = A End sub Privates ub command_clicjk ( ) Din A As Double Din B As Double A = val (text1 ) C = val ( text3 ) B = sqr ( ( c * c ) - (A * A) ) Text2.text = B End sub
  • 2. Private sub command4_ click ( ) IgText1.text = “ “ Text2 .text= “ “ Text3. Text = “ “ End sub Private sub command5_ click ( ) End End sub  PROMEDIO DE UN ALUMNO: Private sub command click ( ) End End sub Private sub command _click ( ) Text1 = “ “ Text2 = “ “ Text5 = “ “ Text3 = “ {Enter } “ Text4 = “ ¿aprovaras ? “ Text4 .forecolor = RGB ( 25, 10 , 225 ) End sub Private sub text3_keypress (keyacii As Integer) Num = CDb ( ( Val (text1.text) + val (text2.text ) +val (text5)) /3) If keyAcii = 13 then Text3.text = str (Num) Text3.forecolor = IIf (Num >= 10.5, RGB (0, 0,225), RGB (225, 0,0)) Text4.text = IIf (Num > = 10.5, “aprovado “, “desaprobado” ) Text4. forecolor = IIf (Num > = 10.5,RGB(0, 0,225,RGB (225, 0, 0 ) ) End If End sub