Skip to content

Euler method in js #511

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

Closed
wants to merge 2 commits into from

Conversation

Ariana1729
Copy link
Contributor

+Fixed the ODE(hopefully), cuz there was an inconsistency with ODE and the code

@Ariana1729
Copy link
Contributor Author

oops uh the bash commit is there

@june128 june128 added Hacktoberfest The label for all Hacktoberfest related things! Implementation This provides an implementation for an algorithm. (Code and maybe md files are edited.) labels Oct 13, 2018
@Butt4cak3
Copy link
Contributor

The reversal of the Bubble Sort Bash commit could cause merge conflicts as soon as #509 is merged. A rebase would've probably been better here. If you want to, I can explain to you how you'd do that on Discord. It's a very powerful tool to have in your repertoire.

@Ariana1729
Copy link
Contributor Author

Ah ok

@Ariana1729 Ariana1729 reopened this Oct 14, 2018
@Ariana1729
Copy link
Contributor Author

oops misspelt XD

if (n != 0) {
result[0] = 1;
for (let i = 1; i < n; ++i) {
result[i] = result[i-1] - 3 * result[i-1] * timeStep;
Copy link
Member

@PudottaPommin PudottaPommin Oct 21, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

result[i-1] should use spaces around - so it looks like result[i - 1]

@Butt4cak3
Copy link
Contributor

Oh, uhm... We kinda sorta already have a Forward Euler PR for JavaScript in #418.

@Ariana1729
Copy link
Contributor Author

oh whoops missed that PR

@Ariana1729 Ariana1729 closed this Oct 22, 2018
@Ariana1729 Ariana1729 deleted the eulerde_js branch October 22, 2018 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest The label for all Hacktoberfest related things! Implementation This provides an implementation for an algorithm. (Code and maybe md files are edited.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants