Example
Explanation
• The original number was 101 in binary which is equivalent to 5 in
decimal.
• The answer after shifting to the right is 2 in decimal.
• That means by shifting one digit to the right the binary number
gets divided by 2 (5/2 = 2 in binary)
Shifting to the Left
• Shifting a binary number to the left is equivalent to multiplying
it.
• If you shift once to the left , you multiply the binary number by
2
• If you shift twice to the left, you multiply the number by
4
How to Shift to the Left
Example: The number is 1 0 1
INSERT a ZERO in the Least Significant Bit (LSB) 1 0 1 1 0 1 0
LSB
Example Explanation
• The original number was 101 in binary which is equivalent to 5 in
decimal.
• The answer after shifting to the left is 10 in decimal.
• That means by shifting one digit to the left the binary number
gets multiplied by 2 (5*2=10)
Solve: 1. (110)2 x (2)10 = ( )2
2. (1011)2 x (4)10 = ( )2
Shift the following numbers twice to the left:
3. (111)2= ( )2
4. (1010)2= ( )2
Solve: 5. (110)2 / (2)10 = ( )2
6. (1011)2 / (4)10 = ( )2
Shift the following numbers twice to the right:
7. (111)2= ( )2
8. (1010)2= ( )2
please give me the full explanation for the answer
In: Advanced Math
Rule Based System
1. Given the rule following rules from the class notes on production rules to convert an Arabic number less than 40 to a roman numeral. USING LOGIC
Rule 1: if x is null then prompt the user and read x
Rule 2: if x is higher than 999 then print “too Big” and make x null
Rule 3: if x is between 10 and 39 then print “X” and reduce x by 10
Rule 4: if x is equal to 9 then print “IX” and reduce x to 0
Rule 5: if x is between 5 and 8 then print “V” and reduce x by 5
Rule 6: if x is equal to 4 then print “IV” and reduce x to 0
Rule 7: if x is between 1 and 3 then print “I” and reduce x by 1
Rule 8: if x is equal to 0 then print “end-of-line” and STOP
A. What additional rules are needed to convert an Arabic number less than 1000?
* notice rule 2 has already been changed
** hints: 50 is L; 100 is C; 500 is D; 1000 is M
B. Show the rules fired and the working memory to convert 864 into a roman numeral.
In: Advanced Math
10 |
12 |
8 |
9 |
10 |
|
11 |
13 |
15 |
14 |
11 |
|
12 |
9 |
14 |
15 |
11 |
|
12 |
13 |
9 |
14 |
13 |
|
10 |
12 |
13 |
15 |
13 |
14 |
Required:
In: Advanced Math
1. If I is an ideal of the ring R, show how to make the quotient ring R/I into a left R-module, and also show how to make R/I into a right R-module.
In: Advanced Math
(Theorem 3.1): If xp is any solution of (∗) x′′ + p(t)x′ + q(t)x = f (t), and xh is a general solution of (∗∗) x′′ + p(t)x′ + q(t)x = 0), then the sum x = xh + xp is a general solution of (∗).
(a) First show that x = xp + xh satisfies (∗).
(b) Next show that if xp1 and xp2 are any two solution of (∗) then x = xp1 − xp2 satisfies (∗∗).
(c) Conclude that Thm 3.1 holds. (Explain your reasoning!)
In: Advanced Math
2. The official currency of the Kingdom of Mathemagiclandistan is Shrute-bucks. Shrute-bucks bills come in denominations of 3 and 5.
a.) What is the smallest amount of Shrute-bucks, n that can be made using Shrute-buck bills so that every amount greater than or equal to n can also be made using Shrute-buck bills?
b.) Use either the principle of mathematical induction or strong induction to prove your answer from a.)
In: Advanced Math
James DeWalp is a senior buyer of fruit products for Fresh Foods, a major U.S. multinational food processing company. This company, based in California, uses a wide variety of fruit concentrates, purees, flavors, and extracts in many of its popular food products. One of James's responsibilities is to negotiate annual purchase contracts for these ingredients. One such ingredient, guava puree, is grown and harvested on a seasonal basis in various countries around the world.
James is currently examining the costs associated with using one of his existing suppliers, a Philippine grower/processor. Fresh Foods has used this supplier's high-quality product for a number of years. Farmers grow the product in a remote part of the Philippines and transport it to the processing plant where it is pureed and packaged for transoceanic shipment. This particular variety of guava is highly prized for its flavor, which the aseptic method of processing used by the supplier helps maintain. Unfortunately, guerilla activity by rebels has recently caused some problems for growers in this part of the Philippines.
The supplier aseptically packages the guava puree (currently priced at $0.29/pound, FOB vessel) in foil bags, each containing 50 pounds of product, which workers then place into corrugated boxes. The boxes are stacked on wooden pallets, 40 to a pallet, for loading into overseas containers. Each container holds 20 pallets and arrives via ocean freighter. The ocean freight charge is $2,500 per container. Once the containers reach the U.S. port, a trucking company moves each container to a local warehouse for storage at a charge of $250 per container. U.S. Customs calculates import duties to be 15 percent of the shipment's original purchase price excluding freight charges. Fresh Foods requires one container load per month.
Fresh Foods warehouses each container in a public warehouse until needed for processing (average storage is one month). The monthly storage charge is $6.50 per pallet. In addition, the warehouse charges a one-time in/out fee of $6.25 per pallet to cover administrative costs. Fresh Foods inventory carrying charge is 24 percent, which it applies against the unit price of material in storage at the warehouse (but not in-transit from the Philippines). The reason why the company does not apply the carrying charges to intransit inventory is that Fresh Foods typically does not have to pay the invoice for the guava puree until it reaches the local U.S warehouse. Material planners assume the demand for guava puree to be relatively constant over the year.
When a container of guava puree is required at the plant, a local freight company moves the container from the warehouse, which costs $175 per container. The company estimates that incoming receiving and quality-control procedures cost $4 per pallet. Because of the nature of the product and the distance involved in purchasing and storing the guava puree, the company estimates it incurs a loss of 3 percent of the total puree purchased.
Product engineers calculate the budgeted factory yield of the guava puree when blending into company products is 98 percent; this means the company wastes 2 percent of the product by volume during production, and this is not recoverable.
Occasionally, undetected spoilage of guava puree will require removing the product from grocery shelves. Out-of-pocket costs typically total $25,000 for each incident; these costs are not recoverable from the supplier. The company's records indicate that such an incident occurs about once every six months.
In addition to the other costs noted here, corporate accounting policy requires that cost estimators include a 17 percent assessment on purchased product unit cost to cover general and administrative overhead costs at Fresh Foods.
In: Advanced Math
Find the solution of the given initial value problem.
ty′+2y=sin(t), y(π/2)=7, t>0
Enclose arguments of functions, numerators, and denominators in parentheses. For example, sin(2x) or (a−b)/(1+n).
In: Advanced Math
In: Advanced Math
Prove and apply the fundamental theorem of calculus in finding the value of specific Riemann integrals of functions. This is for a class in real analysis. Right now, I just need a basic understanding. Thank you.
In: Advanced Math
Let X = R and A = {disjoint union of the intervals of the form (a, b], (−∞, b] and (a, + ∞)}. Prove that A is an algebra but not a σ-algebra.
In: Advanced Math
1. Prove``The left and right cosets partition G into equal sized chunks." (Cor 5.11 and 5.13 in your book). You have to show the ~ is an equivalence relation, you can't just cite a theorem from the book. Similarly so you have to show phi is 1-1 and onto, you can't just cite a theorem from the book.
(Corollary 5.11. If G is a group and H ≤ G, then the left (respectively, right) cosets of H form a partition of G. Next, we argue that all of the cosets have the same size)
(Corollary 5.13. Let G be a group and let H ≤ G. Then all of the left and right cosets of H are the same size as H. In other words #(aH) = |H| = #(Ha) for all a ∈ G. † The next theorem provides a useful characterization of cosets. Each part can either be proved directly or by appealing to previous results in this section.)
2. Use the above theorem to prove Lagrange's theorem. (Don't use a proof you read online or in the book, your goal is to prove it using what you know about cosets).
In: Advanced Math
(a) Find a linear transformation T : R2→R2 that (i) maps the x1-axis to itself, (ii) maps the x2-axis to itself, and (iii) maps no other line through the origin to itself.
For example, the negating function (n: R2→R2 defined by n(x) =−x) satisfies (i) and (ii), but not (iii).
(b) The function that maps (x1, x2) to the perimeter of a
rectangle with side lengths x1 and x2 is not a linear
function. Why?
For part (b) I can't come up with any counterexamples that show
T(x+y) = T(x) + T(y) or that aT(x) = T(ax) isn't true, and when I
tried to use a variables instead of numbers, I ended up showing
that it did satisfy both conditions. I'm not sure what I'm
missing.
In: Advanced Math
Determine which of the following pairs of functions y1 and y2 form a fundamental set of solutions to the differential equation: x^2*y'' - 4xy' + 6y = 0 on the interval (0, ∞). Mark all correct solutions:
a) y1 = x and y2 = x^2
b) y1 = x^2 and y2 = 4x^2
c) y1 = x^2 and y2 = x^3
d) y1 = 4x^2 and y2 = x^3
e) y1 = [(x^2)+(x^3)] and y2= x^3
In: Advanced Math
Solve Laplace's equation inside a rectangle 0 ≤ x ≤ L, 0 ≤ y ≤ H, with the following boundary conditions [Hint: Separate variables. If there are two homogeneous boundary conditions in y, let u(x,y) = h(x)∅(y), and if there are two homogeneous boundary conditions in x, let u(x,y) = ∅(x)h(y).]:
∂u/∂x(0,y) = 0
∂u/∂x(L,y) = 0
u(x,0) = 0
u(x,H) = f(x)
In: Advanced Math