PRO-SERIES CIRCUIT

May 7th, 2015
Studypool Tutor
Price: $10 USD

Tutor description

Public sourceVoltage, inputResistor1, inputResistor2, inputResistor3, inputResistor4 As Double Public totalResistor, totalPower, totalVoltage, totalCurrent, voltage1, voltage2, voltage3, voltage4 As Double Public outputVoltage1, outputVoltage2, outputVoltage3, outputVoltage4 As Double

Word Count: 669
Showing Page: 1/5
PROSERIES CIRCUITPublic Class InputsPublic sourceVoltage, inputResistor1, inputResistor2, inputResistor3, inputResistor4 As Double Public totalResistor, totalPower, totalVoltage, totalCurrent, voltage1, voltage2, voltage3, voltage4 As Double Public outputVoltage1, outputVoltage2, outputVoltage3, outputVoltage4 As DoublePrivate Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.LoadEnd SubPrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles calculate.ClicksourceVoltage = Val(txtvoltage.Text)inputResistor1 = Val(txtresistor1.Text)inputResistor2 = Val(txtresistor2.Text)inputResistor3 = Val(txtresistor3.Text)inputResistor4 = Val(txtresistor4.Text)totalResistor = inputResistor1 + inputResistor2 + inputResistor3 + inputResistor4 totalPower = (sourceVoltage * sourceVoltage) / totalResistor totalVoltage = sourceVoltagetotalCurrent = totalVoltage / totalResistorvoltage1 = inputResistor1 * totalCurrentvoltage2 = inputResistor2 * totalCurrentvoltage3 = inputResistor3 * totalCurrentvoltage4 = inputResistor4 * totalCurrentResults.Show()End SubPrivate Sub txtvoltage_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtvoltage.TextChangedEnd SubEnd ClassSIMPLE CALCULATORPublic Class Form1Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click MsgBox(Val(TextBox1.Text) + Val(TextBox2.Text))End SubPrivate Sub Button

Review from student

Studypool Student
" Outstanding Job!!!! "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1822 tutors are online

Other Documents

05/07/2015
05/07/2015
05/07/2015
05/07/2015
05/07/2015

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors