/**
 * Given the number of elements and an initial value, create a tuple with the specified number
 * of elements where each element is equal to the initial value.
 *
 * Example:
 * createTupleWithInitialElements(5, 2.5) => (2.5, 2.5, 2.5, 2.5, 2.5)
 * createTupleWithInitialElements(3, -10) => (-10, -10, -10)
 *
 * @param numElements Number of elements the tuple should contain.
 * @param initialValue Initial value for each element of the tuple.
 * @return A tuple with the specified number of elements, where each element is equal to the initial value.
 */
fun createTupleWithInitialElements(numElements: Int, initialValue: Double): List<Double> {

    return List(numElements) { initialValue }
}
/**
 * Given the number of elements and an initial value, create a tuple with the specified number
 * of elements where each element is equal to the initial value.
 *
 * Example:
 * createTupleWithInitialElements(5, 2.5) => (2.5, 2.5, 2.5, 2.5, 2.5)
 * createTupleWithInitialElements(3, -10) => (-10, -10, -10)
 *
 * @param numElements Number of elements the tuple should contain.
 * @param initialValue Initial value for each element of the tuple.
 * @return A tuple with the specified number of elements, where each element is equal to the initial value.
 */
fun createTupleWithInitialElements(numElements: Int, initialValue: Double): List<Double> {
/**
 * Given the number of elements and an initial value, create a tuple with the specified number
 * of elements where each element is equal to the initial value.
 *
 * Example:
 * createTupleWithInitialElements(5, 2.5) => (2.5, 2.5, 2.5, 2.5, 2.5)
 * createTupleWithInitialElements(3, -10) => (-10, -10, -10)
 *
 * @param numElements Number of elements the tuple should contain.
 * @param initialValue Initial value for each element of the tuple.
 * @return A tuple with the specified number of elements, where each element is equal to the initial value.
 */
fun createTupleWithInitialElements(numElements: Int, initialValue: Double): List<Double> {

    return List(numElements) { initialValue }
}