Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Describe an algorithm for adding two infinite decimals. You should work from left to right , determining the decimal expansion in order, as much as

Describe an algorithm for adding two infinite decimals. You should work from left to right,
determining the decimal expansion in order, as much as possible. When are you assured that
you know the integer part of the sum? In what circumstance does it remain ambiguous?
HINT: Given infinite decimals a and b, define a carry function \gamma : {0}\cup N ->{0,1} and then
define the decimal expansion of a+b in terms of a(n)+b(n)+\gamma (n).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions