Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #224717 > unrolled thread

what calculator do you use?

Started bykaye n <guikaye@gmail.com>
First post2020-07-13 09:40 +0200
Last post2020-07-13 21:50 +0200
Articles 20 on this page of 45 — 32 participants

Back to article view | Back to linux.debian.user


Contents

  what calculator do you use? kaye n <guikaye@gmail.com> - 2020-07-13 09:40 +0200
    Re: what calculator do you use? Alex Mestiashvili <amestia@rsh2.donotuse.de> - 2020-07-13 09:50 +0200
    Re: what calculator do you use? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-13 09:50 +0200
      Re: what calculator do you use? Linux-Fan <Ma_Sys.ma@web.de> - 2020-07-13 12:40 +0200
        Re: what calculator do you use? rhkramer@gmail.com - 2020-07-13 13:30 +0200
          Re: what calculator do you use? Klaus Singvogel <deb-user-ml@singvogel.net> - 2020-07-13 13:50 +0200
            Re: what calculator do you use? Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-13 14:20 +0200
            Re: what calculator do you use? rhkramer@gmail.com - 2020-07-13 17:20 +0200
          Re: what calculator do you use? Eric S Fraga <e.fraga@ucl.ac.uk> - 2020-07-13 14:30 +0200
            Re: what calculator do you use? Jörg-Volker Peetz <jvpeetz@web.de> - 2020-07-14 11:10 +0200
              Re: what calculator do you use? John Hasler <jhasler@newsguy.com> - 2020-07-14 14:30 +0200
    Re: what calculator do you use? Brad Rogers <brad@fineby.me.uk> - 2020-07-13 10:00 +0200
    Re: what calculator do you use? Marco Möller <talby@debianlists.mobilxpress.net> - 2020-07-13 10:00 +0200
    Re: what calculator do you use? <tomas@tuxteam.de> - 2020-07-13 10:20 +0200
    Re: what calculator do you use? Michael Lange <klappnase@freenet.de> - 2020-07-13 10:30 +0200
    Re: what calculator do you use? Ed Redd <edredd7@gmail.com> - 2020-07-13 10:40 +0200
    Re: what calculator do you use? Joe <joe@jretrading.com> - 2020-07-13 11:00 +0200
    Re: what calculator do you use? Eric S Fraga <e.fraga@ucl.ac.uk> - 2020-07-13 11:40 +0200
      Re: what calculator do you use? Florent Rougon <f.rougon@free.fr> - 2020-07-13 14:50 +0200
        Re: what calculator do you use? Eric S Fraga <e.fraga@ucl.ac.uk> - 2020-07-13 18:10 +0200
          Re: what calculator do you use? "Thomas Schmitt" <scdbackup@gmx.net> - 2020-07-13 19:30 +0200
            Re: what calculator do you use? Eric S Fraga <e.fraga@ucl.ac.uk> - 2020-07-14 08:20 +0200
          Re: what calculator do you use? ghe2001 <ghe2001@protonmail.com> - 2020-07-13 20:20 +0200
    Re: what calculator do you use? Reco <recoverym4n@enotuniq.net> - 2020-07-13 12:10 +0200
      Re: what calculator do you use? The Wanderer <wanderer@fastmail.fm> - 2020-07-13 12:50 +0200
        Re: what calculator do you use? echo test <echotest09@gmail.com> - 2020-07-13 13:40 +0200
        Re: what calculator do you use? Reco <recoverym4n@enotuniq.net> - 2020-07-13 13:40 +0200
        Re: what calculator do you use? Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-13 14:30 +0200
          Re: what calculator do you use? The Wanderer <wanderer@fastmail.fm> - 2020-07-14 01:10 +0200
            Re: what calculator do you use? David Wright <deblis@lionunicorn.co.uk> - 2020-07-14 03:00 +0200
              Re: what calculator do you use? The Wanderer <wanderer@fastmail.fm> - 2020-07-14 03:10 +0200
                Re: what calculator do you use? Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-14 13:30 +0200
    Re: what calculator do you use? Anssi Saari <as@sci.fi> - 2020-07-13 13:40 +0200
    Re: what calculator do you use? Weaver <weaver@riseup.net> - 2020-07-13 13:50 +0200
    Re: what calculator do you use? John Hasler <jhasler@newsguy.com> - 2020-07-13 14:40 +0200
    Re: what calculator do you use? Charles Curley <charlescurley@charlescurley.com> - 2020-07-13 15:40 +0200
    Re: what calculator do you use? Charles Curley <charlescurley@charlescurley.com> - 2020-07-13 15:40 +0200
      Re: what calculator do you use? Cindy Sue Causey <butterflybytes@gmail.com> - 2020-07-13 19:20 +0200
    Re: what calculator do you use? Celejar <celejar@gmail.com> - 2020-07-13 15:50 +0200
    Re: what calculator do you use? Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2020-07-13 17:30 +0200
    Re: what calculator do you use? Wolf Halton <wolf.halton@gmail.com> - 2020-07-13 17:50 +0200
      Re: what calculator do you use? David Wright <deblis@lionunicorn.co.uk> - 2020-07-13 21:20 +0200
      Re: what calculator do you use? Ben Caradoc-Davies <ben@transient.nz> - 2020-07-13 22:00 +0200
    Re: what calculator do you use? Nate Bargmann <n0nb@n0nb.us> - 2020-07-13 19:30 +0200
    Re: what calculator do you use? Ben Caradoc-Davies <ben@transient.nz> - 2020-07-13 21:50 +0200

Page 1 of 3  [1] 2 3  Next page →


#224717 — what calculator do you use?

Fromkaye n <guikaye@gmail.com>
Date2020-07-13 09:40 +0200
Subjectwhat calculator do you use?
Message-ID<As1ea-5sA-15@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hello Friends,
Correct me if I'm wrong, but I don't see any calculator app in my Debian os.
What do you guys use? I'm having trouble with Galculator.
Thank you!

[toc] | [next] | [standalone]


#224718

FromAlex Mestiashvili <amestia@rsh2.donotuse.de>
Date2020-07-13 09:50 +0200
Message-ID<As1nP-5w5-3@gated-at.bofh.it>
In reply to#224717
On 7/13/20 9:31 AM, kaye n wrote:
> Hello Friends,
> Correct me if I'm wrong, but I don't see any calculator app in my Debian os.
> What do you guys use? I'm having trouble with Galculator.
> Thank you!
> 

perl -E 'say eval(math expression)'

Math::XX modules for more complicated stuff :)

Best,
Alex

[toc] | [prev] | [next] | [standalone]


#224719

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-07-13 09:50 +0200
Message-ID<As1nP-5w5-1@gated-at.bofh.it>
In reply to#224717

[Multipart message — attachments visible in raw view] — view raw

On Lu, 13 iul 20, 15:31:10, kaye n wrote:
> Hello Friends,
> Correct me if I'm wrong, but I don't see any calculator app in my Debian os.
> What do you guys use? I'm having trouble with Galculator.

qalc, the command line version of qalculate.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#224728

FromLinux-Fan <Ma_Sys.ma@web.de>
Date2020-07-13 12:40 +0200
Message-ID<As42m-79N-15@gated-at.bofh.it>
In reply to#224719

[Multipart message — attachments visible in raw view] — view raw

Andrei POPESCU writes:

> On Lu, 13 iul 20, 15:31:10, kaye n wrote:
> > Hello Friends,
> > Correct me if I'm wrong, but I don't see any calculator app in my Debian
> > os.
> > What do you guys use? I'm having trouble with Galculator.
>
> qalc, the command line version of qalculate.

qalc and speedcrunch look nice, thanks for sharing :)

I use maxima (Debian package maxima) most of the time. It is easy enough to
get started although I always fail to remember the syntax for more advanced
things.

Here is a sample session (I actually have `alias maxima=maxima -q`):

$ maxima -q

(%i1) a: 2;
(%o1)                                  2
(%i2) a**10;
(%o2)                                1024
(%i3) sqrt(%o2);
(%o3)                                 32
(%i4) sqrt(2);
(%o4)                               sqrt(2)
(%i5) %o4, numer;
(%o5)                          1.414213562373095

It is possible to write scripts and batch-process them which allows
integrating maxima with other (text-based) tools. There are also GUI
frontends, but I did not find them a large improvement over the commandline
for Maxima. I even made a script to auto-replace Maxima variables in LaTeX
files, but it is not available online yet.

For spreadsheets and on low-end computers where maxima does not run quickly,
I prefer `sc-im` which is unfortunately not in Debian:
https://github.com/andmarti1424/sc-im

In case anybody wants an unofficial Debian package, I hacked one together
here: https://github.com/m7a/lp-sc-im

HTH
Linux-Fan

[...]

[toc] | [prev] | [next] | [standalone]


#224730

Fromrhkramer@gmail.com
Date2020-07-13 13:30 +0200
Message-ID<As4OK-7Ft-15@gated-at.bofh.it>
In reply to#224728
On Monday, July 13, 2020 06:38:41 AM Linux-Fan wrote:

> > On Lu, 13 iul 20, 15:31:10, kaye n wrote:
> > > Correct me if I'm wrong, but I don't see any calculator app in my
> > > Debian os.
> > > What do you guys use? I'm having trouble with Galculator.

> I use maxima (Debian package maxima) most of the time. It is easy enough to
> get started although I always fail to remember the syntax for more advanced
> things.

Ahh, a question I can answer (or, at least, express an opinion ;-)

From the command line: bc -l (the -l doesn't something useful (to me) but I 
forget what ;-)

As a gui: kcalc

Maxima sound interesting (maybe because it reminds sounds a little bit like 
mathmatica (sp?), so I may dig deeper into that and try it out.

[toc] | [prev] | [next] | [standalone]


#224735

FromKlaus Singvogel <deb-user-ml@singvogel.net>
Date2020-07-13 13:50 +0200
Message-ID<As585-7Mz-11@gated-at.bofh.it>
In reply to#224730
rhkramer@gmail.com wrote:
> 
> From the command line: bc -l (the -l doesn't something useful (to me) but I 
> forget what ;-)

I'm using "bc -l" either.

"-l" is including the math lib, for functions like exp, sin, cos, etc.

"bc" can calculate with arbitrary precision length.

Ever wanted to calculate with long, long numbers (i.e.: 2^256) or want to
edit a long input line (i.e.: 1.99*12+3*2.49+7*.79*1.16... ), then try it.

Best regards,
	Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27

[toc] | [prev] | [next] | [standalone]


#224740

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2020-07-13 14:20 +0200
Message-ID<As5B7-8bZ-3@gated-at.bofh.it>
In reply to#224735
On Mon, Jul 13, 2020 at 01:41:39PM +0200, Klaus Singvogel wrote:
> rhkramer@gmail.com wrote:
> > 
> > From the command line: bc -l (the -l doesn't something useful (to me) but I 
> > forget what ;-)
> 
> I'm using "bc -l" either.
> 
> "-l" is including the math lib, for functions like exp, sin, cos, etc.

This is correct.  The -l *also* sets the bc "scale" variable to 20,
meaning it calculates non-integer values to 20 decimal places.  Using
such a high precision is extremely important with certain calculations,
where using lower precision values would cause severe rounding errors,
which would accumulate and worsen quite dramatically.

unicorn:~$ echo 'e(1.4*l(500))' | bc -l
6005.62216990715616614180
unicorn:~$ echo 'scale=2; e(1.4*l(500))' | bc -l
5943.18

Never set a low scale value in bc.

If you don't want to see 20 digits after the decimal place, perform
rounding in a separate step.

unicorn:~$ printf '%.2f\n' "$(echo 'e(1.4*l(500))' | bc -l)"
6005.62

[toc] | [prev] | [next] | [standalone]


#224748

Fromrhkramer@gmail.com
Date2020-07-13 17:20 +0200
Message-ID<As8pl-1sU-17@gated-at.bofh.it>
In reply to#224735
> rhkramer@gmail.com wrote:
> > From the command line: bc -l (the -l doesn't something useful (to me) but
> > I forget what ;-)

doesn't ==> does  -- I should learn to proofread all the time ;-)

[toc] | [prev] | [next] | [standalone]


#224741

FromEric S Fraga <e.fraga@ucl.ac.uk>
Date2020-07-13 14:30 +0200
Message-ID<As5KN-8f3-1@gated-at.bofh.it>
In reply to#224730
On Monday, 13 Jul 2020 at 07:22, rhkramer@gmail.com wrote:
> Maxima sound interesting (maybe because it reminds sounds a little bit like 
> mathmatica (sp?), so I may dig deeper into that and try it out.

Yes, maxima and mathematica are similar in that they are both symbolic
mathematics systems.  I use maxima all the time for solving systems of
algebraic equations and for calculus in teaching engineers.

-- 
Eric S Fraga via Emacs 28.0.50 & org 9.3.7 on Debian bullseye/sid

[toc] | [prev] | [next] | [standalone]


#224787

FromJörg-Volker Peetz <jvpeetz@web.de>
Date2020-07-14 11:10 +0200
Message-ID<Asp6O-3ec-13@gated-at.bofh.it>
In reply to#224741
In this category of computer aided mathematics or computer algebra systems,
there are also the packages sagemath, octave or scilab.
octave and scilab bring there own GUI.
sagemath and also python 3 or R can be used via jupyter notebook which is a kind
of browser based GUI.

But these are all way to heavy programs for doing simple calculations.
For that I also use `bc -l`. It has a line editor: you can write your whole
calculation in one line and scroll back to previous lines to change and repeat them.

Regards,
Jörg.

[toc] | [prev] | [next] | [standalone]


#224794

FromJohn Hasler <jhasler@newsguy.com>
Date2020-07-14 14:30 +0200
Message-ID<Assem-51j-11@gated-at.bofh.it>
In reply to#224787
Jörg writes:
> But these are all way to heavy programs for doing simple calculations.

I use Octave for exactly that.  I always have it running in one of the
panes of my current desk.  It has all the elementary functions built in
and lets me smoothly transition from doing simple arithmetic to writing
programs.  I use Bc when I need arbitrary precision.
-- 
John Hasler 
jhasler@newsguy.com
Elmwood, WI USA

[toc] | [prev] | [next] | [standalone]


#224720

FromBrad Rogers <brad@fineby.me.uk>
Date2020-07-13 10:00 +0200
Message-ID<As1xv-5z9-1@gated-at.bofh.it>
In reply to#224717

[Multipart message — attachments visible in raw view] — view raw

On Mon, 13 Jul 2020 15:31:10 +0800
kaye n <guikaye@gmail.com> wrote:

Hello kaye,

>What do you guys use? I'm having trouble with Galculator.

Not that I use it often, but KCalc came as part of my KDE install.  Of
course, if KDE is not part of your install, it might need to pull in a
few dependencies.

There's also deepin-calculator.  which I've not even installed, never
mind try.

-- 
 Regards  _
         / )           "The blindingly obvious is
        / _)rad        never immediately apparent"
Let them go, set them free, let them be who they wanna be
Lovers Of Outrage - Penetration

[toc] | [prev] | [next] | [standalone]


#224721

FromMarco Möller <talby@debianlists.mobilxpress.net>
Date2020-07-13 10:00 +0200
Message-ID<As1xw-5z9-3@gated-at.bofh.it>
In reply to#224717
On 13.07.20 09:31, kaye n wrote:
> Hello Friends,
> Correct me if I'm wrong, but I don't see any calculator app in my Debian os.
> What do you guys use? I'm having trouble with Galculator.
> Thank you!
> 

I prefer:  speedcrunch
Good Luck! Marco.

[toc] | [prev] | [next] | [standalone]


#224722

From<tomas@tuxteam.de>
Date2020-07-13 10:20 +0200
Message-ID<As1QT-5UN-23@gated-at.bofh.it>
In reply to#224717

[Multipart message — attachments visible in raw view] — view raw

On Mon, Jul 13, 2020 at 03:31:10PM +0800, kaye n wrote:
> Hello Friends,
> Correct me if I'm wrong, but I don't see any calculator app in my Debian os.

Try, in a command line, "apt search calculator". I get 127 hits (of
course not all of them are a calculator app. Let's say a rough third
is. That leaves fourty calculators to choose from!).

> What do you guys use? I'm having trouble with Galculator.

Ah. Now we're talking. Given that broad choice, you will get reams of
answers, depending on people's preferences and needs. Your approach
will depend a lot on how you do such things. Test a few or ten of the
above options. Ask people for their experiences. Things like that.

My favourite one won't be in the above list: it's Emacs calc.
Unlimited precision, symbolic math, units, stack, trail -- and
seamless integration with my favourite text editor.

Cheers
-- t

[toc] | [prev] | [next] | [standalone]


#224723

FromMichael Lange <klappnase@freenet.de>
Date2020-07-13 10:30 +0200
Message-ID<As20y-5Yb-5@gated-at.bofh.it>
In reply to#224717
Hi,

On Mon, 13 Jul 2020 15:31:10 +0800
kaye n <guikaye@gmail.com> wrote:

> Hello Friends,
> Correct me if I'm wrong, but I don't see any calculator app in my
> Debian os. What do you guys use? I'm having trouble with Galculator.
> Thank you!

if you want a simple gui calculator you might try xcalc from the package
x11-apps.

Regards

Michael



.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

The joys of love made her human and the agonies of love destroyed her.
		-- Spock, "Requiem for Methuselah", stardate 5842.8

[toc] | [prev] | [next] | [standalone]


#224724

FromEd Redd <edredd7@gmail.com>
Date2020-07-13 10:40 +0200
Message-ID<As2ad-61j-1@gated-at.bofh.it>
In reply to#224717

[Multipart message — attachments visible in raw view] — view raw

  1+


On Mon, Jul 13, 2020, 2:31 AM kaye n <guikaye@gmail.com> wrote:

> Hello Friends,
> Correct me if I'm wrong, but I don't see any calculator app in my Debian
> os.
> What do you guys use? I'm having trouble with Galculator.
> Thank you!
>
>

[toc] | [prev] | [next] | [standalone]


#224725

FromJoe <joe@jretrading.com>
Date2020-07-13 11:00 +0200
Message-ID<As2tz-67N-3@gated-at.bofh.it>
In reply to#224717
On Mon, 13 Jul 2020 15:31:10 +0800
kaye n <guikaye@gmail.com> wrote:

> Hello Friends,
> Correct me if I'm wrong, but I don't see any calculator app in my
> Debian os. What do you guys use? I'm having trouble with Galculator.
> Thank you!

Galculator works for me, but I only do simple one-stage things with it.
If I need multi-stage, or repeated near-identical calculations, I use a
spreadsheet.

But I don't do many calculations, so if I used one of the command-line
options as most seem to do, I'd spend more time reading the man page
than actually calculating.

-- 
Joe

[toc] | [prev] | [next] | [standalone]


#224726

FromEric S Fraga <e.fraga@ucl.ac.uk>
Date2020-07-13 11:40 +0200
Message-ID<As36h-6AL-3@gated-at.bofh.it>
In reply to#224717
Emacs Calc if using the computer, HP-48x simulator on my phone
otherwise.
-- 
Eric S Fraga via Emacs 28.0.50 & org 9.3.7 on Debian bullseye/sid

[toc] | [prev] | [next] | [standalone]


#224744

FromFlorent Rougon <f.rougon@free.fr>
Date2020-07-13 14:50 +0200
Message-ID<As649-8mM-5@gated-at.bofh.it>
In reply to#224726
Eric S Fraga <e.fraga@ucl.ac.uk> wrote:

> Emacs Calc if using the computer, HP-48x simulator on my phone
> otherwise.

If you liked doing calculations as in the HP 48, try the orpie program
in a terminal (Debian package of the same name)... or the x48 emulator
on Linux (GUI, very impressive). More scripting-oriented, dc can be used
to compute in Reverse Polish Notation:

$ echo '3 5 + 2 / p' | dc
4
$

Regards

-- 
Florent

[toc] | [prev] | [next] | [standalone]


#224751

FromEric S Fraga <e.fraga@ucl.ac.uk>
Date2020-07-13 18:10 +0200
Message-ID<As9bH-1Z2-13@gated-at.bofh.it>
In reply to#224744
On Monday, 13 Jul 2020 at 14:48, Florent Rougon wrote:
> If you liked doing calculations as in the HP 48, try the orpie program
> in a terminal (Debian package of the same name)... or the x48 emulator
> on Linux (GUI, very impressive). 

Thanks for the suggestions.  I hate using the mouse so I'll skip the GUI
emulator... but orpie looks very interesting and could be quite useful
on my wee Gemini PDA in case I don't want to run Emacs.

I should say that, if I really want a proper calculator experience, I'll
pull out my HP-41C which is, incredibly, more than 40 years old and still
working!  It's the last calculator I bought.

Thanks again,
eric

-- 
Eric S Fraga via Emacs 28.0.50 & org 9.3.7 on Debian bullseye/sid

[toc] | [prev] | [next] | [standalone]


Page 1 of 3  [1] 2 3  Next page →

Back to top | Article view | linux.debian.user


csiph-web