Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.
C logic help
A function which will tabulate values of any given function from a given starting
value up to (and including) a given final value. The size of the each step from the
starting value to the final value should also be a parameter of the function.
For example,
#define PI 3.14159
tab_func(sin, 0.0, PI, PI/8.0);
would print
x f(x)
----------------------------------
0.0000 0.0000
0.3927 0.3827
0.7854 0.7071
1.1781 0.9239
1.5708 1.0000
1.9635 0.9239
2.3562 0.7071
2.7489 0.3827
3.1416 0.0000
Profile Answers by thyagi Questions by thyagi
Questions by thyagi
This Question is not yet answered!
Related Answered Questions
Related Open Questions