Homework Statement
Execute the arithmetic operations using 6-bit binary numbers in 2's complement representation.
18+11
(just going to list this first task)
Homework Equations
To convert from regular binary number, from LSB, do not invert initial o's, or first 1, but invert all other...
In an X-ray binary system, in which one of the two objects is black hole candidate, there are several ways to exchange mass.
A paper states that" their host systems are mass-exchange binaries containing a nondegenerate star that supplies gas to the black hole via a stellar wind or via...
hi ,
I met lot's of binary operation which is associative and commtative and I also met lot's of binary operation which is associative and not abelian
but
is there an example for a binary operation which is commtative and not associative ?
I don't remmber that I've met one likes this...
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...
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...
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...
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...
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...
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
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)?
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...
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...
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...
Homework Statement
Design a digital system that multiplies two binary numbers by the repeated addition method
Homework Equations
The Attempt at a Solution
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...
In my med chem book:
http://books.google.ie/books?id=Qe9lsbfM_m0C&pg=PT170&lpg=PT170&dq=chemistry+binary+code+tag+system&source=bl&ots=ut23YiKXDW&sig=iWH860UeYHYSwBM_ESbxnLXNrQw&hl=en&sa=X&ei=7XcVUNTpCNSThgeVwoGgAQ&redir_esc=y#v=onepage&q=chemistry%20binary%20code%20tag%20system&f=false
they...
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...
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...
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...
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...
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...
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...
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?
Homework Statement
Suppose that you decide to look at a known binary star system. The system is too far away to resolve the individual stars, so it appears to be just one point of light. By looking at the spectrum of the system, though, you should be able to use the Doppler shift to determine...
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...
Homework Statement
Let * be the binary operation defined on Z by
m*n= the smaller of m and n, if m =/= n, or
m or n, if m=n.
Show that the binary structures <Z, +> and <Z,*> are not isomorphic.
The Attempt at a Solution
Proof by contradiction:
Let F be a map from <Z,+>...
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?
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...
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...
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...
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...
Homework Statement
Given a binary search tree that contains n nodes with keys 1, 2, 3, ... , n.
In what order should the keys be inserted into the binary search tree to obtain a tree with minimal height?
Homework Equations
Binary search tree algorithm.
The Attempt at a Solution...
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...
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) +...
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.
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...
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?
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...
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...
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...
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...
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...
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)...
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...
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...
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...
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...
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:
____________________________________________________________________________...