1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Viktor [21]
4 years ago
8

Create an application in VB that allows the user to enter an object’s mass, velocity, and height and displays the object’s KE an

d PE. The application should have a two functions: KineticEnergy that accepts an object’s mass (kilograms) and velocity (meters/second) as arguments and PotentialEnergy that accepts an object’s mass (kilograms), acceleration due to gravity (m/s2 ), and height (meters) as arguments. The function should return the objects KE and PE (3 decimal places).
Engineering
1 answer:
yanalaym [24]4 years ago
3 0

Answer:

see explaination

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

You might be interested in
Construction support involves mostly what kind of work?
Paraphin [41]

Answer:

Outdoors

Explanation:

Construction workers perform outdoors.

6 0
2 years ago
A number 12 copper wire has a diameter of 2.053 mm. Calculate the resistance of a 37.0 m long piece of such wire.
Alinara [238K]

Answer:

R=1923Ω

Explanation:

Resistivity(R) of copper wire at 20 degrees Celsius is 1.72x10^-8Ωm.

Coil length(L) of the wire=37.0m

Cross-sectional area of the conductor or wire (A) = πr^2

A= π * (2.053/1000)/2=3.31*10^-6

To calculate for the resistance (R):

R=ρ*L/A

R=(1.72*10^8)*(37.0)/(3.31*10^-6)

R=1922.65Ω

Approximately, R=1923Ω

5 0
3 years ago
What does the supply chain management process involve
VMariaS [17]

Answer:

It involves the active streamlining of a business's supply-side activities to maximize customer value and gain a competitive advantage in the marketplace

Explanation:

Supply chain management is the management of the flow of goods and services and includes all processes that transform raw materials into final products.

5 0
3 years ago
A well insulated rigid tank contains 4 kg of argon gas at 450 kPa and 30 C. A valve is opened, allowing the argon to escape unti
natima [27]

Answer:

Final mass of Argon=  2.46 kg

Explanation:

Initial mass of Argon gas ( M1 ) = 4 kg

P1 = 450 kPa

T1 = 30°C = 303 K

P2 = 200 kPa

k ( specific heat ratio of Argon ) = 1.667

assuming a reversible adiabatic process

<u>Calculate the value of the M2 </u>

Applying ideal gas equation ( PV = mRT )

P₁V / P₂V = m₁ RT₁ / m₂ RT₂

hence : m2 = P₂T₁ / P₁T₂ * m₁

                   = (200 * 303 ) / (450 * 219 ) * 4

                   = 2.46 kg

<em>Note: Calculation for T2 is attached below</em>

5 0
3 years ago
Drag each tile to the correct box.
Trava [24]

Answer:

Bluray

DVD

CD

Explanation:

Blu ray can hold 25gb per layer

Dvd can hold 4.7GB on a single layer

Cd can hold around 737 mb

Also, dvds can go up to 2 layers

Blu ray can go up to 4

6 0
4 years ago
Other questions:
  • 6.15. In an attempt to conserve water and to be awarded LEED (Leadership in Energy and Environmental Design) certification, a 20
    14·1 answer
  • What is the zone that has just been added to the exchange zone where athletes may now hand off the baton
    5·1 answer
  • write an interface downloadable that has a method "geturl" that returns the url of a downloadable object
    5·1 answer
  • Under conditions for which the same roojm temperature is mainteined bt a heating or cooling system, it is not uncommon for a per
    10·1 answer
  • Which is the correct definition of schematic? a type of computer program that project managers use to track engineers on a proje
    13·1 answer
  • Technician A says that the distributor cap provides a connection point between the rotor and each individual cylinder plug wire.
    10·1 answer
  • A___ remote control can be an advantage to an
    14·2 answers
  • Consider the function f(x)=/x/
    5·1 answer
  • Which explanation best summarizes what went wrong during Paul’s cost analysis?
    14·1 answer
  • A composite plane wall consists of a 5-in.-thick layer of insulation (ks = 0.029 Btu/h*ft*°R) and a 0.75-in.-thick layer of sidi
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!