Binary Definition and 569 Threads

  1. M

    Minimization with a binary to seven segment decoder in Verilog

    Hey guys, I have two questions about something I'm trying to minimize. I'm making a binary to seven segment decoder in Verilog, and I have a truth table set up. The board I'm going to be placing this on is active low. My questions: I want to reduce, or minimize, this truth table, I was...
  2. J

    C/C++ Creating a Binary Matrix with C++ Code

    I want to build a binary matrix (with 1 and 0 entries) with all possible combinations, say for example if n is the number of entries of one row of the matrix, then 2^n is the total number of different entries in the matrix. For instance, for n=3, 2^n = 8, so we would have the following matrix...
  3. D

    Binary symmetric channel capacity

    Hi to our nice community. I want to learn why in a binary symetric channel the channel is calculated as C=1+plogp+(1-p)log(1-p) I only know that the channel is denoted as C=maxI(X;Y) btw what ; means in X;Y? Unfortunately my book doesn't mention these things so if u can reply me or...
  4. T

    Learn Binary Arithmetic: Two's Compliment & Multiplication

    I was wondering if anyone could suggest a resource to help me understand binary math better. Specifically I am having trouble two's compliment problems and binary multiplication. An example of where my thought process is getting confused: 1110 * 010 The answer given for this example...
  5. S

    How Is Total Radial Velocity Determined in Binary Stars?

    I know that in spectroscopic Binaries, you can observe wavelength shifts in each star. But how do you determine the total radial velocity of this system alltogether, and how do you find each star's radial velocity?
  6. S

    How can I solve a spectroscopic eclipsing binary system problem?

    i have been trying to do this problem for an hour and i have no clue what to do for it... please help me It's on the 4th page down and it is called "Spectroscopic eclipsing Binary System" htt p://www.tufts.edu/as/wright_center/fellows/sci_olympiad/Spok_2000_C_Instrcs_&_Quests.pdf...
  7. C

    Why Do Computers Use Binary Logic Instead of Ternary?

    Why computer use binary logic (0,1) instead of use a ternary or something else?
  8. S

    Eclipsing binary problem im really frustrated

    Eclipsing binary problem! I am really frustrated! I have been looking at this problem for a while and i am really getting frustrated. I asked my astronomy teacher, but we are both stumped. This isn't graded, but i really need to learn how to do it for science olympiad. Here it is. I have...
  9. S

    Physics/astronomy eclipsing binary problem help

    physics/astronomy eclipsing binary problem! help! I have been looking at this problem for a while and i am really getting frustrated. Here it is. I have an eclipsing binary system with a period of 1 year. Star Q has 800 solar luminosities, while the other star, star R, has 5 solar...
  10. A

    Measuring Gradient Strength in Binary String Mixtures

    I am working with a program that produces a polydisperse mixture of binary strings. I was wondering if there was some methodology that exists that can measure the 'gradient strength' along each chain, ie, possibly some parameterization that can quantify this for something like 0001111 vs...
  11. M

    How many binary relations in a set of 8

    Hello everyone. This problem has a few parts, and I'm on the last part and I'm having troubles and im' guessing my way is not the correct method. But here is the question. Let A be a set with 8 elements. a. how many binary relations are there on A? answer: A binary relation is any...
  12. M

    Binary Relations and Transitivity: Finding the Transitive Closure

    Binary Relations--Transitivity Hello everyone I'm not sure if I'm hitting all the ordered pairs on this because i can't seem to find a good method to figure it out. I also think the relation to itself is confusing me. here is the question: S is a binary relation defined on A = {0,1,2,3}...
  13. C

    C program (string - binary to decimal conversion)

    here's what i have: #include<stdio.h> #include<string.h> main() { char string[32]; int sum = 0; int a = 1; int i; printf("Please enter numbers:\n"); gets(string); for (i=32;i<0;i--) { if(string[i] ==1) { sum = sum + a; } a = a * 2; printf("The converted string is: %s \n"...
  14. L

    Exploring Binary Pulsar Mechanics: Lagrangian Formulations

    Anyone got an idea of where I can get some information on the mechanics of binary pulsars? Especially the Lagrangian formulations are of interest.
  15. B

    Gas binary system vinyl chloride - water

    hello, how I can calculate the composition of a gas binary mixture of vinyl chloride and water knowing that I have only the following informations: the water is saturated by the vinyl chloride the pressure of the mixture is 4bars or can you tell me what I have to look as information to...
  16. S

    Margules' 3 suffix equations for binary solution derivation

    Indicate briefly how the Margules' 3 suffix equations are derived for a binary solution. ln gamma1 = [A12 + (B12 - A12)x1](x2)^2 ln gamma2 = [B12 + (A12 - B12)x2](x1)^2 Any idea how this would be shown.. :S
  17. H

    Determining Mass of Binary Star Systems Using Center of Mass Method

    Hi, I'm new to these forums. Gonna give the homework help section a spin =] Here's my question: (a) About half of the visible "stars" are actually binary star systems, two stars that orbit each other with no other objects nearby. Consider the motion of the center of mass of a binary star...
  18. T

    C/C++ Why Am I Getting Errors in My C++ Binary Tree Implementation?

    I'm trying to write an address book that is based on a binary tree. I'm devloping in Visual C++ (I blew up my Ubuntu with the new dist), starting with the basics: #ifndef binarySearchTree_h #define binarySearchTree_h #include <string> #include <iostream> using namespace std...
  19. C

    Varibles/Eclipsing Binary systems

    Hey, What are the most common eclipsing binary stars and variable stars to observe with periods of a few hours? Im observing from Ireland. Thanks
  20. radou

    Group Definition: Closure Not Required?

    In the definition of a group on mathworld, http://mathworld.wolfram.com/Group.html" , implies closure, so, isn't it unnecessary to talk about the property closure in the definition of a group?
  21. C

    Complete preorders (and other binary relations)

    Is there a commonly-used name for a complete preorder (a transitive and total relation, Sloan's A000670 and A011782 for labeled and unlabeled, respectively) within set theory? (Not a total order, mind you -- it need not be antisymmetric.) I've heard the term "weak order", but that's from the...
  22. P

    Need help reading and writing from binary file

    I'm writing a large amount of data to a binary file. Trouble is, I don't know how much until the program finishes executing. Given this, I'd like to rewind back to the beginning of the binary file and write an element indicating how many records I wrote to the binary file - this way I can...
  23. Oxymoron

    Representing Sets as Binary Trees

    I'm using the definition of a full binary tree which is a graph where there is exactly one path between any two vertices, there is a root, and where every vertex has either two children or none at all. If I had the following graph: * that is, just the root, then could I construct the...
  24. G

    How Do You Debug a Parent Method in a Red-Black Tree?

    Hello, I am having some trouble with my red and black tree. I made up a parent method which finds the node before the node and then sets an iterator to that node. The code is below: private RBNode parent(Comparable x, RBNode i) { RBNode tmp = new RBNode(null,null,null); if(i==null ||...
  25. P

    Is Our Sun Part of a Binary Star System?

    http://www.spacedaily.com/reports/Evidence_Mounts_For_Companion_Star_To_Our_Sun.html the above article seems to suggest that we are part of a binary star system. I thought (or rather assumed) that astronomers would have done a thorough scan of our neighborhood by now - so why hasn't anyone...
  26. J

    Seeking 64-bit Linux Compiler for Fortran 95 Binary

    hi, I was wondering if anyone was running 64-bit linux. In particular, I need someone to compile a 64-bit fortran95 binary for me.
  27. J

    Non-Negative Integer Binary Concatenation: Is This an Irrational Number?

    I am interested in the following number which is obtained by concatenting the binary representations of the non-negative integers: .011011100101110111... i.e. dot 0 1 10 11 100 101 110 111 ... This is a little bigger than .43 and I assume it irrational since no pattern of bits repeats...
  28. C

    Calculating Mass of Stars in a Binary System

    Q: Suppose that a binary star system consists of two stars of equal mass. They are observed to be separated by 340 million kilometers and take 5.0 Earth years to orbit about a point midway between them. What is the mass of each? I figured out that: mass=4pi^2(radius)^2/Gravitational...
  29. N

    Gravitational Forces of binary star

    I have this problem: The question says: A binary star system has two stars, each with the same mass as our sun, separated by 1x10^12m. 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...
  30. G01

    Distance between Binary Star Systems

    A binary star system has a period of T=90 days. Each star is 2X the mass of the sun. They rotate like a dumbell around the center of mass. what is the distance d between them? OK first, Mass of sun = 1.99 X 10^{30} kg Lets concentrate on one of the stars rotating around the center of mass...
  31. S

    Digital circuit: multiplying 2 binary numbers

    "Design a digital circuit that multiplies two binary numbers by the repeated addition method (to mult. 5x4, the digi system evaluates the product by adding the multiplicand fours times: 5+5+5+5=20). Let the multiplicand be in register BR, the multiplier in reg AR, the product in reg PR. An adder...
  32. B

    Why does the professor stop converting at the fourth digit?

    I am sorry to bother you people again and I don't really know if this is the right place to put it. my great professor shows us in pdf format that 0.83(decimal)=0.1101(binary) because 0.83 x 2 = 1.66 carry 1 0.66 x 2 = 1.32 carry 1 0.32 x 2 = 0.64 carry 0 0.64 x 2 = 1.28...
  33. M

    Binary to decimal confusion signed numbers

    binary to decimal confusion! signed numbers! OKay this makes no sense to me... THe directions say: The following binary numbers have a sign in the leftmost postion and if negative, are in 2's complement form. Perofrm the indciated airthmeic operations and verify the answers. So i have...
  34. M

    Binary adding/subtracting, am i doing this right?

    Hello everyone, I'm alittle confused, we have an exam tomarrow and i want to make sure I'm doing this right. I'm suppose to do the following: Perform the indicated subtraction with the following unsigned binary numbers by taking the 2's compliment of the subtrahend. so for one of them...
  35. I

    Multiplication in R=\mathbb{Z}_5 \times \mathbb{Z}_5: Operations and Definitions

    How is multiplication in R=\mathbb{Z}_5 \times \mathbb{Z}_5 defined? if (a,b) and (c,d) is in R, what's (a,b)(c,d)? (ac,bd)?
  36. B

    Proof of gcd and lcm properties for prime factorizations

    If n has k digits in its binary numeral, show that there are at most 2^k/2 numbers n. Can there be exactly 2^k/2? I tried to understand this question with an example so I took n=36 which has the binary number 100100; k=6 but 2^k/2n gives 2^3 36 but 8 is not less than or equal to 6? Any help...
  37. J

    Astrophysics - Can there be a contact binary from white dwarfs

    Question: A typical white dwarf has a mass of 1 solar mass and a radius of 10 thousand km. A typical neutron star has a mass of 1.5 solar masses and a radius of 30km. Given that there's a natural speed limit in Nature, namely the speed of light, is it possible to have a contact binary...
  38. M

    Is the LuniSolar theory a legitimate scientific theory?

    Any thoughts on this, fellas? I have not read the book nor viewed the documentary (narrated by James Earl Jones) but I have read a few articles, and, well, precision is a complex sport, so I am intrigued with the notion...I am no astronomer though, only have a layman's fascination...
  39. F

    Request for help - math problem using binary code

    Hello I have math question that I am struggling with that apparently can be solved using code (or reasoning - I tried that and mine didn't work. GO figure :confused: ). Can anyone help me out? Here is the question: A coffee club with 8 membres meet every MOnday Wednesday and Friday...
  40. M

    Decimal to binary, Decimal to Octal confusion

    Hello everyone, I realize this is really basic stuff and mainly pointless considering calculators can do it for you but I'm still wondering on why this isn't working out right. I'm in a digital design class and he showed us a method for converting decimal to binary and it seemed easy and seemed...
  41. B

    Let R be a binary relation on a set X

    i have a statement: Let R be a binary relation on a set X. R is reflexive if (x, x) belongs to R for each x belongs to X. what is a binary relation? what does the (x, x) mean? how can x be both the input and output? and finally...i see the book i have has IdX where X is a subscript. and...
  42. W

    Stability of Binary System with Anti-Particle Circulation in Quantum Physics

    Hi, I have a question about anti-particle. In the modern physics, we "know" (I don't think we really know it) the reason, why the shell electron did not collapse into its ion core, because of quantum theory. But is it possible a electron "circulate" a positron without annihilation. Is there...
  43. E

    What is exactly the definition of a complete binary tree?

    Hi Ho! ^_^ Actually, what is the definition of a complete binary tree? I have searched the Internet and come up with several definition. This problem is confusing enough. According to http://planetmath.org/encyclopedia/CompleteBinaryTree.html , "A complete binary tree is a binary tree...
  44. M

    Binary Sequence: What Comes Next?

    Not sure if this has been done... I sort of discovered this sequence myself, but who knows... 01000101010001000100010101000101... What comes next?
  45. B

    Proof of Binary Quadratic Forms and Modulo Squares with Hint

    show that if a number n is represented by a quadratic form f of discriminant d then 4an is a square mod |d|. I have no clue how to even start this proof. I tried using the jacobi symbol.. but it's not gettin me anywhere. Could someone give me a hint.. :confused:
  46. E

    Efficient 4-Bit Binary Subtractor Design Using Half-Adders and Full-Adders"

    Hello folks : the task is to design a circuit which subtracts 4 bit binary number a3,a2,a1,a0 and b3...b0. the MSB is a sign bit. Assume that you are given half-adders and full-adders, i.e. you don't have to design the logic of the half-adder or full adder chip. the two numbers are fed...
  47. N

    Proving the Number of Nodes in a Full Binary Tree

    I need to prove that for any full binary tree with N\geq1 leaves, that it has 2N-1 nodes. I can see this when looking at a tree, but I can't figure out how to prove this.
  48. Clausius2

    Binary Gas Mixture Physical Properties & Local Viscosity, Diffusitivity

    I am searching for the physical properties of a binary gaseous mixture. In particular, I would want to know the local viscosity \mu and local mass diffusitivity D of any binary mixture of gases, as a function of the local mass fraction of each other. I have not found nothing in Google...
  49. L

    Binary Stars: Moment of Inertia & Angular Momentum

    two stars, A and B, are in circular orbit of radii r1 and r2, respectively, about their common center of mass. each star has the same period of revolution T. Determine expressions for the following two quantities in terms of the stars' masses, radii and T. 1- the moment of inertia of the...
  50. D

    What is the concept of concentrated mass?

    A little confused, could someone explain what it means when it is said that "the point in a body or a system of bodies, at which the total mass of the body or system may be regarded as concentrated".(definition of Center of mass) What does it mean concentrated? I'm trying to understand the...
Back
Top