Question
Design a circuit that calculates the square of a number?

Answers

It should not use any multiplier circuits. It should use Multiplexers and other logic?
1^2=0+1=12^2=1+3=43^2=4+5=94^2=9+7=165^2=16+9=25
See a pattern yet? To get the next square, all you have to do is add the next odd number to the previous square that you found. See how 1,3,5,7 and finally 9 are added. Wouldn’t this be a possible solution to your question since it only will use a counter, multiplexer and a couple of adders? It seems it would take n clock cycles to calculate square of n.   Your Comment






Search
Can you Answer!!
  • Q Which American newspaper first exposed the Watergate Scandal?
  • Q Difference echo() and print()?
  • Q This code, straight out of a book, isn't compiling: int f() { char a[] = "Hello, world!"; }
  • Q Comment on current environmental issues.
  • Q Can Priority of Problem be different from its Incident?
  • Q Create a new javascript object with the keys of “fname” equal to your first name, “lname” equal to your last name, and “fcolors” equal to and array of 3 of your favorite colors. Assign this object to a variable called “me” and log it to the console.
  • Q What is the procedure to test a program in FORTRAN?
  • Q How do you handle dynamically changing area of the window in the bitmap checkpoints?
  • Q What is the use of analyse ( ver 7) option in exp command ?
  • Q vacillate
  • Q I have a flat file, want to reverse the contents of the flat file