^^^^^F(x) is composed of those two functions with the union.
Using N of different values, where N is the number of steps or intervals. Print out all xi fi =f(xi) and final result. C code must contain following features: use of arrays, use of pointers, use of structure, use of union, use of functions and function calls, formatted output on screen.
Can someone do this i have no idea where to start please and thanks
I know nothing of your instructor, but it may be simply to use a pointer as argument to a function in order to access your array -- an array used to store each slice calculated by the trapezoidal rule.
It says "use of structure" and not "use of structures", I hope?