🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.graph-ti
Article #199

RE:Graph-TI - area under a curve

#199
From: V064Q5C3
Date: Tue, 20 Dec 1994 15:40
40 lines
2137 bytes
Making the following assumptions:
	--the time between measurements is known and stored in the variable
		D
	--the force at time t is stored in L1
	--there are n items in L1, and n is stored in the variable
		N

The following "program" will estimate the area under the curve using trapizoids

I say "program" because I do not have an 82, and therefore cannot test it.
Nor do I know if it is in the proper 82 sytax

A is a counter
E is the total area
B and C are the values of the forces

1->A
0->E
L1(A)->C
While A<N
A+1->A
C->B
L1(A)->C
(.5)(B+C)(D)+E->E
End
Disp E

I wrote a similar program on my 85, and tested it in a set of made up data.  It
gave a nice apporoximation to what the logrithemic regression gave.  The
advantage to use this program is that students will get to see the area under a
curve apporximated by trapeziods.  This foreshadows what they might find in a
calculus class in their later studies.  On might even bring up the idea of the
area under the curve being represented by an integeral in calculus based
physics, and that this method is known as the trapezoidal method.

Let me know if the program works and how things turn out in your class.

Rick Seiden
V064Q5C3@ubvms.cc.buffalo.edu
Intel: _I_ _N_eed _T_o _E_estimate _L_ong division
Technical Details
Message-ID: <01HKV2EMWO3C8WX8DH@ubvms.cc.buffalo.edu>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!paladin.american.edu!auvm!ubvms.cc.buffalo.edu!V064Q5C3

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 104512,82d7c19d26b8c432
X-Google-Attributes: gid104512,public
X-Google-ArrivalTime: 1994-12-20 08:54:30 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!paladin.american.edu!auvm!ubvms.cc.buffalo.edu!V064Q5C3
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.graph-ti
Date: Tue, 20 Dec 1994 10:40:02 -0500 (EST)
From: V064Q5C3@ubvms.cc.buffalo.edu
Subject: RE:Graph-TI - area under a curve
Message-ID: <01HKV2EMWO3C8WX8DH@ubvms.cc.buffalo.edu>
Organization: University at Buffalo
X-VMS-To: IN%"GRAPH-TI@ds0.internic.net"
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
Sender: owner-graph-ti@dsmail.internic.net
Precedence: bulk
Reply-To: V064Q5C3@ubvms.cc.buffalo.edu
Lines: 39