orestotel / hacktoberfest-ProjectCPlusPlus

My C++ Project. Feel free to contribute. #HacktoberFest please commit to Master
1 stars 7 forks source link

tabulate atan() - create new file #10

Closed orestotel closed 5 years ago

orestotel commented 5 years ago

53ee08ffc8f7243dac1995e9c4552bc54084b22b See this file and write a similar program regarding the secont formula(one called atan) in photo. Use variables: a - from b - to h - step eps - precision d - amplifier s - sum k - number(see the photo and the referenced commit)

photo_2019-10-15_14-31-02

Thank you for your help in advance:) Happy Hacktoberfest.

orestotel commented 5 years ago

isFibonacci.cpp

abhakta-47 commented 5 years ago

@orestotel what is the function of h(step) and d(amplifier) ?

orestotel commented 5 years ago

@Abahkta19 Look them up in the file isFibonacci.c++. In fact, you just need to change the file a bit to fit the asin function. The variables there mean the same they mean here, so take a look.

If you still didn't understand, then: h - if it is equal to one, you iterate 1,2,3,4,5... values like normally, But if it equals to 2, for example, you will iterate like this: 2, 4, 6, 8... values. If 3, you will have it like this: 3, 6, 9, 12, 15, 18... Got it?

orestotel commented 5 years ago

d is what you add to the result, as far as I understand. You can understand more by looking into isFibonacci.cpp

orestotel commented 5 years ago

14