Covert a Hexadecimal to decimal (there is a video for you to watch too). Then write a program that can convert a binary to decimal (only for integer case).
There are two ways to do so.
Easy way: Directly use Java built-in method to do this. In this case, only couple lines of code. Hint: Study Integer class in Java.
Hard way: Write your own code to convert a binary to decimal from scratch. The input is a binary string. The program output is its corresponding decimal value. This way you need to design the algorithm.
Student need to do both ways and test them correctly to get 100% credit. If student only did one way or another, the maximum grade is 80%.
In: Computer Science
Northwood Company Manufactures basketballs. The company has a ball that sells for $25. At present, the ball is manufactured in a small plant that relies heavily on direct labour workers. Therefore, the variable costs are high, totaling $15 per ball. Assuming that the new plant is built and the next year the manufactures and sells 30,000 balls (the same number as sold last year). The contribution income is: Sales - 750,000, less: variable expenses - 270,000. Thus, contribution margin is 480,000, less fixed expenses: 420,000. Net Income would be $60,000.
Degree of operating leverage is 480,000/60,000 = 8.00
If you were a member of top management, would you have been in favor of constructing the new plant? Explain.
In: Accounting
Your assignment is to imagine you’re in charge of your local public health department for your community. Your department has the chance to apply for funding under the umbrella of the WHO Essential Public Health Function (EHPF) framework to fund one public health issue in your community. What public health issue will you address, and what intervention will you design? In your paper, be sure to address:
· The public health issue and its impact on health - make your case that it’s important!
· How the intervention will address the health issue
· How the intervention affects different health determinants (including the social and built environment)
· What aspect of the EHPF framework your intervention falls under
In: Nursing
$100 is received at the beginning of year 1, $200 is received at the beginning of year 2, and $300 is received at the beginning of year 3. If these cash flows are invested at 12 percent, what will their future value be at the end of year 3?
What is the present value of a $25,000 perpetuity be if the discount rate (required rate of return) is 14 percent? (HINT: Excel does not have a built-in formula for perpetuity. You will need to use the formula for the present value of a perpetuity.)
Bill plans to fund his individual retirement account (IRA) with the maximum contribution of $2,000 at the end of each year for the next 20 years. If Bill expects to earn 12 percent on his contributions, how much will he have at the end of the twentieth year?
In: Finance
Susie Sampson was recently promoted to be a manager of a department where she previously had not worked. When she met with her team, she learned that they liked to put a lot of “slack” in their budget numbers to ensure success, which would translate to bonus For example, to determine their costs, they would use the three least efficient months of the previous year to calculate their costs. She is not comfortable with their process and has never seen it used in previous departments.
In: Finance
The "over-the-air" television channel 13 operates between frequencies 210 MHz and 216 MHz, with the video and audio using different parts of this frequency range. To watch (and listen) to the channel properly, the tuner circuit in a television must resonate in the middle of this range (213 MHz) and produce a current over the whole range of at least 50% of the peak current at resonant frequency.
A particular television tuning circuit is built with a 17.3 pF capacitor, a variable inductor, and a variable resistor. What value should the resistor be in order for the current at both 210 MHz and 216 MHz to be at least 50% of the current at the resonant frequency?
Hint:You'll have to first calculate the value of the inductor so that the television tunes to channel 13.
In: Physics
Give reasons for the following statements (4 – 5 lines)
1. Underwriting is not compulsory; despite this, a number of reputed companies for their public issue go in for at least partial underwriting
2. While the percentage allotment for non-retail investors in a book-built issue is the maximum, the % allotted to retail investors is the minimum
3. Any VCF wants to exercise exit option say after 5 years of funding
4. VCF does not do angel funding or incubation funding in India whereas this is being done regularly by them in foreign countries
5. A sharebroker is the only common service intermediary between the primary and secondary markets; his role is different. What are his roles in these two segments?
In: Finance
Give reasons for the following statements (4 – 5 lines)
1. Underwriting is not compulsory; despite this, a number of reputed companies for their public issue go in for at least partial underwriting
2. While the percentage allotment for non-retail investors in a book-built issue is the maximum, the % allotted to retail investors is the minimum
3. Any VCF wants to exercise exit option say after 5 years of funding
4. VCF does not do angel funding or incubation funding in India whereas this is being done regularly by them in foreign countries
5. A sharebroker is the only common service intermediary between the primary and secondary markets; his role is different. What are his roles in these two segments?
In: Finance
4. Consider each of the following activities separately, how much does it contribute to US GDP?
(a) Company X in the US bought steel from another US company, which costs $50,000. Company X used the steel to make cars, and sold them for $150,000 this year.
(b) Your kid mows the lawn for your neighbor, and your neighbor gives him $50 for his work.
(c) This year, you sold your house for $500,000, which was built 100 years ago. Your agent charges you $10,000 for the agent services.
(d) Your mom gave you $1,000 for your birthday. You put $500 in your savings account.
In: Economics
Create this on Python
Write a program that asks for three numbers. Check first to see that all numbers are different. If they’re not different, then exit the program. Otherwise, display the largest number of the three.
Outputs:
- Enter the first number: 4
- Enter the second number: 78
- Enter the third number: 8
(The largest number is 78.)
Tasks
- Complete the algorithm manually without using any built-in functions to find the largest number on list.
- Revise the program so that all entered values are tracked and the user is prevented from entering a number that’s already been entered.
- Revise the program so that it asks for ten numbers instead of three.
- Revise the program so that it asks for an unlimited number of numbers.
In: Computer Science