Re: Math problem



Thanks very much to all of you. Uwe was right on, Russ was halfway there,
and a little tweaking made the results jibe with a formula a supplier gave
to me (which is what I was trying to verify). Although Hopeful Skeptic's
solution is a good one, there is little hope of getting it implemented here.
In case anyone wants to verify the other two methods:

program DistortionFactor;

{$APPTYPE CONSOLE}

uses
SysUtils;

function Uwe( thickness, outercircumference : extended ) : extended;
var
r : extended; // radius of the roller
begin
r := (outercircumference / pi / 2) - thickness;
result := r / (r+thickness);
end;

function Russ( thickness, outercircumference : extended ) : extended;
var
k : extended; // elongation lenth (difference in length from top to
bottom of the strip)
begin
k := 2 * pi * thickness;
result := 1 - (k / outercircumference);
end;


const
T = 0.107; // thickness
O = 15; // outer circumference
begin
writeln( Uwe( T, O ) );
writeln( Russ( T, O ) );
readln;
end.


.



Relevant Pages

  • Re: Math problem
    ... You and Uwe have interesting names, where are you from if I may. ... This distortion amount will be affected by the pressure too. ... function Russ(thickness, outercircumference: extended): extended; ... writeln(Russ(T, O)); ...
    (borland.public.delphi.non-technical)
  • Re: Change a bit within a byte
    ... proc wbit {_var bitno bitval} { ... upvar _var var ...
    (comp.lang.tcl)
  • Re: Change a bit within a byte
    ... proc wbit {_var bitno bitval} { ... upvar _var var ...
    (comp.lang.tcl)
  • Re: Change a bit within a byte
    ... proc wbit {_var bitno bitval} { ... upvar $_var var ...
    (comp.lang.tcl)