Talk:Orbital elements: Difference between revisions

From Rosetta Code
Content added Content deleted
mNo edit summary
(pls show some values)
Line 8: Line 8:
:::Should I believe that they are correct? I have seen incorrect work replicated in other tasks here (where people trust that the first posted result is correct). I have not worked through the problem statement myself. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 18:01, 29 October 2018 (UTC)
:::Should I believe that they are correct? I have seen incorrect work replicated in other tasks here (where people trust that the first posted result is correct). I have not worked through the problem statement myself. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 18:01, 29 October 2018 (UTC)


::::Well, most (all) others prodce identival results. --Walter Pachl 18:25, 29 October 2018 (UTC)
::::Well, most (all) others prodce identical results. --Walter Pachl 18:25, 29 October 2018 (UTC)

Could you pls show 'your' values of
<pre>
c = math.cos(trueAnomaly)
s = math.sin(trueAnomaly)
fact = math.sqrt(2.0 / r - 1.0 / semimajorAxis)
</pre>
? this could shaow where we diverge --Walter Pachl 20:30, 29 October 2018 (UTC)

Revision as of 20:31, 29 October 2018

Python results seem to be incorrect ?? --Walter Pachl 17:37, 29 October 2018 (UTC)

The task needs concrete examples to make this sort of issue clear. --Rdm (talk) 17:43, 29 October 2018 (UTC)
Pls look at the one and only input used by all other samples. I found this when I had to see that my results were wrong --Walter Pachl 17:48, 29 October 2018 (UTC)
Should I believe that they are correct? I have seen incorrect work replicated in other tasks here (where people trust that the first posted result is correct). I have not worked through the problem statement myself. --Rdm (talk) 18:01, 29 October 2018 (UTC)
Well, most (all) others prodce identical results. --Walter Pachl 18:25, 29 October 2018 (UTC)

Could you pls show 'your' values of

 c = math.cos(trueAnomaly)
 s = math.sin(trueAnomaly)
 fact = math.sqrt(2.0 / r - 1.0 / semimajorAxis)

? this could shaow where we diverge --Walter Pachl 20:30, 29 October 2018 (UTC)