id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

frew@mclean.com > velocity
prev  |  next  |  chance

Determine the velocity given the kinetic energy and the mass. The formula is: velocity = square root (twice kinetic energy divided by mass)


velocity(62.5, 0.2) → 25.0
velocity(100.0, 8.0) → 5.0
velocity(147000.0, 1500.0) → 14.0

...Save, Compile, Run (ctrl-enter)

public double velocity(double kinetic, double mass) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 100

Copyright Nick Parlante 2017 - privacy