The task is to develop a program that reads from an input CSV file named data.csv. The x values are equidistant with eac
Posted: Mon May 02, 2022 10:26 am
The task is to develop a program that reads from an input CSV file named data.csv. The x values are equidistant with each other. The program will use the composite Trapezoidal Rule and Composite Simpson's Rule Format: Example het <number of data pts e lot format <x> <y> 13, <x2> <y23 0,2 2,1 6,6 8,23 10,11 12,16 14, 16,7 18,26 20,10 22, 10 12 14 16 IR 20 22 23 11 10 # 7 20 10 Steps: 1. Open the file data.csv and read the data contained within then print to the screen the given data. 2. Let the user choose between implementing (1) Composite Trapezoidal Rule or (2) Composite Simpson's Rule. 3. Display the computed value on the screen. umber of records B ka - 2, yi - 1 2.4, y2 - 2 6, y3 - 6 K6 = 12, y = 16 14, y7 16, y8 -7 10 - 20, yie - 10 (11 - 22, 711 612 - 24, y12 - 3 Which numerical Integration method should we use? ) Composite Trapezoidal Rule (6) Composite Simpson's Rule method: The number of cars passing through the intersection per day is