Polynomial long division

Talk about your programs in progress. Discuss how to implement features, etc.
Forum rules
This section is for testing Commander X16 programs and programs related to the CX16 for other platforms (compilers, data conversion tools, etc.)

Feel free to post works in progress, test builds, prototypes, and tech demos.

Finished works go in the Downloads category. Don't forget to add a hashtag (#) and the version number your program was meant to run on. (ie: #R41).
Post Reply
mobluse
Posts: 177
Joined: Tue Aug 04, 2020 2:16 pm
Location: Lund, Sweden
Contact:

Polynomial long division

Post by mobluse »

This polynomial long division program was originally written for Sinclair ZX81 with 1K RAM from year 1981 (my first computer). Enter degree of dividend & divisor. Example of RUN with the same example as the first on Wikipedia:
(x^3-2x^2-4)/(x-3)=x^2+x+3, remainder: 5.
2023-05-07-165335_640x480_scrot.png
2023-05-07-165335_640x480_scrot.png (24.84 KiB) Viewed 4941 times
Try It Now!
#R43 #R42
Attachments
POLYDIV.BAS
(452 Bytes) Downloaded 267 times
X16&C64 Quiz: Try It Now! Huge Char Demo: Try It Now! DECPS: Try It Now! Aritm: Try It Now!
Post Reply