# TITLE: Rational Division in C # AUTHOR: Roy F.A. Maclean # EMAIL: rfamgm at gmail # WEB: http://www.spiderpixel.co.uk/caspro # DATE: 21Jan1995 # MAKE: CASIO # MODEL: fx6300G or greater except 7000 models # SIZE: 76 # NOTES: # Use the fraction symbol for % # Input the real and imaginary parts of two complex numbers. # This program will divide one complex number by the other # and return the result using rational parts instead of decimal # where possible. # @@ Program 1 "RE Z1"?->A:"IM Z1"?->B "RE Z2"?->C:"IM Z2"?->D C^2+D^2->K (AC+BD)%K_ "+I":(BC-AD)%K