Binary Definition and 603 Threads

  1. D

    Delete operation on binary search tree

    The following diagram is from the section in my notes titled "Operations on Binary Search Trees". Specifically it explains via pseudocode how to implement a delete function for a BST: http://img410.imageshack.us/img410/4225/deletetreexz0.jpg What I don't understand in the 2nd box is why...
  2. B

    Rotating binary star system & three star system

    Homework Statement 1) Astronomers discover a binary star system that has period of 90 days. The binary star system consists of two equal mass stars each with a mass twice the sun's. They rotate about the center of mass at the midpoint between them. How far apart are the two stars? 2)...
  3. S

    Binary Multiplication with Signed Numbers: Solving 15X-7

    Perform the following operation in binary: 15X-7 The Attempt at a Solution I tried getting help on the engineering board, but nobody has helped yet, so I figured I would try over here... - I can't seem to figure this one out for some reason. My first attempt, I used...
  4. S

    Why Does Multiplying 15 and -7 in Signed Binary Result in -105?

    15X-7 The Attempt at a Solution - I can't seem to figure this one out for some reason. My first attempt, I used 1111(15)X1001(2's complement of 7), but I can't get the right answer. I believe that the answer should come out to be the 2's complement of 105 since the actual answer is...
  5. A

    Binary star system and Apparent magnatudes

    [SOLVED] Binary star system and Apparent magnatudes I was asked this questing in my tetbook and can't figure out how to do it. Suppose there is a binary system made up of two identical stars, each with an apparent magnitude of +4.1. However, from our 40 cm telescope they appear as one star...
  6. D

    Why Computers Use Binary Number System

    I have no idea where to put this thread, so I'm trying out this forum. Why do computers use the binary number system instead of other n-base number systems? I did a Google search and I saw that one explanation was that in a circuit, certain devices are either turned on or off (1 or 0) which...
  7. T

    Java A question about binary tree(java)

    ok my gole is to build a software that takes a numbers and splits it like this into nodes of a tree 48 8 6 2 4 2 3 1 2 2 1 2 1 3 1 2 i have tried some code but it doesn't give me the right resolt i tried to implement it in this code...
  8. S

    Constructing a binary tree from inorder and postorder traversals

    Homework Statement Construct the tree from the following traversals Preorder: EXAMFUN Inorder: MAFXUEN The Attempt at a Solution E / \ X N...
  9. M

    Trajectory of a Test Particle in a Semidetached Binary

    Hello, I am currently trying to figure out how I can use Microsoft Excel to calculate the ballistic trajectory of a test particle released from the inner Lagrange point in a semidetached binary. To keep things simple, I am using a two-dimensional coordinate system, and I am assuming that the...
  10. T

    Java How to Calculate Leaf Node Difference in a Binary Tree Using Recursion?

    there is a given binary tree each of member are of a Node type class Node { int info; Node left; Node right; } in the info part of each node we have a number. in each one of his leaves we have some number and in each one of its roots (crossroads) we have zeros. my gole is to...
  11. K

    Show Zm with binary operation is a group

    Homework Statement Let m\inN. We defined a binary operation on Zm:= {_{}0,_{}1..., _{}m-1}. Show that Zm together with this binary operation is a group. (Hint. For associativity you need to distinguish several cases) Homework Equations The Attempt at a Solution I don't know what...
  12. D

    How to determine if a binary relation R on M is a bisimulation?

    Let M be a system (possibly proper class-sized directed graph where the class of children of a given node is a set). A binary relation R on M is a BISIMULATION if R\subset R', where for a, b\in M aR'b \Leftrightarrow ((\forall x \in a_M\exists y\in b_M xRy) \wedge (\forall x \in b_M\exists y\in...
  13. H

    C/C++ Code : Binary Search Tree C++

    #include <iostream.h> #include <conio.h> #include <stdio.h> void main() { struct znode // binary search tree node { int data; // data type is integer struct znode * left; // left subtree struct...
  14. S

    How can I calculate the errors in using Doppler shifts for binary stars?

    hey guys, im doing a report on binary stars, using doppler shifts to get some results for periods etc but bit unsure about how to do the errors? i realize that the errors arise in the speed of the stars and the dispersion of the photons but how could i calculate this? cheers for any help x
  15. S

    Apparent magnitude of binary star?

    [SOLVED] Apparent magnitude of binary star? Homework Statement A binary star has a total apparent magnitude of 15.00. One component star is twice as bright as the other. a) Show that the apparent magnitude of the brighter star is 15.44. b) The fainter star has an apparent magnitude of...
  16. H

    Observed radial velocity of a Binary Star system

    Homework Statement Consider a double-star system with two stars, A and B, in circular orbits of the same period T about their center of mass. The Earth is in the plane defined by these orbits at a distance R of many light-years. Let the speed of A in its orbit be u; then at any instant it has...
  17. B

    Solving a max() Function with Binary Operators

    Hey i was wondering if someone could help me express this using standard binary operators. f(x,y,z)=\frac{max(0, (x-y) )}{z} i.e. Eliminate the max() function and write it using proper math. EDIT: max(a,b) simply chooses the largest value of the two variables.
  18. G

    How Can I Convert a Barcode Signal to 8-bit Binary Code with LEDs?

    I am currently working on a project to build a barcode scanner. I have built the apparatus to detect a signal and am able to view this signal on an oscilloscope, however I am wondering if it is possible to build a circuit to output this signal as a binary code on a series of LED's (or something...
  19. A

    Orbital Energy of a binary star system

    Homework Statement Say you have a binary star sytem. Both stars have mass M and semimajor axis a. The orbits are extremely eccentric (e is approximately 1). How would you describe the energy of the system? Homework Equations SEE BELOW The Attempt at a Solution Basically I'm very...
  20. N

    Binary relation in a cartesian product

    How many binary relation can be formed from the cartesian product below: A = { 1 , 2 } & B = {a } i know there are two ordered pairs in this cartesian products A * B. i also know that there are 4 binary realtions. could someone please write those four relations for me, i am really...
  21. G

    Generating a Binary Matrix in C

    Does anybody know how to generate a random matrix with entries 0 and 1 only(binary matrix). Numbers of 1 and 0 are fixed every time matrix is generated. Possibly a program in 'C'. Thanks
  22. F

    Convert Numbers to 12-Bit Binary Using 2's Complement

    Homework Statement Covert the following numbers to 12-bit binary numbers using two's complement representation. 234 -234 Homework Equations None I know of. The Attempt at a Solution I think I'm making this more complicated than it really is. For 234 I can just convert right to...
  23. S

    Decoding Binary Number 1100011: What Base 10 Number Does it Represent?

    Homework Statement In the binary number system 1100011 is the name for the largest 2 digit palindrome in base ten. What base 10 number does this binary number represent? Homework Equations None The Attempt at a Solution My question about this problem is the 2 digit part is...
  24. E

    Closed Orbit of Binary Planet System: Calculate Y-Velocity at (0,1)

    Homework Statement I have two planets of equal mass at points (0,-1) and (0,1) on my axes and I want to find the y-velocity of the planet at (0,1) that will make this a closed orbit. We can uniquely determine the y-velocity of the with this because linear momentum must be zero. Any ideas? What...
  25. V

    Field of Eschatology pertaining to the binary star Wormwood

    Field of Eschatology pertaining to the binary star "Wormwood" Doe sanyone have any information of the binary star "Wormwood" can they offer any insight as to how it coinsides with the book of Revelation chapter 8
  26. T

    Binary numbers (fundamental) question

    I have 2 questions: FIRST I read from John H. Mathews’ Numerical Methods using MATLAB, 3E that the number 1563 can be expanded in form of 10-base expansion as: (1 × 10^{3}) − (5 × 10^{2}) + (6 × 10^{1}) + (3 × 10^{0}) …......... (1) Which results 1000 − 500 + 60 + 3 equal to 563...
  27. O

    Is Binary a Fit Numbering System?

    Allright, now we know using the decimal system you can represent any number you want because you use a base 10 system. my question about the binary system is: you can very well represent numbers from 0 to 255 using 8 bits. Now, how can you show that you can represent EVERY number between these 2...
  28. 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...
  29. 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...
  30. 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...
  31. P

    Binary Jacobi Symbol Algorithm: Add, Subtract & Shift

    Jacobi Symbol - Binary NOTE: if its past 8:30 AM Eastern Time, don't worry about it. thanks for the consideration The Question: Exercise 13.1. Develop a “binary” Jacobi symbol algorithm, that is, one that uses only addition, subtractions, and “shift” operations, analogous to the binary...
  32. 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...
  33. J

    Masses of binary system (quick q)

    I have this problem: Given is period of an eclipsing binary star system is 34 days, rest wavelength is 6563 angstroms while max doppler shift of 2.34 angstroms I used the doppler equation to figure out the orbital speed of the star; now the question says to use the simplistic model of...
  34. 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?
  35. 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...
  36. S

    Spectroscopic Binary problem fast

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

    Why Computer Use Binary Logic (0,1): Exploring the Reasons

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

    I need some serious help here soon Astronomy Binary stars

    This problem deals with two main sequence stars in an eclipsing binary star system. I need to determine the system's peiod and separation (P and a). Right now i know that the brightest star has an absolute magnitude of -1 (219 solar luminosity), is 17,000 degrees kelvin, has a radius of...
  39. 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...
  40. 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...
  41. 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...
  42. R

    Quick Binary Representation Help

    Homework Statement What is the range of a 11bit code, using c. Unsigned fixed-point with 8 binary places Homework Equations Base conversions 2^n where n is bits, for range/precision The Attempt at a Solution I have two ideas: 1) The highest value that can be represented is...
  43. 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...
  44. 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}...
  45. 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"...
  46. 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.
  47. 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...
  48. R

    Synchronous 4-bit Up/down Binary Counters

    http://palantir.swarthmore.edu/maxwell/courses/e015/F06/labs/lab01/74191.pdf I have this IC with me, and I have to draw the timing diagrams. I'm doing good so far, except that during the middle of a clock pulse, the U(not)/D changes from 0 to 1 (counting up to down). It happens dead in the...
  49. 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
  50. 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...
Back
Top