Open InfiniteCoder opened 6 years ago
Can I work on this issue?
@parulagg27 Sure! Make sure that you mention this issue in your Pull Request so that this issue gets closed when you fix the issue.
@InfiniteCoder Sure. But, I tried running the code, After removing the stray characters, it works fine here.
@parulagg27 If it works, then great! But I think this code has been plagiarized from either https://www.csee.umbc.edu/~tsimo1/CMSC455/code/newton_raph.c or http://www.codewithc.com/c-program-for-newton-raphson-method/. It seems that many of the programs in this repo might have been plagiarised. This repo needs some cleaning 🗑
Yes! I completely agree. Many of the programs in this repo have been plagiarized. But, in that case, wouldn't it be better if we give credits to that source site. For example, if a c++ code of an algo has been copied from geeksforgeeks, we can comment out in our code in this way: // Courtesy: geeksforgeeks Just a suggestion. Need your opinion, @InfiniteCoder
@parulagg27 We need to make sure that,
In most cases though, people don't put a license of their code. In such cases, by default the code becomes copyright protected .To be more specific, the author can put a license at any time, and claim copyright violation.
It surely wouldn't be fun to see cosmos taken down because of copyright violations. So I suggest we simply take down any programs with copyright violations. Of course, if the author is happy for redistribution, we can always give credits.
This is a(n):
Details:
I think the Newton raphson program in c is wrongly implemented. After removing the stray characters and compiling it, it seems to always print the same output.
Irrespective of what is given as input, it always prints -0.003824 and nan for all further output. See if someone can fix it, or otherwise remove it.