The bash challenge

Employer
[no-member:pro]Vasilisa[/no-member:pro]Vasilisa
Project parameters
Type of cooperationOne-time project
SectionSoftware development
Prepaymentprepayment is possible
Payment methodsCash, Bank transfer, Electronic money
Acceptance of requestsclosed
Project description
Good day!
The task involves writing a bash script using awk.
General requirements: the script must be called from the console, the task parameters are transmitted as command line parameters. If the call is incorrect, an error message and a brief instruction on using the script are issued.
The task itself: a filename file is given, consisting of two columns - the value of x and the function f(x). Calculate the integral f(x). The name of the original file is given by the command line parameter.
The task involves writing a bash script using awk.
General requirements: the script must be called from the console, the task parameters are transmitted as command line parameters. If the call is incorrect, an error message and a brief instruction on using the script are issued.
The task itself: a filename file is given, consisting of two columns - the value of x and the function f(x). Calculate the integral f(x). The name of the original file is given by the command line parameter.