Article View: aus.mathematics
Article #11541Converting Fractions on a Casio
From: Oliver Spiesshofer
Date: Wed, 15 Nov 1995 00:00
Date: Wed, 15 Nov 1995 00:00
28 lines
2062 bytes
2062 bytes
Hi. I have a somehow strange question. I own a Casio calculator on which you can program in BASIC. I'm searching for a program now which can make 12355/12354 out of 1.000080945. I started to write a program where a/b=x. I simply took the x-int(x) and multiplied it with n=1,2,3,4,... just until the result y would be the same as int(y), an entire number. so the a would be n and the b would be y. Unfortunately, this does only work with small numbers like 1.125. As those calculators round the last bit of the number (as you can the with the first example, 1.000080945 * 12354 = 12354.99999), so for some calculations it doesn't work, and for the rest it takes centuries. I woud have to make an aproximisation, but i don't know how. If you have a similar program in BASIC (or in PASCAL, i could try to translate it), please send it to me. I would be very happy. Thanx. Oliver Spiesshofer 100334.556@compuserve.com Please e-mail to me. -- *---------------------------------------------------------------* �Oliver.spiesshofer@ntgate.unisg.ch � CIS:100334,556 � �-- the greater man's ability to calculate, --------------------� �___the more calculating he becomes.____________________________�
Technical Details
Message-ID:
<48ccra$otn$1@mhade.production.compuserve.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 106e3f,392f53db5a985a1d,start X-Google-Attributes: gid106e3f,public X-Google-Thread: 110e8d,392f53db5a985a1d,start X-Google-Attributes: gid110e8d,public X-Google-Thread: f7972,392f53db5a985a1d,start X-Google-Attributes: gidf7972,public X-Google-Thread: 10d67e,392f53db5a985a1d,start X-Google-Attributes: gid10d67e,public X-Google-Thread: f86a3,392f53db5a985a1d,start X-Google-Attributes: gidf86a3,public From: Oliver Spiesshofer <100334.556@CompuServe.COM> Subject: Converting Fractions on a Casio Date: 1995/11/15 Message-ID: <48ccra$otn$1@mhade.production.compuserve.com> X-Deja-AN: 119416049 organization: Roadrunner Soft & Hard newsgroups: aus.mathematics,can.schoolnet.math.jr,can.schoolnet.math.sr,comp.soft-sys.matlab,k12.ed.math