Given the following code,

----------------------------
define vc(vs,t,r,c) {
  return vs * (1-e(-t/(r*c)));
}

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

openbsd's bc puts out a lot of

    bc: [Unicode proxy 0001 or so](01) is unimplemented

messages. In spite of those messages, it seems to be running alright,
seems to give correct answers mixed in with the messages about
unimplemented (operations?).

I get the messages whether I type it in by hand or copy/paste it from my blog.

Is this known behavior?

-- 
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

Reply via email to