/**
 * This function calculates the total force exerted on a structure by multiplying each force in the list by a given force
 * multiplier.
 *
 * @param forceList A list of forces exerted on the structure.
 * @param forceMultiplier The multiplier to be applied to each force.
 * @return The total force exerted on the structure after applying the multiplier.
 */
fun calculateTotalForce(forceList: List<Double>, forceMultiplier: Double): Double {

    var totalForce = 0.0
    
    for (force in forceList) {
        totalForce += force * forceMultiplier
    }
    
    return totalForce
}
/**
 * This function calculates the total force exerted on a structure by multiplying each force in the list by a given force
 * multiplier.
 *
 * @param forceList A list of forces exerted on the structure.
 * @param forceMultiplier The multiplier to be applied to each force.
 * @return The total force exerted on the structure after applying the multiplier.
 */
fun calculateTotalForce(forceList: List<Double>, forceMultiplier: Double): Double {
/**
 * This function calculates the total force exerted on a structure by multiplying each force in the list by a given force
 * multiplier.
 *
 * @param forceList A list of forces exerted on the structure.
 * @param forceMultiplier The multiplier to be applied to each force.
 * @return The total force exerted on the structure after applying the multiplier.
 */
fun calculateTotalForce(forceList: List<Double>, forceMultiplier: Double): Double {

    var totalForce = 0.0
    
    for (force in forceList) {
        totalForce += force * forceMultiplier
    }
    
    return totalForce
}