Describe algorithms for performing addition and comparison

Assignment Help Civil Engineering
Reference no: EM131315979

1. Devise a scheme for representing rational numbers as binary strings. Briefly describe algorithms for performing addition and comparison using your scheme.

2. Devise a scheme for representing rational numbers and rational multiples of 7r as binary strings. Comment on the implementability of arithmetic operations using your representation.

Reference no: EM131315979

Questions Cloud

The average beta of the new stocks added to the portfolio : A mutual fund manager has a $20 million portfolio with a beta of 0.80. The risk-free rate is 4.75%, and the market risk premium is 4.0%. The manager expects to receive an additional $5 million, which she plans to invest in a number of stocks. What sh..
Provide a rationale for choosing this category : Select ONE (1) category from the completed World View Chart. Provide a rationale for choosing this category. What is compelling about this category? Why is it important in the study of religion
Discuss the impact that these attributes exert on citizens : Discuss the fundamental way in which peer groups influence adolescent behavior and delinquency. Identify the main reasons why youths choose to join gang and, predict the overall impact of gang delinquency to society. Justify your response.
Describe type of bullying to which amanda todd was subjected : Describe at least two types of bullying to which Amanda Todd was subjected.Identify at least three consequences that Amanda Todd experienced as a result of being bullied, and discuss her attempts to deal with them.
Describe algorithms for performing addition and comparison : Devise a scheme for representing rational numbers and rational multiples of 7r as binary strings. Comment on the implementability of arithmetic operations using your representation.
Generate code for the given three address statements : Generate code for the given three-address statements assuming stack allocation where register SP points to the top of the stack.
Advantages and disadvantages of consumer-generated marketing : Discuss the advantages and disadvantages of consumer-generated marketing. Your response should be at least 300 words in length and in paragraph form. All sources used, including the textbook, must be cited and referenced according to APA style
What is the minimum number of bits required : There are four values for the Balls display (0, 1, 2, and 3), three for Strikes (0, 1, 2), three for Outs (0, 1, 2), and ten for Inning (1, 2, ..., 10). What is the minimum number of bits required to hold the information recorded by the meter? Exp..
Identify the pros and cons of the given issue : Identify the pros and cons of the issue. Use at least four references from academic journals. Explain your position on this issue and how you arrived at it. Describe the process.

Reviews

Write a Review

Civil Engineering Questions & Answers

  Find flow rate in pipe whose water surface elevations differ

A 110 f t long, 5 in in diameter (f = 0:033) connects two reservoir whose water surface elevations differ by 12 f t. Compute flow rate in pipe.

  Determine the distance dc

Three loads P1 = 2.4 kN, P2 = 4.4 kN, and P3 = 6.4 kN are suspended as shown from the cable ABCDE. Knowing that the maximum tension in the cable is 26 kN, determine the distance dC.

  Find the distance traveled before the particle comes to rest

the velocity of a particle is given by the relation v=100-10x, where v is expressed in meters per second and x in meters. Knowing that x=0 at t=0, determine (a) the distance traveled before the particle comes to rest

  Calculate aeration basin size and the wate sludge rate

A completely mixed activated-sludge plan is being designed for a wastewater flow of 3.0 mgd. The BOD of 225 mg/l is 200 mg/l soluble. The effluent soluble BOD requirement is 7 mg/l (70 percent of the total 10 mg/l).

  Designing the tangent vertical curve

Due to a street crossing a roadway, the elevation of the roadway at station 3 +413.760 must be at 129.388 m. Design the curve?

  What is the number concentration

An aerosol with a lognormal size distribution has a count median diameter of 2.0 micron and a geometric standard deviation of 2.2. If the mass concentration is 1 mg/cubic meter what is the number concentration? Assume spherical particles with density..

  What is the total moment m due to the force f about point o

What is the total moment M due to the force F about point O. Assume that moments acting counterclockwise about point O are positive whereas moments acting clockwise are negative.

  Estimate the min do and the critical location in river

After initial mixing, the DO concentration in the river is 9.5mg/L and the temperature is 15ºC. If the ultimate BOD of the mixed river water is 30mg/L,

  Define water circulating through it at the rate

A 4 X 8-ft solar collector has water circulating through it at the rate of 1.0 gallon per minute while exposed to sunlight with intensity 300 Btu/ft^2-hr.

  Determine what should the after burner temperature be

An afterburner has been selected to destroy 99.9% of the ethane (CH3-CH3)in a gas (mostly air) stream . if the residue time is 0.8 seconds and the pressure is 1.1 atmospheres in the after burner,

  Determine the energy loss in the hydraulic jump

A trapezoidal channel having bottom width of 8 m and side slopes of 1 : 1, carries a discharge of 80 m^3/s. Find the conjugate depth to an initial flow depth of 0.75 m before the jump. Also determine the energy loss in the hydraulic jump.

  What hardness level would be required for grade 2 steel

If the design of a steel gear indicates that an allowable bending stress number of 36 000 psi is needed, specify a suitable hardness level for Grade 1 steel. What hardness level would be required for Grade 2 steel?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd