In: Economics
JAVA:
Write a program that converts a binary number to decimal (integer)
Based on user input: Ask user to input a binary number
Conditions:
Check that the binary number starts with a 1 and only has 0s and 1s
If condition is not met, ask for user to reenter a number
Conver the binary to decimal (integer)
Ask user if they want to input another number if not then the program will exit
*Please do not use built-in java functions when converting binary to decimal
In: Computer Science
Write the program with language C++ ( THE PROGRAM SHOULD CONTAIN DECISION MAKING , LOOPING AND A FUNCTION ) to design a menu for a shop . When the user makes a choice , ask for quantity, then display the total charge with sale taxes . If the user enters a choice that is unavailable ,display an error message and ask him to re-enter.
In: Computer Science
In one typed page, discuss an instance (from real life) of a government (the US government or a foreign one) taking action to promote competition / break-up monopolies. Explain the government’s motivation in this.
Please provide reference if available
In: Economics
A 73.0 kg ice hockey goalie, originally at rest, catches a 0.150 kg hockey puck slapped at him at a velocity of 39.0 m/s. Suppose the goalie and the ice puck have an elastic collision and the puck is reflected back in the direction from which it came. What would their final velocities (in m/s) be in this case? (Assume the original direction of the ice puck toward the goalie is in the positive direction. Indicate the direction with the sign of your answer.)
Puck: ____
Goalie: ____
In: Physics
A graph, plotting a the relationship between a bond’s modified duration and its tenor for a (10) zero, (10) discount bond, (10) premium bond and (10) perpetuity
In (10 per) writing, and by (5 per) showing numerical analysis, explain what drives the shape of the four curves you plotted in part 1
In: Finance
You are to implement a string compression algorithm with the following specifications:
Create a function RLE() to implement this algorithm recursively, this function should take in a string message and return the compressed string as an output.
Python code
In: Computer Science
All in MIPS assembly
1. Have the user input a 32 bit binary string
2. convert that into decimal
3. Print the decimal
In: Computer Science
4. Where is phylum basidiomycota found, how do they get their food, what are some examples of these fungi and what is the name of their reproductive structure called?
In: Biology
Identifying OSI Model Layers from Captured Packets Time Required: 15 minutes Objective: Use Wireshark to capture the packets generated from an HTTP communication session. Identify the OSI model layers represented by the headers in the captured files. Required Tools and Equipment: Net-XX with Wireshark installed and Internet access
Description: Using Wireshark and an appropriate capture filter, capture the packets involved in an HTTP session that you start by opening a Web page. Select an HTTP packet, and using the headers in the middle pane, perform the following tasks:
In: Computer Science
1) Consider tight fiscal policy done in a large open economy.
As a result, world real interest rates will _______ and the real exchange rate will ________.
A. rise; rise
B. fall; fall
C. rise; fall
D. fall; rise
2) In order to use the Solow growth model as we've been doing in this unit, putting production functions in per-worker terms, when all inputs used in production are increased by 10%, output must
A. remain constant
B. increase by 10% or more
C. increase overall but remain constant in per-worker terms
D. increase by exactly 10%
In: Economics
Under what condition will a Company:
- That uses the Absorption Costing method to assign costs to their
inventory report net operating income using a Traditional Income Statement that
is:
more than
- The comparable net operating income amount using the Variable
Costing method to assign inventory costs to their inventory and reported net
operating income using a Contribution Margin Income Statement
Select one:
a. None of the other answers are correct
b. Inventory balances are increasing during the year--unit production exceeds unit sales for the period
c. Inventory balances are constant during the year--unit production equals unit sales for the period
d. Inventory balances are decreasing during the year--unit production is less than unit sales for the period
e. Variable manufacturing costs overhead exceeds fixed manufacturing overhead costs
In: Accounting
A mass is attached to a string on a pulley, when the mass is falling what direction is the pulley spinning? Which direction do the vectors for torque, angular acceleration, and angular velocity point? What about when the mass is going back up? Please draw a diagram showing these vectors.
In: Physics
1) Using the reduction potentials table in the notes/book, what is the standard cell potential for the following electrochemical cell:
Al(s) | Al3+(aq) || Ni2+(aq) | Ni(s)
2) Using the standard reduction potentials table in your book/notes, what is the standard change in gibbs free energy for the following reaction in kJ?
2NO3-(aq) + 8H+(aq) + 3Cu(s) → 3Cu2+(aq) + 2NO(g) + 4H2O(l)
3) A voltaic cell is set-up with a silver electrode in a silver nitrate solution and a nickel electrode in a nickel (II) nitrate solution. What is the reaction occuring at the anode? Use the reduction potentials table in the notes/book.
In: Chemistry
William McChesney Martin, chair of the Federal Reserve from 1951-1970, famously said that the job of the Federal Reserve is “to take away the punchbowl just as the party gets going.”
A) What does this mean?
B) What are the consequences of failure to do fulfill this job?
C) How does this highlight the reasoning that elected officials should not be involved in monetary policy?
Please help with A, B, and C. Thank You.
In: Economics