Q1. What are the key features of Keynesian Economic Systems as a distinct macroeconomic transformation from the Classical form of Market Capitalism? Give an example in the context of US economic systems that changed in the 1930s.
In: Economics
1(a) Give a numerical example which illustrates how a country could have absolute disadvantage in the production of 2 goods but could still have a comparative advantage in the production of one of them. Explain!
(b) Explain how the process of arbitrage could achieve
Purchasing Power Parity?
In: Economics
I get an error in my code, here is the prompt and code along with the error.
Write a spell checking program (java) which uses a dictionary of words (input by the user as a string) to find misspelled words in a second string, the test string. Your program should prompt the user for the input string and the dictionary string. A valid dictionary string contains an alphabetized list of words.
Functional requirements:
CODE:
dictionary.java
import java.io.*;
import java.util.*;
public class dictionary
{
public static void main(String args[]) throws Exception
{
String dString;
String uString;
Scanner input=new Scanner(System.in);
System.out.println("Enter distionary string :");
dString = input.nextLine();
System.out.println("Enter input string :");
uString = input.nextLine();
String[] dict = dString.split(" ");//split dictionay
string and save to array fo string
boolean found = false;
//ieterate over dictionary string array
for (String a : dict)
{
//compare and print message
accordingly
if((uString.toLowerCase().compareTo(a.toLowerCase())) == 0)
{
System.out.println("word found!");
found =
true;
break;
}
}
if(found == false)
{
System.out.println("Unknown word
found!");
}
}
}
ERROR:
Main.java:4: error: class dictionary is public, should be
declared in a file named dictionary.java
public class dictionary
^
1 error
compiler exit status 1
In: Computer Science
A simple harmonic oscillator consists of a block of mass 3.50 kg attached to a spring of spring constant 190 N/m. When t = 1.60 s, the position and velocity of the block are x = 0.181 m and v = 3.660 m/s. (a) What is the amplitude of the oscillations? What were the (b) position and (c) velocity of the block at t = 0 s?
In: Physics
What caused the 2008 financial crisis? What do you consider to be the three most important factors? (Describe three and make an argument.) Use Stiglitz and White Reading and PP March 28 – financial crisis.
In: Economics
Swathmore Clothing Corporation grants its customers 30 days’ credit. The company uses the allowance method for its uncollectible accounts receivable. During the year, a monthly bad debt accrual is made by multiplying 2% times the amount of credit sales for the month. At the fiscal year-end of December 31, an aging of accounts receivable schedule is prepared and the allowance for uncollectible accounts is adjusted accordingly. At the end of 2017, accounts receivable were $584,000 and the allowance account had a credit balance of $48,000. Accounts receivable activity for 2018 was as follows: Beginning balance $ 584,000 Credit sales 2,670,000 Collections (2,533,000 ) Write-offs (44,000 ) Ending balance $ 677,000 The company’s controller prepared the following aging summary of year-end accounts receivable: Summary Age Group Amount Percent Uncollectible 0–60 days $ 395,000 5 % 61–90 days 94,000 14 91–120 days 54,000 24 Over 120 days 134,000 35 Total $ 677,000 Required: 1. Prepare a summary journal entry to record the monthly bad debt accrual and the write-offs during the year. 2. Prepare the necessary year-end adjusting entry for bad debt expense. 3-a. What is total bad debt expense for 2018? 3-b. How would accounts receivable appear in the 2018 balance sheet?
| No | Event | General Journal | Debit | Credit |
|---|---|---|---|---|
| 1 | 1 | Bad debt expense | 53,400 | |
| Allowance for uncollectible accounts | 53,400 | |||
| 2 | 2 | Allowance for uncollectible accounts | 44,000 | |
| Accounts receivable | 44,000 |
| No | Event | General Journal | Debit | Credit |
|---|---|---|---|---|
| 1 | 1 | Bad debt expense | ||
| Allowance for uncollectible accounts |
|
|
|||||||
In: Accounting
PRE-LAB QUESTIONS
1. Why is cellular respiration necessary for living
organisms?
2. Why is fermentation less effective than respiration?
3. What is the purpose of glycolysis?
4. How many ATP molecules are produced in aerobic respiration? How
many ATP molecules are produced during fermentation and
glycolysis?
In: Biology
Using only <iostream>, implement a dynamic array. You are to build a class called MyDynamicArray. Your dynamic array class should manage the storage of an array that can grow and shrink. The public methods of your class should be the following:
MyDynamicArray(); Default Constructor. The array should be of size 2.
MyDynamicArray(int s); For this constructor the array should be of size s.
~MyDynamicArray();Destructor for the class.
int& operator[](int i); Traditional [] operator. Should print a message if i is out of bounds and return a reference to a zero value.
void add(int v); increases the size of the array by 1 and stores v there.
void del(); reduces the size of the array by 1.
int length(); returns the length of the array.
int clear(); Frees any space currently used and starts over with an array of size 2.
Here is a sample main.cpp file:
#include <iostream>
using namespace std;
#include "MyDynamicArray.cpp"
int main() {
MyDynamicArray x;
for (int i=0; i<100; i++){
x.add(i);
}
int sum = 0;
for (int i=0; i<x.length(); i++){
sum+=x[i];
}
cout << "The sum is : " << sum << endl;
for (int i=0; i<95; i++)
x.del();
x[60] = 27;
MyDynamicArray y(10);
for (int i=0; i<y.length(); i++) y[i] = i*i;
for (int i=0; i<200; i++){
y.add(i);
}
sum = 0;
for (int i=0; i<y.length(); i++){
sum+=y[i];
}
cout << "The sum is : " << sum << endl;
for (int i=0; i<195; i++)
y.del();
y[60] = 27;
for (int i=0; i<200; i++){
y.add(i);
}
sum = 0;
for (int i=0; i<y.length(); i++){
sum+=y[i];
}
cout << "The sum is : " << sum << endl;
}
Here is the output from the main.cpp above :
Doubling to : 4
Doubling to : 8
Doubling to : 16
Doubling to : 32
Doubling to : 64
Doubling to : 128
The sum is : 4950
Reducing to : 64
Reducing to : 32
Reducing to : 16
Out of bounds reference : 60
Doubling to : 20
Doubling to : 40
Doubling to : 80
Doubling to : 160
Doubling to : 320
The sum is : 20185
Reducing to : 160
Reducing to : 80
Reducing to : 40
Out of bounds reference : 60
Doubling to : 80
Doubling to : 160
Doubling to : 320
The sum is : 20195
In: Computer Science
Using Appendix 4 for ∆Hf ° and ΔS˚, which of the following reactions is spontaneous:
(5.a) 2 H2S(g) + 3 O2(g) → 2 H2O(g) + 2 SO2(g)
(5.b) SO2(g) + H2O2(ℓ) → H2SO4(ℓ)
(5.c) S(g) + O2(g) → SO2(g)
You must determine whether a given reaction (i) is exothermic or endothermic, (ii) has a positive or negative entropy, and (iii) if a given reaction is spontaneous only at low temperature or only at high temperature, or at all temperatures.
In: Chemistry
This year Burchard Company sold 29,000 units of its only product for $19.20 per unit. Manufacturing and selling the product required $114,000 of fixed manufacturing costs and $174,000 of fixed selling and administrative costs. Its per unit variable costs follow. Material $ 3.40 Direct labor (paid on the basis of completed units) 2.40 Variable overhead costs 0.34 Variable selling and administrative costs 0.14 Next year the company will use new material, which will reduce material costs by 70% and direct labor costs by 30% and will not affect product quality or marketability. Management is considering an increase in the unit selling price to reduce the number of units sold because the factory’s output is nearing its annual output capacity of 34,000 units. Two plans are being considered. Under plan 1, the company will keep the selling price at the current level and sell the same volume as last year. This plan will increase income because of the reduced costs from using the new material. Under plan 2, the company will increase the selling price by 30%. This plan will decrease unit sales volume by 15%. Under both plans 1 and 2, the total fixed costs and the variable costs per unit for overhead and for selling and administrative costs will remain the same. Required: 1. Compute the break-even point in dollar sales for both (a) plan 1 and (b) plan 2. (Round "per unit answers" and "CM ratio" percentage answer to 2 decimal places.)
In: Accounting
Charges q, q, and -q are placed on the x-axis at x = 0, x = 2 m, and x = 4 m, respectively. At which of the following points does the electric field have the greatest magnitude?
a x = 1 m
b x = 3 m
c x = 5 m
d The electric field has the same magnitude at all three positions.
In: Physics
1. Discuss the implications of facility location decisions on a
supply chain.
2. Discuss the critical factors influencing facility location.
In: Operations Management
1. An aluminum ion Al3+ is placed on the positive x-axis a distance of 0.80 m from the origin. A -15 nC charge is on the positive x-axis a distance of 0.50 m from the origin. A +32 nC charge is on the negative x-axis a distance of 1.00 m from the origin.
a) Find the net force on the -15 nC charge. _____________________
b) Find the net force on the aluminum ion. _____________________
c) Find the electric field at the origin. _____________________
In: Physics
Single Plantwide and Multiple Production Department Factory Overhead Rate Methods and Product Cost Distortion
The management of Firebolt Industries Inc. manufactures gasoline and diesel engines through two production departments, Fabrication and Assembly. Management needs accurate product cost information in order to guide product strategy. Presently, the company uses a single plantwide factory overhead rate for allocating factory overhead to the two products. However, management is considering the multiple production department factory overhead rate method. The following factory overhead was budgeted for Firebolt:
| Fabrication Department factory overhead | $774,000 | ||
| Assembly Department factory overhead | 344,000 | ||
| Total | $1,118,000 | ||
Direct labor hours were estimated as follows:
| Fabrication Department | 4,300 | hours | |
| Assembly Department | 4,300 | ||
| Total | 8,600 | hours | |
In addition, the direct labor hours (dlh) used to produce a unit of each product in each department were determined from engineering records, as follows:
| Production Departments | Gasoline Engine | Diesel Engine | ||
| Fabrication Department | 1.30 | dlh | 3.00 | dlh |
| Assembly Department | 2.70 | 1.00 | ||
| Direct labor hours per unit | 4.00 | dlh | 4.00 | dlh |
a. Determine the per-unit factory overhead allocated to the gasoline and diesel engines under the single plantwide factory overhead rate method, using direct labor hours as the activity base.
| Gasoline engine | $ per unit |
| Diesel engine | $ per unit |
b. Determine the per-unit factory overhead allocated to the gasoline and diesel engines under the multiple production department factory overhead rate method, using direct labor hours as the activity base for each department.
| Gasoline engine | $ per unit |
| Diesel engine | $ per unit |
c. Recommend to management a product costing approach, based on your analyses in (a) and (b).
Management should select the ___________ factory overhead rate method of allocating overhead costs. The __________ factory overhead rate method indicates that both products have the same factory overhead per unit. Each product uses the direct labor hours __________. Thus, the __________ rate method avoids the cost distortions by accounting for the overhead __________.
In: Accounting
How would you describe Structure of Management Information (SMI)? Also justify, how it is useful for a managed object?
In: Computer Science