Show how the function f(w1,w2,w3,) = Ʃm(0,1,2,4,7) can be implemented using a 3 to 8 binary decoder and an OR gate (hint look at a MUX built using a decoder and figure out how to remove the AND gates.
I know that a 3 to 8 decoder would have something like this:
w1 w2 w3 f0 f1 f2 f3 f4...
Show how the function f(w1,w2,w3,) = Ʃm(0,1,2,4,7) can be implemented using a 3-to-8 binary decoder and an OR gate (hint: look at MUX built using a decoder and figure out how to remove the and gates.
Um. Yea. Help.(Speechless)
Convert the following numbers to their floating point binary equivalent.
Can someone check my work?
a) 18.25
so I got 10010.01
I couldn't find an online conversion calculator anywhere.
can you also check my answer for this one?
b) 1027.375
I got
10000000011.010
1111010 x 1001 is a negative * a negative so I should get a positive right?
which I got 0001001010.
BUT, if it's -122 x -9 = 1098. How come I get a positive number that doesn't equal 1098. Aren't you supposed to disregard the most left bit if it's more numbers than your original like wouldn't...
Can someone explain to me step by step what's going on here? The book acts like a 3rd grader should be able to just look at the model and be able to decipher what's going on, but this is very confusing material.
Perform the following operations involving eight-bit 2's complement numbers and...
can the direction of flow of current be used to define binary circuits. can we consider a particular direction of flow as +1 and it's opposite as -1 and no current as zero?
Homework Statement
Not so much a problem as a general wondering. I know how to convert from decimal to binary and binary to decimal apart from when there's a recurring pattern involved. One which I really can't figure out it 0.1001 (repeating). How do you go about converting that to...
Hello guys, I have seen some post here that were asking about binary to decimal conversions and signed unsigned binary numbers and such, so I decided to make this thread as a guide. I know it's pretty easy, but having a guide here can always be helpful and reduces repetitions:wink:
If this...
ok so i have this code:
import java.util.Scanner;
class doubleEncodingClass {
public static void main(String args[]) {
byte largestPositiveByte = 127;
short largestPositiveShort = 32767;
int largestPositiveInt = 2147483647;
long largestPositiveLong =...
I am asked to come up with two 4-bit binary numbers, that when subtracted, provide the wrong result for both the unsigned and signed cases, inspecting only the first 4 bits of the output.
I have come up with numerous combination where the unsigned is correct, the signed is wrong, and vice...
Here is Dr Jonathan Tallant a famous math phlosopher
Fractal Binary is a type of math that uses waves in performing it's calculations. Frequency Bits, (Numbers), are generated as waves. These positive and negative waves are then added and subtracted together 'at the same time', waves have a...
Homework Statement
What is the decimal equivalent of the largest unsigned binary that can be obtained with:
a.8bits. b:n bits
Homework Equations
The Attempt at a Solution
A:2^8=256. 2^8-1=255 how I can change the number to binary number?
B.I can't get the direction of n bits
Does anyone know which type of orbit is most likely to result in habitable worlds in a binary star system -- a planet orbiting one of the two stars, or orbiting both of the stars, or are they both very likely/unlikely? Wikipedia quotes a paper that simulated binary stars and found that 50-60%...
Homework Statement
Two asteroids (approximately the same size and mass) are orbiting each other at a given radius a. The center of mass is orbiting the sun at a distance (semimajor axis) b with an orbital period of P.
I would like to estimate the mass/size of each of the asteroids.
By...
Hello, I made this video from Celestia showing the orbits of the 6 stars that comprise of the Castor system:
http://www.youtube.com/watch?v=wIWdfFG7eKw&feature=youtu.be
However, I noticed that when Castor C (the barycenter of Castor-Ca and Castor-Cb) enters the fastest part of its orbit...
I'm assuming this is a simple proof? I started thinking about it.
It suffices to show that every even number can be written as positive powers of 2 (since every odd number is simply an even number plus 20). So let n = 2k for some non-negative integer k; we need to show that 2k = 2c1 + 4c2 +...
Suppose we are given a binary operation on a finite set of abstract symbols in terms of a multiplication table such as:
\begin{array}{c|ccc}
* & A & B & C \\ \hline
A & A & B & C \\
B & B & A & B \\
C & C & B & A \\
\end{array}
Suppose we want to represent the operation in some...
How many comparisons are performed to find 13 in the following list by using Binary Search?
7, 12, 5, 22, 13, 32
Is it true that there are 10 comparisons performed to find 13 in the following list by using Binary Search? If this isn't right, then can somebody please help explain this to me?
I am trying to read a binary file using fortran.
this is how the binary file looks like.
1901 109.1000 241.4000 284.2000 121.9000
1902 104.0000 283.7000 202.6000 201.9000
1903 114.8000 293.0000 279.6000...
I'm confused regarding the phase diagrams of binary systems. Let's suppose we mix 2 liquids, A and B at a given pressure P that won't change during the whole experiment. I raise the temperature until I observe that some of the mix of liquids vaporizes. What boggles me is that it seems I can...
From Wiki.
The pulsar and its neutron star companion both follow elliptical orbits around their common center of mass. The period of the orbital motion is 7.75 hours, and the two neutron stars are believed to be nearly equal in mass, about 1.4 solar masses. Radio emissions have been detected...
Is there a relationship between the distance and weight of a binary code?
I want to find the weight and distance of the code consisting of the codewords:
0000 0000
0010 1110
0101 1100
1011 1010
1110 0101
1100 1011
0111 0011
1001 0111
(spaces inserted for readability)
The weight can be checked...
So I was trying to figure out a straightforward method to calculating the possible number of combinations on a beginner minesweeper game (81 squares, 9x9, 10 mines)
I figure that i can attribute this to binary. Because the 9x9 part shouldn't really matter.
It is essentially a 81 bit...
Homework Statement
Refer to the attached binary phase diagram. Substance A has a melting point of 600 °C and B has a melting point of 1200 °C. A mixture of 70 weight percent B and 30 weight percent A is held at 950 °C for a long time - long enough to reach equilibrium.
a) Determine the weight...
Homework Statement
i have an 8 bit input, and i need to represent 0-359 in decimal on 3 7-seg displays
The Attempt at a Solution
with 8 bits there is only 256 possibilities so the input would have to be multiplied by 1.4 to get an even spread over 259 degrees.
but you can't multiply...
Homework Statement
The objective was to think of a binary operation ##*:\mathbb{N}\times\mathbb{N}\to\mathbb{N}## that is injective. A classmate came up with the following operation, but had trouble showing it was injective:
##a*b=a^3+b^4##.
Homework Equations
The Attempt at a...
Online Binary converter capable of 64 digits and has "explain answer"
Hello,
Does anyone know if there is an online binary converter similar to this one:
http://acc6.its.brooklyn.cuny.edu/~gurwitz/core5/nav2tool.html
but can take 64 digits (bits I am guessing) instread of just 24...
Hi,
I've been reading a textbook on set theory and came across Cantor's proof of the statement that the set of the infinite binary sequences is uncountable. However there is one thing that is not clear to me:
The nth such sequence would be:
An = (an,0,an,1,...), n = 0, 1, 2,...
where...
Homework Statement
An advanced alien civilization residing on a planet orbiting Alpha Centauri A, a class G2V star only 4 LY away, detects radio emanations from the star Sol (our Sun) and concludes that it is of intelligent origin. The aliens decide to try and establish contact with the...
Homework Statement
Angular separation of stars 1.5 arcsecs
Parallax 0.0050 arcsecs
Apparent vis magnitude 2.5 (star a) and 7.5 (star b)
The two stars may be in orbit about each other in a binary system, or may be separate stars viewed by chance in almost the same direction in the sky.
(i)...
How do you multiply 111x111. Every exemple i ve found on internet is 101x100, 110x101 and it doesn't answer to my question :|.
111x
111=
111+
111+
111
----
Every exemple I've found is like :))
110+
101
Which is obviously...
Homework Statement
Convert -89 to 32 bit representation (2-complement for negative numbers)
my answer does not agree with calculated answers from multiple conversion sites.
Homework Equations
The Attempt at a Solution
to get the exponent i figured out the closest 2 exponent to...
My book says (Foundations of Astrophysics):
" The radial velocity ... can be found from the Doppler shift of the star's absorption lines:
\nu_{r}=\frac{\Delta\lambda}{\lambda}c
If the star you are observing is part of a spectroscopic binary system, you can separate the radial velocity of...
Homework Statement
See attachment.
Homework Equations
The Attempt at a Solution
Ok, so for Qd) my attempt was:
d = vt = 75x10^3 * (2*2.8*86400*365) = 1.32x10^13 m, (circumference of orbit)
because the star periodically shifts from red to blue shifted frequencies every 2.8...
I am tasked with modeling a binary star system using VPython. The language itself is relatively irrelevant, as I can deal with the syntax. My problem is with the logic of it and how I should go about structuring the necessary calculations.
Homework Statement
A binary star system consists of...
I was looking over my old physics course problems, and I can't figure out how I'm doing this one wrong.
Homework Statement
Two identical stars, each having mass and radius M=2*10^29 kg and R = 7 *10^8 m are initially at rest in outer space. Their initial separation (between centers) is the...
Homework Statement
(a) Consider a binary star system in which the two stars have masses M1 and M2 and the stars move on circular orbits separated by a distance R. Derive the formula for the period of revolution.
(b) Suppose M1= 1.22M and M2= 0.64M (where M = mass of the sun) and R= 0.63...
I have a vector signal, \underline{x}(t), which is afflicted with Gaussian noise \underline{n}(t). I take a finite number, L, of discrete observations and (based on those observations) want to determine whether:
(1) Only Gaussian noise is present, \left[\text{i.e. } \underline{x}(t) =...
Homework Statement
A binary system consists of two stars of equal mass m orbiting each other in a circular orbit under the influence of gravitational forces. The period of the orbit is τ . At t = 0, the motion is stopped and the stars are allowed to fall towards each other. After what time t...
Homework Statement
Addition.
3 binarynumbers
101111000
10111110
+ 10001101
The Attempt at a Solution
111
111111
101111000
10111110
+ 10001101
1011000011
Is it correct?
Homework Statement
I need to prove that different insertion orders of the same keys always gives us a different binary tree.
Homework Equations
All obvious BST properties apply:
The left subtree of a node contains only nodes with keys less than the node's key.
The right subtree of a...
Homework Statement
Prove or disprove: \exists a binary operation *:\mathbb{N}\times\mathbb{N}\to\mathbb{N} that is injective.
Homework EquationsThe Attempt at a Solution
At first, I was under the impression that I could prove this using the following operation. I define * to be...
This a general, layman question. Computer processors work with binary digits, 1 and 0. Of course, computer processors can be seen as microscopic forms of Babbage's analytic engine. So in reality, in the circuits of a microprocessor, what physical form do binary digits take?
The twos compliment for regular binary numbers- you just replace all 1's by 0's and 0's by 1's and then +1. So how would you go about finding out for signed...I have got as far as changing the first digit then that's it! Does anyone know what to do?
Hello everyone !
I got a problem, I can't figure out why when I compute A+B and 2\times (\frac{A}{2}+\frac{B}{2}) the result is sometimes different.
Can anyone explain why the results of the two operations are different ?
Edit : A and B are coded in binary of course and we compute a binary...
I needed to make a ripple counter start from 3 and end at 17. I got it to reset to 0 when it reaches 17, but I can't get it to start from 3.
I am using 5 JK latches with LEDS attached to the outputs of each to represent each number.
To get it to stop at 17, I nanded the msb and lsb and...
Homework Statement
Show that the binary expansion of a positive integer can be obtained form its hexadecimal expansion by translating each hexadecimal digit into a block of four binary digits.
Homework Equations
The Attempt at a Solution
I know that this is true but I have no...