Binary Definition and 613 Threads

  1. chwala

    Express the decimal number ##43## as a binary number

    I have ##43=1⋅2^5 + 0⋅2^4+1⋅2^3 + 0⋅2^2 + 1⋅2+1## Therefore, ##43= 101011## any insight welcome...new area to me.
  2. P3dr0

    A Non-sinusoidal waveform model

    Hi, I am a ninth-grade student from Portugal with nothing to do, and I have decided that I want to build a simple regression algorithm in Desmos (the online calculator) to fit random binary inputs and maybe predict the next binary digits (although that part may take a considerable amount of...
  3. R

    B Binary variables (Absolute values)

    Hello, According to https://www.fico.com/fico-xpress-optimization/docs/latest/mipform/dhtml/chap2s1.html?scroll=ssecabsval the formula for absolute values are : y = | x1 - x2| for two variables x1, x2 with 0 ≤ xi ≤ U Introduce binary variables d1, d2 to mean d1 : 1 if x1 - x2 is the positive...
  4. Malapine

    Habitable planet at L4/L5 of binary gas giants?

    Would it be plausible to have two gas giants orbiting each other, a few million km apart, with a terrestrial planet at their mutual L4 or L5 point so that they both appear as visible disks fixed in the sky? Or would the terrestrial planet not be stable there and end up ejected?
  5. Mayhem

    B Operator that returns unique number of binary matrix

    If we have an arbitrary square matrix populated randomly with 1s and 0s, is there an operator which will return a unique number for each configuration of 1s and 0s in the matrix? i.e. an operation on $$ \begin{pmatrix} 1 &0 &0 \\ 1 & 0 & 1\\ 0 & 1 & 0 \end{pmatrix} $$ would return something...
  6. P

    Binary operation on equivalence classes

    So, my approach and solution are as follows: $$ [x * y] = \{ z \in M : z \sim (x * y) \} $$ Since we know that ##a * b \sim a^{\prime} * b^{\prime}## we can rewrite ##z## as ## x^{\prime} * y^{\prime} ##. Plugging this in yields: $$ [x * y] = \{ x^{\prime}, y^{\prime} \in M : x^{\prime} *...
  7. V

    Comp Sci Binary Encoding for 16 Bit Architecture

    In class we were given the example of a 32-bit architecture, so the opcode has 5 bits, register A had four bits, register B had four bits, the destination register had 4 bits and the offset was 15 bits, this was how it was done for "add" instruction. But when I was further reading about it...
  8. Sciencemaster

    I Database of binary star data info within 10 PC of Earth

    I'm looking for a database of binary stars within 10 PC of Earth, including information such as eccentricity of orbits, their distance from one another, etc. I'm hoping to find a list with this information, or just a collection of pages with this information. I've tried Simbad but I can't find...
  9. V

    Comp Sci Digitial Logic and Binary Counter

    1 000 0 1 000 0 0 001 1 0 001 1 1 0 1 0 0 1 On the left is my input, in the middle is my output and on the right is the decimal. 0 000 0 0 000 0 1 001 1 0 001 1 1 010 2 Here is another example I was studying where the input is 00101 and I...
  10. Rikudo

    Fictitious force in a binary stars

    I have a difficulty in understanding the question. Fictitious force is a force whose motion is described using a non-inertial frame of reference. Which frame is the question referring to?
  11. M

    Use the binary exponentiation algorithm to compute....

    First, consider ## 19^{53}\pmod {503} ##. Then ## 53=(110101)_{2}=2^{5}+2^{4}+2^{2}+1=32+16+4+1 ##. Note that \begin{align*} 19^{2}\equiv 361\pmod {503}\\ 19^{4}\equiv 44\pmod {503}\\ 19^{8}\equiv 427\pmod {503}\\ 19^{16}\equiv 243\pmod {503}\\ 19^{32}\equiv 198\pmod {503}.\\ \end{align*} Thus...
  12. karush

    MHB Is the Calculation of $(3 \diamond 8) \square 2 = 1940$ Correct?

    define the binary operater $\diamond$ by $a\diamond b$=4a+4b and $s\square b$ by $a\square b=a^2+b^2$ find $(3\diamond 8)\square 2= [(4(3)+4(8))^2 +2^2]=1940$ ok just want to see if this is correct before i run thru the ribbon :unsure:
  13. karush

    MHB What is the Binary Operator $\oplus$ and its Significance?

    define the binary operater $\oplus$ by a$\oplus$b=4ab find a. $9\oplus 3$=4(9)(3)=108 b. $2\oplus 2$=4(2)(2)=16 c. $3\oplus 9$=4(3)(9)=108 d. $g\oplus h$=4(g)(h)=4gh ok that was too simple must be doing something wrong what is the significance lf $\oplus$
  14. A

    B Mass transfer between neutron stars in a binary pair

    When we read about the mass transfer between neutron star pairs in a binary system, how is it that the one receiving the matter can increase its spin rate. Adding mass to a spinning object ought to slow due to conservation of momentum. Where does the energy come from?
  15. Arman777

    Understanding the binary transformation of strings and integers

    For fun, I have decided to implement a simple XOR encryption algorithm. The first step is to convert messages into bytes to perform XOR operation on each bit. The problem has started here. For instance, I want to encrypt this message. I hiked 24 miles. Now I need to turn this text into binary...
  16. B

    Why are structs used for linked lists and classes used for binary trees?

    Why are struct use for linked list and classes used for binary tree. honestly what is the different between a class and a struct? I have a teacher one tell me that a class was a struct on steroids. but what does that really mean ?
  17. Amathproblem22

    MHB How Can I Easily Tackle Binary and Hexadecimal Problems?

    I don't need help with a problem just help with easy ways of tackling the problems. Below are my current methods. (Hopefully, all is correct I was in a rush). Binary to Decimal: 128 64 32 16 8 4 2 1 1 1 1 1 0 0 0 1 I already know 128+64+32= 224 so then 16+1=17, meaning 224+17=241...
  18. lomidrevo

    I Gravitational Waves Emitted by a Binary System

    Let's assume a binary system with an inclination angle ##i## (angle between the orbital plane and line of sight). Then, according to this source - equations (128) and (129) - for the amplitudes of the tensor polarization modes ("plus": ##+## and "cross": ##\times## polarization) I could write...
  19. norobinhood

    Is it ever possible we could do better than binary for computers

    hi there I wish to discuss possible ways we could one day come up with a programming code that is even better than binary? i would like to discuss ideas openly? anyone got ideas? i have some if anyone wishes to discuss possible ways? never / no / yes
  20. S

    Converting State Vectors to Keplerian Orbital Elements for Binary Objects

    Homework Statement:: I'm working on a personal project to convert objects from a simulation using state vectors for position and velocity to Keplerian orbital elements (semimajor axis, eccentricity, argument of periapsis, etc.). However, the equations I am using do not calculate the...
  21. S

    I Is there a theorem that a set of binary swaps can affect any permutation?

    Is there a theorem that states that a set of binary swaps can result in any permutation? For example, the original set (1,2,3,4,5) can have the swap (24) and result in (1,4,3,2,5). is there a set of specific swaps for each net result permutation?
  22. A

    An array problem involving a recursive binary search

    Summary:: I have to solve this problem stirctly according to the question that follows: Mentor note: I edited the original code to add indentation and a few blank lines to make the code more readable, so line 43 is no longer the line in question. so this is the question i tried but it gives...
  23. T

    B Measuring distance between two stars in a binary system

    Hello I am trying to teach myself some basic maths for astronomy from a book, namely trying to calculate the distance between two stars in a binary system. One thing i am confused with is what angular separation means and how it can be translated to true physical distance between them using...
  24. Y

    Are Binary Files and Text Files the Same?

    I have been studying binary files, my main textbook is not very clear, the other 3 books are useless. I went on line and read a lot of articles. I want to run it by you guys whether I am correct or not: 1) Binary files are written in binary or Hex( same to me that read 4 binary as each hex)...
  25. D

    I Remains of collapsed stars as touching binary planets?

    Would it be in any way physically possible for a binary star system to evaporate / explode, leaving behind two spheres of a solid metal such as gold (or an alloy), which were then rigid enough to drift together and maintain their shapes, rather than just collapsing into a larger sphere? And...
  26. Kate_C

    B Question re binary star systems & possible orbits

    From what I gather, there are S-type, P-type & T-type systems, but I'm having a hard time wrapping my mind around the orbital possibilities. Would it be theoretically possible to have a planet in a binary star system where there is a daily "pre-sunrise" and a "pre (or post) sunset" due to the...
  27. Addez123

    Probability of receiving a binary one

    $$P(A|B) = P(A \cap B) / P(A)$$ $$P(A) = \text{Chance of 1 being received} = .4 * .98 + .6 * .01 = .398$$ $$P(A \cap B) = \text{Chance 1 being sent and 1 being received} = .4 * .98 = .392$$ $$P(A|B) = P(A \cap B) / P(A) = .392 / .398 = .985$$ The correct answer is 147/148 ~= .9932 What am I...
  28. A

    Help on how to find stellar radius with an eclipsing binary system

    My best guess right now is use Newton's version of Kepler's 3rd Law to maybe find a combined mass, as I'm under the impression that the smaller star's mass would still be too large to ignore, but I'm not confident. And I wouldn't be sure as where t go from their, either. Any guidance would be...
  29. Dada

    I How to Convert a Binary Number to 6 Significant figures

    1203.201 which is 0100|1011|0011.0011|0011 How to round the binary representation to 6 significant figures and 12 significant figures? And what is the rounding rule for base 2? If it was rounded to 6 significant figure, such as 0100|10 {2}, then it changes its initial value, doesn't it? So...
  30. B

    What Is the Inverse Principle of Binary in Physics?

    The Inverse principle of BinaryIntroductoryAlthough relatively simple it is perhaps the most difficult physics model to explain. In this model unlike other models it does not make use of more than three dimensions to define both space, and time, but rather implements a structure based on the...
  31. O

    What is the significance of binary language in digital communication?

    010101110110010101101100011011000010110000100000010010010010000001110011011000010111011100100000011101000110100001101001011100110010000000100000011011110110111000100000011000010110111001101111011101000110100001100101011100100010000001100110011011110111001001110101011011010010000001100001011011100...
  32. M

    Can Earth-like Planets Coexist in a Binary Star System?

    The most recent information I've read on binary star systems had a footnote on the idea of Earth-like planets revolving around each other, but they weren't sure whether it would be stable. It makes for a good science fiction setting anyway.I just wanted to know if there was any new research on...
  33. A

    What is a Binary Pair in R Feature Analysis?

    i was looking at the rfeature topic, and i came across the term binary pair...so what is it?ATR11
  34. H

    Where Can I Find Equations for Binary Star Systems?

    Does anyone know where I can get some equations/formulas for Binary Star Systems?Thanks,Casey"We see the universe the way it is because we exist."
  35. I

    Is Computer Round Off Error a Problem for Binary Representation?

    Recently over in theory devleopement I proposed to Donde that his nice rational number may not be perfectly represented in binary. I make this claim without real proof, more hope then anything else. This bothered me and I wanted to konw if it was or was not a "good" binary number. I searched the...
  36. L

    How Can I Build My Own LED Binary Clock with Unique Design?

    I came across this LED binary clock on .I'm interested in making my own with a different design, but I can't seem to find any circuit diagrams on how they work, any ideas?Thanks"Keep going guys we're building up thurmo-nuclear energy with our turbo power!"
  37. G

    Why Are We Taught Decimal Arithmetic Instead of Binary in Grade School?

    why in grade school are we taught decimal arithmetic and no binary. Binary is sooo much faster if learned early. Think of the processing we could do!admin@physicsforums.com
  38. R

    Engineering Creating a decoder (Graycode to Binary) using 4 nands

    These are the two questions.Here's a datasheet for the demux I've been using: https://ecee.colorado.edu/~mcclurel/sn74ls138rev5.pdf Here's my work: If you need to see how I got these sum functions, here's the work for that: Now, if you look at the datasheet for the demux (linked above), you'll...
  39. R

    Engineering Simple Binary Subtraction Question

    Problem shown above. Work shown below. My question is, at the final step, is this a negative one? I can't borrow from anything as there are no more 1's. The solution I've found online just puts a 1 out front without a minus sign and it says it borrowed a 1 to do this, but I don't know where...
  40. chemisthypnos

    Trying to build a miniature binary geothermal plant for education

    I am trying to build a miniature (it should fit on a desk) binary geothermal power plant for educational purposes. I obviously do not expect to drill into the ground with this power plant, but I hope to be able to demonstrate new design principles with it. I have many questions as to how to do...
  41. K

    Mass Transfer in a Binary Star System

    Homework Statement: A binary star system consists of M1 and M2 separated by a distance D. M1 and M2 are revolving with an angular velocity w in circular orbits about their common center of mass. Mass is continuously being transferred from one star to the other. This transfer of mass causes...
  42. caters

    What is the period of this binary orbit?

    Okay, so let's simplify things and look at the ideal case, where the 2 masses are the same. Well, this gives us a sine wave pattern to the orbital velocity. Consequently, the acceleration would follow a cosine wave since the derivative of velocity is acceleration and the derivative of sine is...
  43. B

    Astrophysics question about a binary star system (AQA exam)

    https://pmt.physicsandmathstutor.com/download/Physics/A-level/Past-Papers/AQA-Old/Unit-5/June%202015%20MS%20-%20Unit%205-2A%20AQA%20Physics%20A-level.pdf mark scheme question 2 very simple question why is the change in wavlength not 656.05 - 656.52? instead. The difference being in the mark...
  44. arcTomato

    How can I determine the inclination degree? (visual binary)

    Problem Statement: When I can observe the orbit of visual binary,How can I determine the inclination degree?? Relevant Equations: Keplar's low?? But now, we know the distance to the binary(45.9pc), and viewing radius(1.2mas).
  45. user366312

    Java How to send a binary stream from Java-client to C#-server via Tcp?

    The following is a client-side C# code: string Host = "localhost"; int Port = 2000; TcpClient Tcp = new TcpClient(Host, Port); NetworkStream stream = Tcp.GetStream(); reader = new BinaryReader(stream); writer = new BinaryWriter(stream); writer.Write("Hello"); string str =...
  46. T

    Binary System in circular orbit: Separation distance between stars

    Distance is d=1/0.07 = 14.3 parsecs The Doppler shift of one star is, Δλ = 512 - 512.04 = -0.04 So the radical of the velocity of the star is = (-0.04/512) x (3.00 x 10^5 km/s) = 23.4km/s which is the same for both stars because they have the same mass. This is as far as I've got.
  47. Z

    Calculate the time of an all-to-all broadcast for a balanced binary tree (BBT)

    Hi, I have provided a procedure for broadcast for BBT at the following link: https://cs.stackexchange.com/questions/106631/all-to-all-broadcast-on-a-balanced-binary-tree But I am not getting the correct time as asked in the question: Required Timing equation is: ##(t_s + t_w * m* p/2)logp##...
  48. R

    Help me understand this question -- "Three consecutive zeros" in a binary string

    Homework Statement How many bit strings of length eight contain either three consecutive 0s or four consecutive 1s? Homework EquationsThe Attempt at a Solution This might sound dumb, but would the eight bit string of all zeros satisfy the conditions on the question? I understand its asking for...
Back
Top