av-engineering
av-engineering
Hello, `math.sqrt` is not supporting dimensions. What about using `c = (a**2 + b**2/3)**(1/2)` or `**.5` instead?
Hello @GJoe2, especially for this reason, I started using [pint](https://pypi.org/project/Pint/). In pint one can set preferred units etc. It has much more configuration options. And it performes also well with...
I would avoid using `sqrt`. Use `**.5` instead: 
Are there pages in a HTML page? If you are exporting to TeX or PDF, you can add the native LaTeX command `\clearpage` in a raw cell.
Is already solved. Shouldn't be a problem with the new release anymore:
You are right. I am normally working with my own [branch](https://github.com/av-engineering/handcalcs/tree/dm) and I don't have this problem. But I couldn't figure out which change in my branch is preventing this.
I have changed the source code for this reason: In `handcalcs.py` one can replace the line ```rendered_string = f"{item:.{precision}f{preferred_formatter}}"``` by ```rendered_string = f"{round(item, precision):{preferred_formatter}}"```. (https://github.com/connorferster/handcalcs/issues/200#issuecomment-2074229737.)
You need something like this: You can add after every `"sqrt"`, `or "cbrt"` and `"cbrt": "\\sqrt[3]"`, in `get_func_latex()` in handcals.py. It doesn't make a lot of sense (my opinion) to...
> I ran into this as well and dug into the source. I think the root cause is in `swap_py_operators()` (src/handcalcs/handcalcs.py, around lines 2792-2815). The docstring says it swaps `**`...
> Is something going on in that matter? I also think that it would be very useful - for example I like to use kN/cm2 for stresses instead of MPa,...