1. homework

Calculating function y=f(x)

Create an algorithm (as a diagram or pseudocode) for solving the task and C code that would correspond to the algorithm description. All of the input data should be inserted from the keyboard and it can be any real number. The results should be shown on the terminal screen as tables, which has the columns for argument x and function y=f(x) values.

The value of the function should be displayed only if it exists i.e. it is final and real number. If the function value is not defined (it is infinite) or it is complex number, program should display 'not avilable' or 'complex number' accordingly. If you wish you can still display the complex number value in the form of a + bi, where a is the real part and b is the imaginary part.

The maximum points to calculate the function in, is 15.

The method of finding the argument and function itself, is given according to your student code:

$${}$$