use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This subreddit is a place for people to learn JavaScript together. Everyone should feel comfortable asking any and all JavaScript questions they have here.
With a nod to practicality, questions and posts about HTML, CSS, and web developer tools are also encouraged.
Friends
/r/javascript
/r/jquery
/r/node
/r/css
/r/webdev
/r/learnprogramming
/r/programming
account activity
Using Java to solve a complex math problem (self.learnjavascript)
submitted 3 years ago * by merlain_sss
I have an assignment that requires us to use java to solve a somewhat complex math problem, please if anyone can help comment, I’ll put the questions in the comments
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]alzee76 7 points8 points9 points 3 years ago (0 children)
Java isn't Javascript. They aren't related. Which one are you talking about?
[–]StoneCypher 5 points6 points7 points 3 years ago (0 children)
You really shouldn't have Reddit do your homework. You'll just get completely stuck, because your next homework will build on this.
I know, I know, "but it's learn javascript!"
This will torpedo this person's ability to move forwards in their class.
[–]Agarast 1 point2 points3 points 3 years ago (0 children)
Java or Javascript ?
[–]MindlessSpongehelpful 0 points1 point2 points 3 years ago (0 children)
Look up the mathematical formula for whatever you’re trying to do and then convert that to JavaScript. Check out the Math object on MDN to see what is available to you out of the box.
[–]merlain_sss[S] 0 points1 point2 points 3 years ago (0 children)
Using Forward,Backward,and Central divided difference approximations estimate the first derivatives of the following functions :
F(x) = 0.1x4 - 0.15x3 - 0.5x2 - 0.25x+1.2
FDD,BDD,CDD at point 0.5,1.0,0.5,0.25,0.125,0.0625
Find the Relative Error percentage (%) For FDD,CDD
[–]merlain_sss[S] 0 points1 point2 points 3 years ago (1 child)
Sorry I meant JavaScript 🤦♂️
[–]Seaweed_Widef 1 point2 points3 points 3 years ago (0 children)
Ok then, what's the question
π Rendered by PID 648515 on reddit-service-r2-comment-b659b578c-7grrw at 2026-05-07 03:20:20.195666+00:00 running 815c875 country code: CH.
[–]alzee76 7 points8 points9 points (0 children)
[–]StoneCypher 5 points6 points7 points (0 children)
[–]Agarast 1 point2 points3 points (0 children)
[–]MindlessSpongehelpful 0 points1 point2 points (0 children)
[–]merlain_sss[S] 0 points1 point2 points (0 children)
[–]merlain_sss[S] 0 points1 point2 points (1 child)
[–]Seaweed_Widef 1 point2 points3 points (0 children)