function calculateHolePositions(beamLength, numberOfHoles) { const distanceBetweenHoles = (beamLength – 2 * (beamLength / (2 * numberOfHoles))) / (numberOfHoles – 1);const holePositions = [];// Loop to calculate the position of each hole for (let i = 0; i < numberOfHoles; i++) { // Calculate the position for each hole const holePosition = (beamLength / (numberOfHoles - 1)) * i; holePositions.push(holePosition); }return holePositions.map(pos => pos.toFixed(2)); }