Binary Definition and 569 Threads

  1. C

    Diff between binary digits and memory.

    i'm doing a project on electronics while knowing nothing at all about it. after reading up i do have some basic info, but i think i also have quite a bit of misconception. based on internet research ,i know that RAM is created by semiconductors ( please correct me if I'm wrong) and binary...
  2. S

    32-bit floating point binary query.

    I’m hoping that someone will be able to clarify these questions that I have been given as I’m very confused. 1. Convert 56 832 into a 32-bit floating binary representation. 2. Convert the 32-bit floating point binary representation B28C0F34 into decimal. I have watched a couple of...
  3. S

    Binary Operation True or False statements

    State True or False for each statement: 1. A binary operation on a set S assigns AT LEAST ONE element of S to each ordered pair of elements of S. 2. A binary operation on a set S assigns AT MOST ONE element of S to each ordered pair of elements of S. 3. A binary operation on a set S...
  4. J

    MIPS Assembly Code - Convert instruction code to binary

    Homework Statement Write a single line MIPS assembly code as an input through the SPIM simulator console and the program will output a 32 bit MIPS machine code through the console. I'm using PCSpim to write the code. An example, I input this instruction in the console. addi...
  5. X

    Binary subtraction question using 2's complement method and an 8 BIT

    Homework Statement 00001101 bin * 00001000 bin -----------------------------------Homework Equations It's a binary subtraction question using 2's complement method and an 8 BIT register.There's no equation than,I guess. The Attempt at a Solution 11111111 <--1's "carried...
  6. F

    MHB Understanding Binary Long Division: Finding Zero Quotient Digits

    binary long division - updated with actual example Basically what I'm asking is when is a digit in the quotient 0? This is from an exercise where I'm supposed to fill in the boxes. I don't understand how they completed the parts that are given to me. Why is the first number 1 when 1111>1010
  7. A

    Can you have binary stars with the same radius but different masses?

    The title speaks for itself. I'm just curious and I couldn't find anything on it. Particularly, what if they are a close binary (period less than 50 days)?
  8. G

    Isomorphism and Binary operation

    Homework Statement (i) If (X,*) is a binary operation, show that the identity function Id_X : X \rightarrow X is an isomorphism. (ii) Let (X_1, *_1) and (X_2, *_2) be two binary structures and let f : X_1 \rightarrow X_2 be an isomorphism of the binary structures. Show that f^-1 : X_2...
  9. X

    How do I convert a number with a decimal point to binary?

    Homework Statement I don't know how to convert the number 148.3 to binary form. Homework Equations Just having a decimal point really throws in a monkey wrench in the "keep dividing by and if a number halfed has a decimal point ignore the after decimal point stuff two" procedure...
  10. H

    Investigation of binary numbers

    Hi :-) I have questions regarding the binary properties of numbers. I would like to discuss some very specific attributes of "scalar" values. IF the goal is to compile a pattern recognition algorithm instead of training it with test sets, Then I am investigating a method for the compilation of...
  11. R

    How to Design a Digital System for Multiplying Binary Numbers?

    Homework Statement Design a digital system that multiplies two binary numbers by the repeated addition method Homework Equations The Attempt at a Solution
  12. B

    Efficiently computing the parity of the Hamming weight of a binary sequence

    Hello, I'm wondering if there are any tricks to quickly determine the parity of the weight of a binary number, i.e., whether it's even or odd. I'm not interested at all in the actual weight of the number, but in the parity of it. I know that if say x = a XOR b, then x has odd weight iff...
  13. M

    Comp Sci Write a Java program to convert binary numbers to decimal numbers.

    Use a loop to read (charAt()) each digit (0/1 char) in the input string, scanning from right to left; Use the loop to build the required powers of 2; Use a conditional statement to deal with 0 and 1 separately; Debug using simple input, e.g. 1, 10, 101, and print intermediate values in...
  14. B

    C/C++ Counting '1' Bits in Binary Blocks - Fast C++ Code

    Hi, For example, say we have the binary integer 101010 and I split it into blocks, say (1)(01)(01)(0). The size of the blocks is determined by some function. We want to count the number of '1' bits inside each of these blocks. I'm interested in a fast C++ code to do this. There are fast...
  15. C

    MHB Probability of binary consecutive occurence with unequal probability

    I have been with this to some forums but it didn't help and I was advised to come to this one, so here is the question. My task is to compute given N - length binary series and P = p(0) and 1-P = p(1) expected number of consecutive occurence of 0 or 1 of k - length. For example 10011100 has...
  16. B

    Extension of Binary Connectives to n-valued Logic?

    Hi, All: Just curious as to whether there is some sort of canonical extension of the standard binary connectives: and, or, if, iff, etc. , to n-valued logic. I imagine this may have to see with Lattices, maybe Heyting Algebras, and Order theory in general. Just wondering if someone...
  17. A

    GARCH fitting to binary data / latent data

    Dear all I am trying to fit a simple ARCH(1)/GARCH(1,1) model to a set of binary data, i.e. I assume a latent GARCH process that is only observed at the values a and b, say (whenever it crosses or hits those thresholds). I found some ideas on fitting a censored GARCH (by SX Wei, for example...
  18. D

    Opening a Binary File in Command

    How do you open a binary file in command in Pelles C so that it is readable?
  19. S

    Black hole acreting binary -magnetic fields

    In a white dwarf acreting binary we would make distinction between thsoe with weak magnetic field that make an acretion disc and those with strong magentic fields where the material from the larger star gets funneled along the field lines. But in a black hole binary all of the energy is...
  20. S

    Nuetron Star Binary: Acretion Process Differences

    The acretion process between a white dwar binary and blakc hole binary is significantly different as the black hole has no solid surface. So am I right to presume that a neutron star binary should be the same process but with higher energies than than white dwarf case?
  21. T

    Non-restoring division of binary numbers

    I'm trying to divide 1011001 / 10 using the non-restoring division method. This is what i get: http://prntscr.com/8aecs . The remainder is not correct(it should be 0001 and I'm getting a 0111) and I'm wondering where is the mistake.. I've checked about 10 times and i don't see the problem. Can...
  22. K

    Determining Sign of Binary Numbers & 4-Bit Subtracter

    how can you tell if a binary number is negative or positive? 1111 <--- how do you know if this is 15 or -1? and for my project i have to make a 4 bit subtracter using LED lights to show 1's or 0's. Do I just leave it in 2's complement form?
  23. J

    How to avoid rounding off in binary representation

    Homework Statement Is the fundtion defined f:P(\mathbb{N}) \to [0,1] by f(X) = 0.a_{1} a_{2} \dots in binary representation where a_{k}=1 if k\in X and otherwise 0 one-to-one? (*note: N does not have 0) If not, can you change bit so that the changed funtion becomes one-to-one...
  24. D

    AVLTree program and Binary Tree program help

    Homework Statement Write a java program to construct an AVL tree and then generate 100 random numbers to insert to this tree and then delete randomly 50 of these random numbers from this AVL tree. (use the AVL tree animation of your book to understand the bahavior of the this tree in the...
  25. T

    Using PC SPIM and converting hex and binary

    Hi there, new to the forums, but in need of assistance. I have been looking around and have found some helpful stuff on this site. I found myself visiting this site more then once, so i decided to make an account. Anyways my problem is I have to choose any two mips instructions from this code...
  26. V

    How to use S-metric to periastron precession of binary stars

    The Schwarzschild metric allows to calculate the precession of an elliptic orbit of a particle around a large central mass, provided the mass of the particle is much smaller than the central mass M. This condition is not met in the case of binary stars m1 and m2 revolving around each other...
  27. H

    Binary stars ,time period of orbit?

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

    MHB Complexity of Algorithm to calculate number of nodes in a binary tree

    I guess this is the first question on partly CS topic in this forum. But I think you guys will be able to help me. I have an algorithm which goes as follows: int CN(struct node *node) { if(node==null) return 0; return 1 + CN(node->left) +...
  29. Loren Booda

    Binary vs. continuous data outcomes

    On the average, which provides more information: yes/no answers or answers neither yes nor no? Just asking.
  30. F

    How Do Eclipses Affect the B-V Index of Identical Binary Stars?

    Hello. Given a binary system with two identical components (in particular de B-V index of both is the same), how would you calculate the B-V index of the system? and, how would it change during eclipses? I have my own answer, but want to contrast it against yours.
  31. M

    Planetary Systems within Elliptical Binary Stars?

    I read this article in Nature (http://www.nature.com/nature/journal/vaop/ncurrent/full/nature10768.html) as it describes two circumbinary planets. If it is assumed that most stars have a planet orbiting it and most Binary Star systems are elliptical, then wouldn't the majority of Binary Stars...
  32. C

    Calculator buttons using flip-flips to store numbers as binary?

    Is it possible to use flip-flips to store numbers inputted, for example if i input 5, current will go to 4x nand flip flip and store 0101 and the next digit to be calculated, any ideas on this?
  33. B

    How Can Binary Vectors Be Ordered Through Transformation?

    Hi, This is my first post and I must worn you that I'm not a mathematician. I am just a regular blonk looking for help concerning the following problem. What i have is a set (T) of binary vectors:A: 100110 B: 000110 C: 010110now what i am trying to figure out is there a transformation, a...
  34. F

    Comp Sci C++ Binary Search Tree preorder printing tree problem

    Q.When run the program should ask for an input file containing integer keys to be added to the search tree. The file will contain one key per line. Add these keys in the order given in the file to the search tree. Then print the entire tree using preorder traversal i.e., root, left-child...
  35. I

    Math Proof: Uncountable binary sequence and a bijection from R to R-{0}

    Homework Statement Question 1: Prove that the cardinality of R (the set of all real numbers)is the same as the cardinality of R-{0} by constructing a bijective function from R to R-{0} Question 2: Let A be the infinite sequence of binary numbers as follows: A={(a1,a2,a3...)|ai= 0or 1 for...
  36. Z

    Apparent magnitude of a binary star system

    Homework Statement A binary star system consists of a hot main sequence star (m=0.5m) and a red giant (m=1.2m), the parallax of the system is p=0.0012". Calculate the apparent magnitude of the system. Homework Equations I have b1/b2 = 2.512^(m2-m1) and p=1/r The Attempt at a...
  37. C

    Observed planets in binary star L4 or L5?

    It seems to me, from my understanding of the Lagrange points, that a binary system with the appropriate mass ratio between stars could support planets in the L4 and L5 Lagrange points (I've encountered this, actually, in science fiction; Larry Niven put such a planet in the Procyon system for...
  38. C

    Binary stars apparent and absolute magnitudes

    Homework Statement A binary star system has two star of equal luminosity. The apparent magnitude of the two stars together is 11.2, and they are at a distance is 76pcs. How do I work out the apparent and absolute magnitudes of just one star? Homework Equations m=-2.5log(L)...
  39. teroenza

    What Are the Orbital Periods of Binary Pulsars?

    Hello, I am doing a very brief presentation for school on gravitational radiation and wanted to include a figure for the orbital periods of binary pulsars. I can find the rotation rates of individual pulsars on Google but can't find a figure for orbital periods of binaries. This does not...
  40. L

    Binary Star System: Kinetic Energy of an approaching Comet

    A binary star system has two stars, each with the same mass as our sun, separated by 1.6x10^12 m. A comet is very far away and essentially at rest. Slowly but surely, gravity pulls the comet toward the stars. Suppose the comet travels along a straight line that passes through the midpoint...
  41. L

    Photometry: Determining a binary star system.

    Homework Statement By performing CCD photometry on a pair of nearby stars A and B we obtain their relative magnitudes in the V filter and their colors: Star A: mV = 8.70 , (B − V )= 1.30 Star B: mV = 11.90 , (B − V )= 1.81 Star A is known to be a of a main sequence K0V type, while no other...
  42. E

    Binary Addition Homework: 010110000000000 & More

    Homework Statement 010110000000000 011001000000000 001100010000000 100100001000000 110100000000100 111100000000001 + ------------------- Homework Equations The Attempt at a Solution The answer I get is 1010111011000101 but I have used MATLAB and the first four digits are...
  43. A

    EXCEL - Binary to Decimal Worksheet

    Ok, this one exercise is really getting to me. Either I missed something, or our prof hasn't gone over any of this. I was hoping someone could decode this for me. Question: ____________________________________________________________________________...
  44. 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?
  45. 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...
  46. 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...
  47. 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...
  48. 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...
  49. 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...
  50. 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)
Back
Top