Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

math error in readme #2136

Open
ingconti opened this issue Jan 13, 2024 · 0 comments
Open

math error in readme #2136

ingconti opened this issue Jan 13, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@ingconti
Copy link

Summary

in math you don't write in this way the formula to be integrated:

(4.0/(1+x*x)) dx

adding "dx" at the end does have a different meaning: all the product is the differential area below the curve You sum in your integral. (and pls remove redundant braces and decimal point to 4..)
So should be:

... the function, 4/(1+x*x), the answer is pi.

URLs

https://github.com/oneapi-src/oneAPI-samples/tree/master/DirectProgramming/C%2B%2B/ParallelPatterns/openmp_reduction

Additional details

take a look to math book :)

@ingconti ingconti added the documentation Improvements or additions to documentation label Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant