I have been given a question to write a program to read a number x from the user and then
print the value of ln(1+x).
I have been given the following equation to perform the calculation:
1 2 3 4 5 6 100
ln(1+x) = x x x x x x x
--- - --- + --- - --- + --- - --- ... ---
1 2 3 4 5 6 100
but I did not know how to calculate the lawn x value. Can someone here kind enough to guide me through this????