/**
 * This function calculates the final velocity of a rock given its initial velocity, acceleration, and time.
 */
fun calculateRockVelocity(initVelocity: Double, acceleration: Double, time: Double): Double {

    // Calculate final velocity
    val finalVelocity = initVelocity + (acceleration * time)
    
    // Return the final velocity
    return finalVelocity
}
/**
 * This function calculates the final velocity of a rock given its initial velocity, acceleration, and time.
 */
fun calculateRockVelocity(initVelocity: Double, acceleration: Double, time: Double): Double {
/**
 * This function calculates the final velocity of a rock given its initial velocity, acceleration, and time.
 */
fun calculateRockVelocity(initVelocity: Double, acceleration: Double, time: Double): Double {

    // Calculate final velocity
    val finalVelocity = initVelocity + (acceleration * time)
    
    // Return the final velocity
    return finalVelocity
}