Answer:
see explaination
Step-by-step explanation:
Module VBModule
Function KineticEnergy(ByVal mass As Decimal, ByVal velocity As Decimal) As Decimal
Dim result As Decimal
result = 0.5*mass*velocity*velocity
KineticEnergy = result
End Function
Sub Main()
Dim mass = Console.ReadLine()
Dim velocity = Console.ReadLine()
Console.WriteLine(FormatNumber(CDbl(KineticEnergy(mass,velocity)), 3))
End Sub
End Module