Recent content by person123

  1. person123

    Confusion On Frontend vs. Backend for Web Developement

    That makes sense, although I think that's why I was confused. Even so, maybe this is a stretch, but supposing the CAS and other math code was written in JavaScript (which is just a guess) it would still require knowledge of JavaScript as well some sort of performance optimization (maybe...
  2. person123

    Confusion On Frontend vs. Backend for Web Developement

    The code to do the math is still interacting with the user application: the text the user inputs is sent over and the results from the calculation are sent back to the interface. Just as you could test the "math code" without the application, I imagine you could test queries to a database...
  3. person123

    Confusion On Frontend vs. Backend for Web Developement

    The typical distinction between frontend and backend seems (to me at least) to lump two different distinctions together, one being client-side vs. server-side, and the other being UI functionality vs. computations powering the page. For something like a social media site, those two align, but I...
  4. person123

    I Make Intelligent Initial Guesses for Newton-Raphson Programmatically

    I went for the bisection method, just guessing points first upward and then downward from 0, and trying the method whenever the sign changes. It worked a bit better than Newton-Raphson since it can't diverge, but it still does fail in cases like ##f(x)=x^2## like @FactChecker pointed out. There...
  5. person123

    I Make Intelligent Initial Guesses for Newton-Raphson Programmatically

    I'm making a website that links systems of equations with dynamic visuals. Usually it solves the system of equations symbolically with a CAS I made. However, when it can't solve an equation symbolically and it only contains a single variable, I make it solve it numerically as a backup. For most...
  6. person123

    I Make Intelligent Initial Guesses for Newton-Raphson Programmatically

    I realize that my terminology was actually off -- I meant secant method, not Newton's method (I never symbolically take derivatives of the functions, instead I just approximate the derivative using two points). That being said, Brent's method, mentioned in the article, looks promising to me...
  7. person123

    I Make Intelligent Initial Guesses for Newton-Raphson Programmatically

    Yes, I agree, I would have to start by just guessing standard points. I'm hoping though that I could use the function values at previous guesses and/or previous Newton-Raphson attempts to learn something about the function, guiding future guesses. For example, if the function is only finite at a...
  8. person123

    I Make Intelligent Initial Guesses for Newton-Raphson Programmatically

    I should have clarified I want this for any arbitrary function, it looks like the article only applies for poly nomials. Maybe I could use Lagrange polynomials to approximate the function as a polynomial and approximate roots of that, but my sense is that just makes things more complicated and...
  9. person123

    I Make Intelligent Initial Guesses for Newton-Raphson Programmatically

    I'm writing code to numerically solve a single variable equation, currently with Newton Raphson's method. Right now, I'm just using an initial guess of 1, and reporting a failure if it doesn't converge. While it usually works, it does of course fails for many functions with asymptotes or other...
  10. person123

    Static Analysis for SAP2000 API

    Update: I added the tooltips with the method I described, with a demo attached. The documentation isn't perfect -- small format mistakes prevented me from constructing about 10% of the methods, and you can even see typos in the demo (e.g. SapMdel instead of SapModel). I could fix these issues...
  11. person123

    Static Analysis for SAP2000 API

    Thank you! Yes, I'm probably not using the term static analysis correctly. What I want to see are the list of component classes and methods of a class, and the arguments of a method, you often see in IDEs. Would they just be called tooltips instead? (I was calling it static analysis because it...
  12. person123

    Engineering Pursuing Research in Engineering Versus Hobby Projects

    Thanks for you thoughts. I'm a junior structural engineer, and it's very much an entry level position. Yes, I think I have to just wait and see how I feel about my work and what job's I'm put on and take it from there.
  13. person123

    Static Analysis for SAP2000 API

    For background, SAP2000 is a structural analysis software used in industry a lot and it has an API in several languages that seems to talk to a SAP2000 executable. It be used to create structural models as an alternative (though I think infrequently used) to the GUI.I started using the SAP2000...
  14. person123

    Engineering Pursuing Research in Engineering Versus Hobby Projects

    Background: I'm a just graduated Masters student in Civil Engineering, and I'll soon be working in industry. I've done research in Civil in college, and I've also done a few hobby projects, mainly coding, and often related to physics and/or engineering. I've really enjoyed hobby projects since...
  15. person123

    My Python Library For Finite Difference Method

    @pbuk Thank you, yes, it sounds like that was the source of the confusion. It looks like I made the post too long ago to edit, but that change would be more accurate.
Back
Top