Hi, I'm struggling about with binary relations in sets. Can somebody check over and answer my questions about these sets:
Given set A = {1,2,3}
Provide one example each of a relation with the following properties where the cardinality of the relationship should be at least one in all...
Question:
Write a program that reads a four-bit binary number from the keyboard as a string and then converts it into decimal. For example if the input is 1100 the output should be 12.
Attempt:
import java.util.Scanner;
public class run
{
private static final String number = null;
public...
I need to learn and understand why a component of a binary solution cannot be 100%. This needs to be done thermodynamically with equations. I can not find much online, and i need good detail of equations and graphs.
Thanks if you can solve.
I can't seem to get any of the answers for this - please help!
Two stars of equal mass M orbit a common centre. The radius of the orbit of each star is R. Assume that each of the stars has a mass equal to 1.5 solar masses (solar mass=2x10^30kg) and that the initial separation of the stars is...
In binary can we have a value with "deci" "centi" "mili" or more lower valued prefix?
i have learned that,
1 Kilo Byte = 210 byte
1 Miga byte = 220 byte
. . . .
1 Yotta byte = 224 byte
Now my question is, can we have a DECI, CENTI, MILI bytes? i assume the answer could be negative...
I have read somewhere: Any decimal number in the range 0 to 2^(n-1) can be represented in binary form as an n-bit number.
I suspect it's wrong. Shouldn't it rather be 0 to [(2^n)-1]?
Please guide me. Thanks.
Hi
Using the binary system for computing is a natural choice because of its two states: 0 and 1. But is this possible to use base 10, which is used in everyday matters, instead of base 2?
Please remember that I'm neither a student of comp. science nor of science/math, in general. Thanks...
Homework Statement hey guys...
i try to do multiplication of two's complement number. I'm using straightforward method, which
give me wrong answer..
i know i can't use this method.. but.. i just want to know why..
why i can't use this method?
The Attempt at a Solution
1001 x 0101 = 0101101...
Hello. I have a question concerning the stability of a hypothetical binary planet system. I'm sorry if this properly belongs in general astronomy instead of astrophysics, but it does concern orbital mechanics.
The hypothetical system is an Earthlike planet orbiting a relatively bright K class...
Homework Statement
convert 0.e to binary
Homework Equations
The Attempt at a Solution
the method the teacher taught for numbers less than zero was multiply by the desired base. then take the whole number and write it down as part of the converted number and drop it.
ie 0.8*2...
Shifting up from binary URGENT!
Hi, I have a project that requires me to multiply a digital input by 2 and 4. Every website I've looked at keeps telling me to "shift it up 2 bits". I know how that works theoretically, ie. adding a 0 after the binary number would be multiplying it by 2. But how...
Hi
Let us suppose we transmit the binary digit '1'. The probability of not receiving '1' is p. Thus the probability of receiving '1' is 1-p. Suppose we send a longer code of length n. The probability of this code being received correctly is (1-p)^n.
Now I don't understand this next...
Homework Statement
http://img593.imageshack.us/img593/3376/76384308.jpg
The Attempt at a Solution
i've got no problem with question a)
but..
i've got couple of question in question b)
my solution is.. 0111 + 1011 = 1 0010
is it correct?
how am i going to verify it in...
Homework Statement
A = {0, 1, 2, 3, 4 ,5}
Let R be a binary relation on set A such that:
R = {(0,1), (1,0), (1,3), (2,2), 2,1), 2,5), (4,4)}
a. Make a Directed Graph for the relation R on A
b. What must be added to R to make it reflexive/symmetric?
Homework Statement
Which of the following numbers will be stored in an 8-bit computer as 11000001? This computer uses the 2's compliment convention.
a)-64 b)-63 c)63 d)64
Homework Equations
1's and 2's compliment
The Attempt at a Solution
The answer is -63 and after trial...
Homework Statement
Using AND, OR, NOT, NAND, NOR gates construct a circuit for the following problem
7. One of the more interesting public works problems is the “Superbowl” problem. At
the beginning of halftime during the Superbowl, 35 million toilets are flushed almost
simultaneously...
mass of a star...
given is a binary star system, with mass m1=6*1.99*10^30kg, radius =r1, v=270km/s, orbital period, T=1.7days... the other star of the binary system(compact and dense)with mass m2, and radius r2 orbits around a same common point... (r1>r2, G=6.67*10^-11Nm^2kg^-2)...
Homework Statement
(Fraleigh's Algebra, 2003, p. 36)
There are 16 possible binary structures on the set {a, b} of two elements. How many nonisomorphic (that is, structurally different) structures are there among these 16? Phrased more precisely in terms of the isomorphism equivalence...
Say I have an X-ray binary system of a B2 main-sequence star with an unseen companion (i.e., black hole). They have a separation of 20 million km and an orbital period of 4 days.
How do I figure out what the semi-major axis is? I need it for the formula for Kepler's Version of Newton's Third...
Homework Statement
Two stars are in a circular visual binary system. The orbital
period of the binary is 30 years. The distance to the binary is 20
parsecs. The angular radius of the orbit of each star is 1". What
are the masses of the two stars?
each star works out to be 4.4 solar...
Hello everyone,
My colleague and I are transmitting serial data over a visible light communication channel.
How can we eliminate flicker? - i.e. when the signal is 01000100 the LED is dimmer than 01111011.
When long strings of data are sent, it causes the LED to flash and it's detectable to...
Homework Statement
Two stars are in a circular visual binary system. The orbital
period of the binary is 30 years. The distance to the binary is 20
parsecs. The angular radius of the orbit of each star is 1". What
are the masses of the two stars?
Homework Equations
I am assuming that...
Hi, I have a rather simple question, how does a binary system with a common center of gravity affect the gravity on both members of the system.
If we have a case of a single planet and ignore the star it orbits, the center of gravity should be in the dead middle of that planet.
If we...
EDITED:
I decided to move the thought experiment that led me to this question to the bottom of this thread. I will first state what my question is.
Suppose that we live in a closed universe of three spatial dimensions and this universe is in a state of rapid collapse. Now suppose that all of...
Homework Statement
I need to create a circuit using an NAND gate and somehow manipulate it (Using no other components) to have the same output values as an AND gate, Obviously the simple solution would be to just run the NAND gate into a NOT gate to get the output of an AND gate, but the...
Homework Statement
Consider a binary star system in
which the two stars have masses M1 = 1.24 solar masses and
M2 = 3.04 solar masses. The period of star 1 is 142 yr. The
eccentricity of star 1 is \epsilon = 0.691. Use G = 6.67259 × 10−11
Nm2/kg2, take the astronomical unit to be...
Can someone explain to me or refer me to a site that explains how to use a binary counter such as the 74LS169 4 bit up/down binary counter? I'm not sure what all of the inputs do.
Hello! I wanted a circuit that conducts binary division. It should not use any microcontrollers or any higher devices. I have struggled a lot with this. I am just not getting the idea of how the division operation is carried out on a circuit. I want the basic idea. I can build it up. But how is...
Homework Statement
I have to write a computer program to simulate a binary star system and I can not assume that the larger mass is stationary. I am given their respective masses, and the period of the system. I am just wondering how to find the write combination of initial velocity and...
Let J be a set of all linear functions. Consider the set R^2 in the Euclidean plane. Define a binary operation * on R^2 in such a way that the two binary structures <J, +> and <R^2, *> will be isomorphic. Any thoughts?
If something is not clear please ask. Thank you.
Homework Statement
One of the most massive binary star systems known is called WR-20a and is located
in the Large Magellanic Cloud (a small companion galaxy to the Milky Way). This
system is nearly edge on, and the stars are moving in circular orbits with observed
speeds of 362.2 km s^-1 and...
Homework Statement
Convert 33.9 to binary.
Homework Equations
Division by two and remainders
The Attempt at a Solution
I'm unsure since it is .9. Using the dividing by two method with the remainders wouldn't account for that. Could I do something like this?
33.9 = 339 *10^-1...
Homework Statement
I'm supposed to prove that an improper fraction with a finite binary expansion also can be written as a decimal.
Homework Equations
Obviously my fraction a/b, where a>b, will look like p1/21 + p2/22 + ... + pn/2n
The Attempt at a Solution
And I have no idea...
Homework Statement
The binary relation \mathbb{R} \times (0, \infty) which is identitical to
(as I understand it) \mathbb{R} \times \mathbb{R}_{+}
this is supposedly the set on which the solution of the differential equation
y' = f(t,y) is defined upon. Where y' = y/t + y^2 (no...
Homework Statement
The solution of the quadratic equation x2 - 11x + 22 = 0 are x = 3 or x = 6. What is the base of the numbers?
Homework Equations
Knowledge of how to convert from a generic base to decimal?
The Attempt at a Solution
I tried to just place r in where I would...
The Chinese remainder theorem tells us that the system of equations:
\begin{align}
x &\equiv a_1 \pmod{n_1} \\
x &\equiv a_2 \pmod{n_2} \\
&\vdots \\
x &\equiv a_k \pmod{n_k}
\end{align}
Uniquely determines all numbers in the range:
X<N=n_1n_2\ldots n_k
and that all solutions are...
I have 2 questions here. I know there is a lot of text, but don;t be scared or deterred from helping please, it is simple to understand and mostly just text/explanation. The Second one is very long, the first not so much.
1)Problem: Complete the proof of Observation 4.2 by showing that every...
This question has been bugging me... I've rephrased the question a bit so it shouldn't require much astrophysics knowledge to understand, just a bit of regular physics.
Consider a binary star system. By doing some geometry based on visual observations of the positions of the two stars over...
I have to prove that a binary system of stars of equal mass, temp, etc. is brighter by a magnitude of 3/4 than a single star of equal mass, temp, etc.
I've been trying to work it out with (m1-m2)=-2.5log(f1/f2)
Might anyone be able to tell me if I am even on the right track?
In the sense of 'universal algebra':
The natural numbers N can be presented as an free algebra with one constant (0) and one -unary- operation s(x) (i.e. x --> x+1). We have (of course) elements 0, s(0), s(s(0)), etc...
Is there a good name for a set A with one constant (*) and one...
Homework Statement
I've got a manchester encoded binary data. The question reads, Determine the beginning and end of bit periods (i.e. extract clock infromation and give the data data sequence
How do I do this? I think its a simple question but I am having difficult because i don't know...
Ok firstly I am new to statistics but have a layman's interest in entropy.
On Wikipedia i came across this article on the binary entropy function (http://en.wikipedia.org/wiki/Binary_entropy_function).
It says... If Pr(X = 1) = p, then Pr(X = 0) = 1 − p and the entropy of X is given by...
Hello,
I am interested in what would happen if a photon became nested inside the Lagrangian point of a binary black hole system that was already far into the process of merging. It seems that the photon would be "frozen."
Hello all
i need help in finding the best row/column in a binary matrix.
suppose i have a matrix of size 100*50 containing only 1s and 0s, how can i find (using matlab)which row or column has highest number of ones? zeros and ones are randomly distributed in the matrix.
i want to find best three...
Homework Statement
What is the kinetic energy and total mechanical energy of a binary system of identical spheres orbiting around their common center of mass?
M = mass
R = radius
Homework Equations
Force of gravity = GM^2/2R
K = 1/2MV^2
The Attempt at a Solution
I don't know whether...
For my vector calc class we were given an assingment to do some stuff with a binary star system. You might note the lack of vectors and the lack of calc; this is because I am just having an issue with the setup. I am sure I can get the rest without assistance.
We are given the two stars of...
Homework Statement
Two individual stars in a binary system (m1=mo, m2=2mo) are in circular orbit about their common centre of mass and are separated by a distance ro. At some stage, the more massive star explodes - resulting in the two stars having equal mass after the explosion...
I have been given a practice exam from my professor (http://www.cs.pitt.edu/~aronis/cs0445/miscellaneous/cs445-spring-2007-test-3.pdf ) along with an answer sheet (http://www.cs.pitt.edu/~aronis/cs0445/miscellaneous/cs445-spring-2007-test-3-answers.txt ) and there are a good number of questions...
Homework Statement
Find the binary form of x= 7/10
Suppose that the number x= 7/10 is to be stored in a 32-bit computer, find the nearby machine numbers x_ and x+
Homework Equations
The Attempt at a Solution
I have found that 7/10 in binary form is: 0.101100110011001100...