Binary Definition and 603 Threads

  1. S

    Implementing a 3 to 8 Binary Decoder.

    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...
  2. S

    MHB Implementing f(w1,w2,w3) Using 3-to-8 Binary Decoder & OR Gate

    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)
  3. S

    MHB Convert the following numbers to their floating point binary equivalent.

    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
  4. S

    MHB Multiplication with binary unsigned numbers

    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...
  5. S

    MHB Adding Binary #s, (Sign and Magnitute Addition)

    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...
  6. S

    MHB Two's Complement Binary Addition

    (Envy) I understand 1 0 1 0 +1 1 0 1 _________ =0 0 0 1 0 1 0 1 1 0 1 ________ 0 1 1 1 which becomes 1000 BUT, how does 1 0 1 0 +0 0 1 0 _________ not become 1 0 1 0 1 0 1 0 + 0 0 1 0 ___________ ?
  7. S

    Using direction of current as base for new type of binary circuits

    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?
  8. S

    Convert 0.1001(repeating) to Decimal

    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...
  9. Magna Visus

    A guide to binary, decimal conversions

    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...
  10. K

    What is a way to convert a decimal fraction to binary using a custom data type?

    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 =...
  11. B

    Analyzing Incorrect Results in Binary Subtraction

    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...
  12. A

    MHB Is Fractal Binary the Future of Mathematical Calculations?

    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...
  13. C

    Decimal Equivalent of Largest Unsigned Binary: 8bits=256, n bits

    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
  14. D

    Habitable zone for binary star systems

    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%...
  15. B

    Can Conservation of Angular Momentum Help Estimate the Mass of Binary Asteroids?

    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...
  16. E

    Castor Binary (6 star hierachy) system, how is it stable?

    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...
  17. J

    Proving that every non-negative integer can be expressed in binary

    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 +...
  18. S

    What are some simple non-associative binary operations?

    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...
  19. J

    MHB Discrete Mathematics Binary Search

    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?
  20. P

    Binary star revolving arround center of mass

    why the binary star revolving around center of mass ? could type 2 supernova ever had a stellar wind after explosion ?
  21. R

    Fortran To read a binary file using fortran

    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...
  22. fluidistic

    Confused on phase diagrams for binary systems (thermodynamics)

    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...
  23. wolram

    Explore Binary System Inspiral w/ 1.5 Solar Masses

    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...
  24. A

    MHB Weight and distance of a binary code

    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...
  25. D

    Help with an Abstract Binary Math Problem

    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...
  26. V

    Thermodynamics Binary Phase Diagram Problem

    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...
  27. P

    Binary Multiplication to Represent 0-359 on 3 7-Seg Displays

    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...
  28. S

    Showing a binary operation is injective

    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...
  29. M

    Online Binary converter capable of 64 digits and has explain answer

    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...
  30. A

    Cantor proof / infinite binary sequences

    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...
  31. A

    SETI Binary Message Decoding Question

    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...
  32. S

    Binary Star Systems: Radial Velocities, Observations & Unresolved Eclipses

    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)...
  33. D

    Binary Addition and Carrying: How to Multiply 111x111

    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...
  34. W

    Decimal to Binary 32 bit signed conversion

    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...
  35. J

    Radial Velocity of the centre of mass of spectroscopic binary system

    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...
  36. L

    How to Calculate Mass in a Binary System with Given Orbital Period and Radius?

    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...
  37. B

    How Do You Simulate a Binary Star System with VPython?

    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...
  38. M

    Colliding Binary Star (GPE Problem)

    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...
  39. D

    Binary Star System Period of Revolution

    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...
  40. W

    Binary Detection in Gaussian Noise

    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) =...
  41. O

    Binary stars, time taken to collide

    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...
  42. K

    Is the Addition of These Three Binary Numbers Correct?

    Homework Statement Addition. 3 binarynumbers 101111000 10111110 + 10001101 The Attempt at a Solution 111 111111 101111000 10111110 + 10001101 1011000011 Is it correct?
  43. D

    Does the order of insertion affect the structure of a binary search tree?

    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...
  44. S

    Proving Existence of Injective Binary Operation on $\mathbb{N}\times\mathbb{N}$

    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...
  45. G

    What is the physical form of binary data in a computer processor?

    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?
  46. F

    Two's compliment of SIGNED binary

    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?
  47. M

    Why do binary arithmetic operations sometimes result in different outputs?

    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...
  48. R

    How to start a binary ripple counter from the middle?

    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...
  49. N

    Binary and hexadecimal expansion

    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...
Back
Top