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


Groups > linux.debian.user > #162182

Re: Need a calculator that knows about coulombs

From Joel Rees <joel.rees@gmail.com>
Newsgroups linux.debian.user
Subject Re: Need a calculator that knows about coulombs
Date 2015-12-29 12:00 +0100
Message-ID <qL0au-7IT-15@gated-at.bofh.it> (permalink)
References <qIGfT-35d-13@gated-at.bofh.it> <qKEWl-1Oy-11@gated-at.bofh.it> <qKXZ0-6lv-13@gated-at.bofh.it> <qL0au-7IT-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Dec 29, 2015 at 6:12 PM, Gene Heskett <gheskett@shentel.net> wrote:
>
> A paste of what I entered:
>
> define vc(vs,t,r,c) {
> return vs * (1-e(-t/(r*c)))
> }
> for ( i=0.0; i<5.0; i += 0.1 ) { print i, ":", vc(120,i,83,.01 ),"\n" } 0:0

Sorry I missed that. Probably should stay off the list when I'm in a
hurry. Rip the 0:0 off the end and see how that works:

for ( i=0.0; i<5.0; i += 0.1 ) { print i, ":", vc(120,i,83,.01 ),"\n" }

Or you could unpack it  bit:

for ( i=0.0; i<5.0; i += 0.1 ) {
  print i, ":", vc(120,i,83,.01 ),"\n"
}

The units should be volts, seconds, ohms, and farads. I'm not positive
about farads, but the units were set up so that this equation would
work without conversion, as I recall.

Adding current and power should look something like

scale=5;
vs = 120;
r = 100000;
c = .00001;
for ( t=0.0; t<5.0; t += 0.1 ) {
  vr = vs - vc;
  a = vr / r;
  p = vr * a;
  print"t: ", t, "  vc:", vc(vs,t,r,c ), "  a: ", a, "  p: ", p,  "\n"
}


-- 
Joel Rees

Be careful when you look at conspiracy.
Arm yourself with knowledge of yourself, as well:
http://reiisi.blogspot.jp/2011/10/conspiracy-theories.html

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 02:20 +0100
  Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 02:40 +0100
  Re: Need a calculator that knows about coulombs Jimmy Johnson <jimmyjhn@gmail.com> - 2015-12-23 02:40 +0100
    Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 02:50 +0100
      Re: Need a calculator that knows about coulombs John Hasler <jhasler@newsguy.com> - 2015-12-23 03:10 +0100
        Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 11:10 +0100
          Re: Need a calculator that knows about coulombs Joe <joe@jretrading.com> - 2015-12-23 12:50 +0100
            Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 16:10 +0100
          Re: Need a calculator that knows about coulombs David Christensen <dpchrist@holgerdanske.com> - 2015-12-23 19:30 +0100
            Re: Need a calculator that knows about coulombs John Hasler <jhasler@newsguy.com> - 2015-12-23 20:10 +0100
            Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 20:20 +0100
              Re: Need a calculator that knows about coulombs John Hasler <jhasler@newsguy.com> - 2015-12-23 20:40 +0100
                Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 22:20 +0100
                Re: Need a calculator that knows about coulombs John Hasler <jhasler@newsguy.com> - 2015-12-24 01:30 +0100
                Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-24 02:40 +0100
                Re: Need a calculator that knows about coulombs Bob Bernstein <poobah@ruptured-duck.com> - 2015-12-24 02:10 +0100
                Re: Need a calculator that knows about coulombs John Hasler <jhasler@newsguy.com> - 2015-12-24 02:40 +0100
                Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-24 03:00 +0100
                Re: Need a calculator that knows about coulombs John Hasler <jhasler@newsguy.com> - 2015-12-24 03:20 +0100
                Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-24 04:50 +0100
                Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-24 02:50 +0100
                Re: Need a calculator that knows about coulombs Bob Bernstein <poobah@ruptured-duck.com> - 2015-12-24 03:10 +0100
                Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-24 04:40 +0100
                Re: Need a calculator that knows about coulombs Lisi Reisz <lisi.reisz@gmail.com> - 2015-12-24 12:30 +0100
                Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-24 16:40 +0100
        Re: Need a calculator that knows about coulombs Gary Roach <gary719_list1@verizon.net> - 2015-12-24 01:00 +0100
          Re: Need a calculator that knows about coulombs John Hasler <jhasler@newsguy.com> - 2015-12-24 01:40 +0100
            Re: Need a calculator that knows about coulombs Anders Andersson <pipatron@gmail.com> - 2015-12-24 01:40 +0100
          Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-24 02:40 +0100
      Re: Need a calculator that knows about coulombs David Christensen <dpchrist@holgerdanske.com> - 2015-12-23 03:20 +0100
        Re: Need a calculator that knows about coulombs Bob Bernstein <poobah@ruptured-duck.com> - 2015-12-23 04:40 +0100
          Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 11:50 +0100
        Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 11:40 +0100
          Re: Need a calculator that knows about coulombs David Christensen <dpchrist@holgerdanske.com> - 2015-12-23 19:40 +0100
  Re: Need a calculator that knows about coulombs rlharris@oplink.net - 2015-12-23 02:40 +0100
  Re: Need a calculator that knows about coulombs John Hasler <jhasler@newsguy.com> - 2015-12-23 03:00 +0100
    Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 11:40 +0100
  Re: Need a calculator that knows about coulombs Charlie Kravetz <cjk@teamcharliesangels.com> - 2015-12-23 04:50 +0100
  Re: Need a calculator that knows about coulombs Jörg-Volker Peetz <jvpeetz@web.de> - 2015-12-23 15:00 +0100
    Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-23 16:20 +0100
      Re: Need a calculator that knows about coulombs Jörg-Volker Peetz <jvpeetz@web.de> - 2015-12-28 10:40 +0100
        Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-28 14:00 +0100
          Re: Need a calculator that knows about coulombs John Hasler <jhasler@newsguy.com> - 2015-12-28 18:40 +0100
            Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-28 21:00 +0100
  Re: Need a calculator that knows about coulombs Gener Badenas <gener.ong.badenas@gmail.com> - 2015-12-28 08:10 +0100
    Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-28 13:20 +0100
      Re: Need a calculator that knows about coulombs Joel Rees <joel.rees@gmail.com> - 2015-12-29 09:40 +0100
        Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-29 10:50 +0100
      Re: Need a calculator that knows about coulombs Joel Rees <joel.rees@gmail.com> - 2015-12-29 12:00 +0100
        Re: Need a calculator that knows about coulombs Joel Rees <joel.rees@gmail.com> - 2015-12-29 12:10 +0100
          Re: Need a calculator that knows about coulombs Gene Heskett <gheskett@shentel.net> - 2015-12-29 16:50 +0100
    Re: Need a calculator that knows about coulombs ken <gebser@mousecar.com> - 2016-01-03 12:00 +0100

csiph-web