Live data from Hacker News

Show HN: Kalk, A calculator with math syntax, complex numbers

kalk.strct.net

11–20 of 90 posts

Re: Show HN: Kalk, A calculator with math syntax, complex numbers

#13

Any interest in adding more symbolic stuff? There often isn't really any reason to do derivatives numerically. While I was looking at the derivatives I noticed the word "quotinent" should be "quotient" in the readme.

I have thought about doing derivatives and such algebraically when possible. It should certainly be doable, and I already have a system for moving things around to achieve these kind of things. This may be a thing in the future.

Re: Show HN: Kalk, A calculator with math syntax, complex numbers

#14
post #13

Any interest in adding more symbolic stuff? There often isn't really any reason to do derivatives numerically. While I was looking at the derivatives I noticed the word "quotinent" should be "quotient" in the readme.

I have thought about doing derivatives and such algebraically when possible. It should certainly be doable, and I already have a system for moving things around to achieve these kind of things. This may be a thing in the future.

There are also some algorithms for trying to deal with symbolic integrals but they're pretty intense compared to what you have to do for derivatives (which are very easy).

Re: Show HN: Kalk, A calculator with math syntax, complex numbers

#15
post #13

Earlier quoted context omitted.

I have thought about doing derivatives and such algebraically when possible. It should certainly be doable, and I already have a system for moving things around to achieve these kind of things. This may be a thing in the future.

There are also some algorithms for trying to deal with symbolic integrals but they're pretty intense compared to what you have to do for derivatives (which are very easy).

Yeah that makes sense. I won't be able to do it 100% of course, especially considering I so far have only learned high school maths, but even if it just manages to do it in some situations, that would still be fine as long as it falls back to (often quite accurate) numerical integration. I'll read some more about it!

Re: Show HN: Kalk, A calculator with math syntax, complex numbers

#17

Can you support big numbers? When I input 3^4^5, it outputs infinity.

The desktop program does technically have the capabilities of that, but lately I've been focusing a lot more on the web version, that unfortunately doesn't, so results are 64-bit at the moment. I have been waiting for a proper Rust library that can do this, so that it could work on the web version as well, but so far, that has not happened, so I'll probably do some work on properly supporting big numbers on the desktop program soon.
Post reply on HN