Professional Documents
Culture Documents
Programación
Tarea Nº6
Tema:
Vigas
Nombre:
Dayana Castrejón
Cédula:
8-922-714
Grupo:
1IC124
Profesor:
Emilio Batista
Fecha:
Junio 25,2017
Tarea Nº6
Vigas
L = Val(TextBox1.Text)
P = Val(TextBox2.Text)
W1 = Val(TextBox3.Text)
W2 = Val(TextBox4.Text)
If RadioButton1.Checked Then
If CheckBox1.Checked Then
RAy = P * (L / 2) * (1 / L)
RB = P * (L / 2) * (1 / L)
MA = RAy - RB
End If
End If
If RadioButton1.Checked Then
If CheckBox2.Checked Then
RAy = P
MA = P * (L / 2)
End If
End If
If RadioButton2.Checked Then
If CheckBox1.Checked Then
RAy = (W1 * L) * (L / 2) * (1 / L)
RB = (W1 * L) * (L / 2) * (1 / L)
MA = RAy - RB
End If
End If
If RadioButton2.Checked Then
If CheckBox2.Checked Then
RAy = W1 * L
MA = (W1 * L) * (L / 2)
End If
End If
If RadioButton3.Checked Then
If CheckBox1.Checked Then
RAy = ((W2 * L) / 2) * (L / 2) * (1 / L)
RB = ((W2 * L) / 2) * (L / 2) * (1 / L)
MA = RAy - RB
End If
End If
If RadioButton3.Checked Then
If CheckBox2.Checked Then
RAy = (W2 * L) / 2
MA = ((W2 * L) / 2) * (L / 2)
End If
End If
TextBox5.Text = MA
TextBox6.Text = RAy
TextBox7.Text = RB
End Sub
End Class
3. Programa Ejecutado