Binary Definition and 603 Threads

  1. H

    How Do You Convert Decimal to Binary Using MIPS Code?

    Hello. I was simply wondering if anyone has any idea on how to write a MIPS code to convert a decimal number to its binary number. Anyone can help me?
  2. M

    Big endian and Little Endian, how to code for reversing binary value?

    Homework Statement I am trying to create a program that will convert big endian to little endian notation and vice versa. I found a way to represent unsigned integers and display their binary value. Can I use this program somehow to accomplish my goals. I am going the right way? Homework...
  3. B

    How Do You Convert 111011.0101 to IEEE 754 Floating-Point Format?

    Homework Statement The problem is how to begin converting 111011.0101 into floating point. I actually did begin looking at the first digit number "1" and identify that it is a negative since is one and zero is positive. Then I try working 111011.0101 separately by splitting 111011 for now and...
  4. C

    Tens complement subtraction in binary

    Homework Statement I want to do 8 + (-2) in binary Homework Equations 8= 1 0 0 0 2= 0 0 1 0 The Attempt at a Solution To find the negative of 2 I find the tens complement of it by finding nines complement and +1 7 is the nines complement = 0 1 1 1 and adding 0 0 0 1 = 1 0 0...
  5. R

    Binary Star System: Calculating Occultation Angle & Eclipse Duration

    Homework Statement Two stars, S1 and S2, with effective temperature of Te,1=25000 K and Te,2= 2000 K and photospheric radius of R1=Rsun/100 and R2=50 Rsun make a binary system. If the Star S2 is in circular orbit around the S1 with revolution period of P=180 days (1 day=24 hours), and S1 has a...
  6. L

    Adding binary numbers (overflow)

    Homework Statement Hey, i don't really understand what they mean when its overflow when u add or subtract binary numbers like 1101 + 1010 Homework Equations The Attempt at a Solution I thought the answer is 10111 but they get +7 I know the+ is cause of the 1 in front but...
  7. G

    Understanding the Effects of 2's Complement on Arithmetic Operations

    Why is it that when using 2's complement, the result of arithmetic operations differ by two? 11011001 (-39) + 11100111 (-25) = 11000000 (which is -62 in 2's complement, even though it's supposed to be -64) 00110011 (51) + 11101110 (-16) = 00100001 (33, but it's supposed to be 35)
  8. S

    Solving Binary Star Systems: Doppler & Kepler's 3rd Law

    Application of the Doppler effect and Kepler's 3rd law Homework Statement (*This isn't the exact wording from a textbook, just as I had copied it down) An eclipsing binary star system containing stars A and B in concentric orbits (about their common centre of mass) has it's maximum red- and...
  9. A

    What Is the Correct Derivation of Binary Search Complexity?

    i found the recursive relation which is T(n) = 1 + t(n/2) after a couple of substitutions i found the pattern which is T(n) = 2i-1 + T(n/ 2i) i chose i = log2 n and then when i plugged it in i got T(n) - 2log2(n -1) + T(1) but doesn't the first part simplify to n-1? the complexity...
  10. N

    MDS/cyclic code, binary string question

    Homework Statement Suppose n\leq2 Let C be the code consisting of all binary strings of length n in which the sum of the bits is even. Is C and MDS code? is C a cyclic code? Homework Equations An MDS code is one where the codewords are separated by a maximum number of bits d. MDS codes obey...
  11. T

    How emission theory was disproved by de sitter binary star experiment?

    Actually I was studying on 2nd postulate of special relativity. There I saw Ritz's emission hypotheses says for an object moving directly towards (or away from) the observer at v metres per second, this light would then be expected to still be traveling at (c + v) or (c − v) metres. Now...
  12. C

    Find the position of the center of mass of the binary star system

    Homework Statement A binary star system consists of a star P and a star Q, of mass 4.0 x 10^10 kg and 2.0 x 10^10 kg respectively, separated 6.3 x 10^9 m apart. Star P and Star Q move in circular orbits with their centers at the center of mass which remains at rest. Find the position of...
  13. A

    Astronomy - binary magnitude conceptual question

    astronomy - conceptual, trigonometric parallax Homework Statement To determine a star's trigonometric parallax, we need at least 3 measurements of its position relative to much more distanct objects. Explain why this is true. (What else could change its position on the sky?) Homework...
  14. S

    Can someone double-check this simple binary relation proof?

    Homework Statement *attached Homework Equations The Attempt at a Solution Let a,b ∈ H. Then (∀x ∈ S)(a*x = x*a) and (∀x ∈ S)(b*x = x*b). It is easy to see, then, that a*b = b*a. Now let c ∈ S. Then (a*b)*c = c*(a*b) by the associativity of *. Q.E.D.
  15. T

    How do the steps of successive division get converted into binary numbers?

    So, I can see that it works by dividing a number by its base, recording the remainder, and then repeating until the answer is 0 (instead of a fraction, you wind up with an answer of 0 with a remainder). But how do I convert all the steps' answers&remainders into a binary number?
  16. J

    Using the Double Slit Experiment & encoding photons with binary data

    My name is Joe Fiero. Ever since I was a little kid, I loved science, especially science fiction. Sliders, Back to the future, Star Trek. I never had a chance to get a degree in the things I loved the most because I came from a poor family... which has lead me to a path of self education and...
  17. M

    Solve Binary Long Division: 1010/1001

    Homework Statement I'm trying to divide 1010 by 1001 Homework Equations The Attempt at a Solution So far all I have is _1___________ 1001 |1010.000000000 1001 ------ 0001 I know that 1001 divides into 0001 0 times, but I don't know...
  18. L

    Ternary numeral system, how does it relate to binary issue

    Source: http://en.wikipedia.org/wiki/Ternary_numeral_system The last sentence in the quote from the Wikipedia has recently intrigued me. I understand that the logarithm function returns a value which when used as an exponent to the base n gives the original input value. Can someone...
  19. C

    Binary Search Root Error: Estimating Accuracy

    I have written a computer program that uses binary search to find the root to f(x) = 0, where f is an arbitrary (user-defined) function. If the rounding error \leq \epsilon and the truncation error \leq \delta, what is the estimated accuracy of the output? Would the following reasoning be...
  20. T

    How to Connect VHDL Counter Output to a Binary Decoder?

    Homework Statement structure or behavior VHDL code of a 5-bits binary counter with a sync. load signal to preset the counter to a specific initial state. the output of the counter (Q0 to Q4) are connected to a binary decoder that shows the state of the counter.Homework Equations The Attempt at...
  21. Y

    Where can I find examples of binary power plants for analysis and study?

    Hi, I'm looking for binary power plant example problems to work out. Does anybody know of any websites or links to books, or books in general which has some? Currently, I am trying to analyze a binary PP using propane, and for some damn reason the numbers keep blowing up when i get fairly...
  22. P

    Analysis of the Binary Insertion Sort algorithm

    Good morning, I implemented the Binary Insertion Sort algorithm in C++, and now I want to analyse its time complexity. This is the Insertion Sort algorithm, but the linear search technique (which is used for locating the position in which to insert a particular integer) is replaced by a binary...
  23. D

    Stats: How to combine the results of several binary tests

    (I asked this question in the Stack Exchange http://stats.stackexchange.com/questions/13014/how-to-combine-the-results-of-several-binary-tests" , but didn't get anything that was helpful to me.) I'm a programmer (former EE) working on a medical application. My last stats course was in...
  24. D

    What are the pitfalls in implementing binary search?

    On the website http://stackoverflow.com/questions/504335/what-are-the-pitfalls-in-implementing-binary-search, it states that the Pascal code (note that in Pascal, the array indexing starts with 1) PROCEDURE BinarySearch (A : anArray, Size : anArraySize...
  25. K

    How Do You Calculate the Distance Between Two Stars in a Binary System?

    Homework Statement 2 stars are separated by a distancce r, one star has mass 2/3M the other has mass 2M (M is a solar mass). The period of revolution is 5 years, calculate r. Homework Equations Fg=(GM1M2)/r^2 The Attempt at a Solution Ok so I know that the binary star...
  26. L

    Is the Universe Based on a Simple Binary Code?

    Hi Folks Off my usual forum for a wee change, thought I'd post some thought's for discussion on a long held view of mine. That the universe is based at it's smallest scale on a simple binary on / off switch and that as a fractal, the universe is throwing up the same designs on each scale...
  27. G

    Can Loan Default Probability Be Predicted from Personal Attributes?

    Dataset is given in file "tabl3.txt". I know it has something to do with Binary response and probably we should use GLM to model it. However, I kind of stuck with it. My problem is that I can do identify which variable is the response in this case. If I use \log \frac{p}{1-p}=default =...
  28. R

    Binary Number System Homework: Counting 1s in 162*9+162*7+16*5+3

    Homework Statement Number of 1 in the binary representation of the expression 162*9+162*7+16*5+3 Homework Equations The Attempt at a Solution obviously, anyone can add these numbers up and then convert to binary but what is the actual procedure for this type of format?
  29. S

    Discovering Binary Universe: Albert Einstein & Beyond

    Hello. I have just regestered to tell the world of my amazing theory. I have called it, Binary universe. Albert Einstin said that everything puts a dent in spacetime. If sapce is flat, there is 2 sides witch means 2 universes. One is ours, an there's another one. I call it UB ( Universe B)...
  30. B

    Binary Operations: Addition & Subtraction

    I am unsure what is meant by binary operation. Is the binary operation of addition : addition and subtraction or is it just addition?
  31. B

    A Binary Operator Symbol Identification.

    I am curious what the wikipedia page <http://en.wikipedia.org/wiki/Pythagorean_addition> is referring to when it qoutes that symbol " a Little X in a Circle ", It says and I qoute the binary operation a "that symbol" b = sqrt(a^2 + b^2), Pythagoreans Hypotenuse. Much abliged.
  32. W

    Use Binary expansion to show (0,1) ≈ all infinite subsequences of {X_n}

    Homework Statement {xn} is an infinite sequence and xi ≠ xj if i ≠j. Let A and B denote all finite subsequences of {xn} and all infinite subsequences of {xn}, respectively. Show that B ≈ (0,1). Homework Equations The Attempt at a Solution Using binary expansion, given...
  33. K

    Designing 8-bit Binary to BDC Converter

    Designing 8-bit Binary to BCD Converter I have to design and implement an 8-bit binary to BCD converter **using only ICs** I have an algorithm that works just fine in converting an 8-bit binary to BCD that can be sent to three 7-segment displays. It is called the double dabble method. Please...
  34. C

    How Do You Calculate the Mass of a Brown Dwarf in a Binary System?

    Hello! I'm struggling with a particular question, and have no idea where to look or seek help at the moment. It's driving me crazy! I have a feel I need to use Kepler's Third Law, but am unsure how to apply it in this situation. Here: Suppose you observe a binary system containing a...
  35. Femme_physics

    Binary phase diagrams - understanding the eutectic point

    1) So, does the binary phase always represent the materials 100% on each end? That is to say, if you have lead and antimony, the right side will always represent 100% of one of the two, and the other side will present 100% of the other. If we look in the middle of the diagram, it's 50-50%...
  36. M

    Number theory question - binary trees

    Here's the question. Starting with an integer a≥2, we write on its left, below it, the number a+1, and on its right, below it, the number a^2, and obtain four numbers, to which we continue the process. We thus obtain a binary tree, whose root is a. Prove that the numbers in every line of the...
  37. Femme_physics

    How come we haven't advanced since binary code?

    This may sound like a stupid question, but binary code seems so "simple", but it's been with us since the 1940's. What'd be wrong with tertiary code, say?
  38. D

    What are the other types of geothermal cycles aside from dry, binary

    What are the other types of geothermal cycles aside from dry, binary and flash?
  39. S

    Are Orbits of Close Binary Stars Truly Circular?

    in analysis of close binary stars, it is assumed that their orbits is circular and then by a rotating coordinate system, potential is obtained and then lagrangian points and so on... Is the orbit of CLOSE binary stars nearly circular in reality or is it assumed circular because otherwise it is...
  40. T

    Understanding Binary Relations: Reflexivity, Symmetry, and More

    Homework Statement Consider the following binary relations on the naturals (non-negative integers). Which ones are reflexive? Symmetric? Anti-symmetric? Transitive? Partial orders? a) A(x,y) true if and only if y is even b) B(x,y) true if and only if x < y c) C(x,y) true if and only...
  41. C

    VHDL code - write to a binary .dat file

    I'm attempting to write some simulation VHDL code that will be able to write the output of my simulation as a single string of binary values in a .dat file. So far I've used both the textio and std_logic_textio libraries to write the signals to a .txt file as text. Is there a library I can...
  42. S

    Binary in 2s complement form subtraction/addition help

    Homework Statement The following binary in signed 2s complement form. Perform the indicated arithmetic operations and verify the answers. Indicate whether overflow occurs for each computation. a) 110001 – 010010 b) 001011 + 100110 c) 101110 – 110111 d) 100111 + 111001 Homework Equations The...
  43. S

    What is the trigonometric parallax of a binary system?

    Hi It is stated that: "for a visual binary system, the measured trigonometric parallax is 0.3749+/-0.0057 arcsec." I don't know this angle is parallax of what? I can guess it like this: 0.3749+0.0057 arcsec is the parallax of the whole system when they are at most distance of each other...
  44. S

    The eccentricity of binary stars' orbits

    Hi As two stars orbit their mutual center of mass in elliptical orbits, why are their eccentricity the same? And why is it the same as the one of reduced mass around center of mass? Thanks
  45. M

    Astrophysics- unresolved binary star system

    Homework Statement Consider an unresolved binary star at a distance of 500pc consisting of an A1V dwarf and a K0III giant star. compute mb and mv and B-V for this object we know the mass, luminosty, radius, Mbol , Mv, Te , and B-V for each individual star. Homework Equations...
  46. S

    Binary encoding function problem

    consider the binary encoding function that sends (a1,a2,a3) into (a1,a2,a3,a1+a2, a2+a3, a1+a3,a1+a2+a3). First , how can I give a generator matrix of this code . then how can I provide the parity check matrix , giving n,k and the minimum distance of the code. Finall, how to decode m1=1100010...
  47. A

    Deriving Total Energy of a Binary System

    Homework Statement Beginning with the kinetic and potential energies of two objects with masses m1 and m2, show that the total energy of a binary system is given by: E=\frac{1}{2}\muv2 - G\frac{M\mu}{r} Homework Equations The one given K =\frac{1}{2}mv2 U = G\frac{Mm}{r} The...
  48. B

    How to Translate Machine Code Instructions to MIPS Assembly?

    Homework Statement Hey everybody! here is my question: Translate the following machine code instructions to MIPS assembly. What is the format of each instruction? 1. 0000 0000 0000 1010 0100 1010 1000 0000 2. 0000 0000 0010 0010 0010 0000 0010 0101 Homework Equations The Attempt at...
  49. B

    Converting MIPS Instructions to Binary for Computer Assembly Students

    Hey Guys! Thank you for checking out my Thread... I am taking a computer assembly class and i have homework due on Wed but i am stuck on a single problem. I have to convert MIPS instructions into binary, I want to learn how to do this because it will be on a test... and i could just go into...
  50. G

    Identity Element of Binary Operations

    Homework Statement Determine whether the operation has an identity element. x*y = 3xy Homework Equations e*x = x*e = x, if this holds, e is an identity element The Attempt at a Solution My attempt: x*z = z*x = 3xz, then 3xz = x <=> z = 1/3 => e = 1/3. But the answer key in the...
Back
Top