I’m in 6th grade I’m sorry
Answer:
V3 = 6.48V
Explanation:
given 12 volts or V = 12V
you need to find the (I) Amps flowing through the total resistors (R) in circuit
R = R1 + R2 + R3
R = 15 + 25 + 47 = 87
the equation to solve for I (Amps) comes from
V = I*R
I = V / R = 12 / 87 = 0.14 Amps
To find the voltage across any resistor R3
V3 = I*R3 = 0.14 *47 = 6.48V
I hope this helps
Answer:
VBA CODE:
Sub wxEx2()
'''''' Question b''''''''
' Making the sheet active
wsEx2.Activate
'''''' Question c''''''''
' Setting range
Dim r1, Scores As Range
Set r1 = Sheets("Problem 2").Range("A2:A10")
'''''' Question d''''''''
' Set range Scores
Set Scores = Sheets("Problem 3").Range("B6:B14")
'''''' Question e''''''''
' Weighted average
Dim val As Double
Sheets("Problem 2").Range("A12").Value = Application.WorksheetFunction.SumProduct(r1, Scores) / Application.WorksheetFunction.Sum(Scores)
'''''' Question f''''''''
' Chane background color
Sheets("Problem 2").Range("A12").Interior.ColorIndex = 4
'''''' Question g''''''''
' Make italic bold
Sheets("Problem 2").Range("A12").Font.Bold = True
Sheets("Problem 2").Range("A12").Font.Italic = True
End Sub
Answer:
- def processString(sentence):
- middle = len(sentence) // 2
- output = sentence[0: middle - 5] + sentence[middle+5:]
- return output
-
- print(processString("I have a dream"))
Explanation:
Create a function processString that take sentence as input paratemer (Line 1).
Next create a variable middle to hold the value of middle index of sentence string (Line 2)
Build the output string by slicing the input sentence from first character to character middle - 5th and from middle + 5th till the end of the string (Line 3).
Test the function using a sample sentence and we shall get the output "I am"
OA bloom is smaller than a bar