Questions
What do you consider an appropriate co-occurring diagnosis for an adolescent substance use disorder compared to...

What do you consider an appropriate co-occurring diagnosis for an adolescent substance use disorder compared to an adult substance use disorder? Why or why not?

In: Psychology

I have to do an simple-step Income statement and I'm stuck on what comes after the...

I have to do an simple-step Income statement and I'm stuck on what comes after the expense part.

Accounting, Analysis, and Principles a1-a3 SheffieldInc. provided the following information for the year 2020. Retained earnings, January 1, 2020 $ 672,000 Administrative expenses 268,800 Selling expenses 336,000 Sales revenue 2,128,000 Cash dividends declared 89,600 Cost of goods sold 952,000 Loss on discontinued operations 123,200 Rent revenue 115,024 Unrealized holding gain on available-for-sale debt securities 19,040 Income tax applicable to continuing operations 209,440 Income tax benefit applicable to loss on discontinued operations 67,760 Income tax applicable to unrealized holding gain on available-for-sale debt securities 2,240 Prepare a single-step income statement for 2020. Shares outstanding during 2020 were 100,000. (Round earnings per share to 2 decimal places, e.g. $1.48.)

In: Accounting

Create a class named GroceryList. The attributes will be threeLinkedLists. One LinkedList holds double (currency) values,...

Create a class named GroceryList. The attributes will be threeLinkedLists. One LinkedList holds double (currency) values, one holds integer values, and the last holds String values. The String LinkedList is a list of grocery item names. The double LinkedList holds the cost of that item. The integer LinkedList is the number of those items being purchased.

The constructor will simply create empty lists.

The following are the methods to create for this class:

1. add(String, cost, quantity) : Add the specified items to the next position on each LinkedList (note that will ensure that the index of each item is the same on both LinkedLists).

2. remove(String) : Remove the specified item from BOTH lists. This means find it in the String LinkedList, save that index, and then remove the item at that index from each list.

3. bill() : This method will return the total cost of the items being purchased.

4. receipt() : This method will print the name of each item being purchased, how many of those items are being purchased, and the total cost of that item. The last line will be the total cost of all items being purchased.

java language and it's not custom

In: Computer Science

.Variable created outside of function in the main script are available within the function. (Explain by...

  • .Variable created outside of function in the main script are available within the function. (Explain by giving an example)
    • a/
  • is it possible to include HTML in a PHP script file?explain by giving an example
  • here is a constant: define (“LocalHost”,”127.0.0.1”);
    • which one of the following is the correct way to refer to the above constant?
  • LocalHost
    • b.$LocaolHost
  • how many times will ”I love PHP programming!”be printed in the following program segment?
    • $count = 0
    • While ($count<10)
    • eco
  • the PHP function isset() only returns false if a parameter name is missing. It still returns true if the parameter name exists. True or false
  • Data submitted through the HTTP post method is store in array $_POST. True or false
  • Create an array and call it products that will contain the following key and value pairs:
    • i.”iphone “ :699
    • j.”blackberry” :300
    • k.”Samsung” :799
    • l.”Nokia” : 120
    • use a foreach loop to display the content of this array. Make sure to display both the key and value.
  • What will be the output of the following script?
    • <?php
      • $numbers = [100 , 200 ,300,400] ;
      • $values = array(“Hello”,”world”,from”,”csci2006” );
        • For ($i < count ( $numbers) ; $i++)
        • {              
          • echo “numbers[$i] = “ .$numbers[$i] . “<br /> “;
          • echo “values[$i] . “<br />”;
        • }
    • ?>
  • What classes of information are available via the $_server super global array?

In: Computer Science

Consider two neighboring island countries called Arcadia and Dolorium. They each have 4 million labor hours...

Consider two neighboring island countries called Arcadia and Dolorium. They each have 4 million labor hours available per week that they can use to produce jeans, rye, or a combination of both. The following table shows the amount of jeans or rye that can be produced using 1 hour of labor.

Country

Jeans

Rye

(Pairs per hour of labor)

(Bushels per hour of labor)

Arcadia 6 12
Dolorium 4 16

Initially, suppose Arcadia uses 1 million hours of labor per week to produce jeans and 3 million hours per week to produce rye, while Dolorium uses 3 million hours of labor per week to produce jeans and 1 million hours per week to produce rye. Consequently, Arcadia produces 6 million pairs of jeans and 36 million bushels of rye, and Dolorium produces 12 million pairs of jeans and 16 million bushels of rye. Assume there are no other countries willing to trade goods, so, in the absence of trade between these two countries, each country consumes the amount of jeans and rye it produces.

Arcadia's opportunity cost of producing 1 pair of jeans is of rye, and Dolorium's opportunity cost of producing 1 pair of jeans is of rye. Therefore, has a comparative advantage in the production of jeans, and has a comparative advantage in the production of rye.

Suppose that each country completely specializes in the production of the good in which it has a comparative advantage, producing only that good. In this case, the country that produces jeans will producemillion pairs per week, and the country that produces rye will producemillion bushels per week.

In the following table, enter each country's production decision on the third row of the table (marked “Production”).

Suppose the country that produces jeans trades 14 million pairs of jeans to the other country in exchange for 42 million bushels of rye.

In the following table, select the amount of each good that each country exports and imports in the boxes across the row marked “Trade Action,” and enter each country's final consumption of each good on the line marked “Consumption.”

When the two countries did not specialize, the total production of jeans was 18 million pairs per week, and the total production of rye was 52 million bushels per week. Because of specialization, the total production of jeans has increased bymillion pairs per week, and the total production of rye has increased bymillion bushels per week.

Because the two countries produce more jeans and more rye under specialization, each country is able to gain from trade.

Calculate the gains from trade—that is, the amount by which each country has increased its consumption of each good relative to the first row of the table. In the following table, enter this difference in the boxes across the last row (marked “Increase in Consumption”).

Arcadia

Dolorium

Jeans

Rye

Jeans

Rye

(Millions of pairs)

(Millions of bushels)

(Millions of pairs)

(Millions of bushels)

Without Trade
Production 6 36 12 16
Consumption 6 36 12 16
With Trade
Production
Trade action
Consumption
Gains from Trade
Increase in Consumption

In: Economics

IN JAVA 1.Write a class Item with these following requirements ØHas two properties: itemName (text) and...

IN JAVA 1.Write a class Item with these following requirements

ØHas two properties: itemName (text) and MSRP (decimal)

ØHas a getTax() method that has no implementation. This method returns a decimal value

ØHas a finalPrice() method that returns the price after tax

ØThis class cannot be instantiated

ØThis class is encapsulated

2.Write a class Electronics that inherits Item with these following requirements

ØHas two properties: manufacturer (text) and tax (decimal). tax value is shared among all electronic items

ØHas a constructor that initializes all attributes

ØProvide an implementation for getTax()

ØThis class is encapsulated

3.Write a class Shop that sells electronic items with these following requirements

ØHas two properties: shopName (text) and itemSold (collection). itemSold stores all the items that the shop sold. You can choose any Java built-in collection type that you like

ØHas a constructor (you can decide which input to have)

ØHas a method sellItem() that add a sold item to itemSold

ØHas a method getSoldList() that returns the names of all items sold in an array. This method shows an error when the collection is empty

ØThis class is encapsulated

4.Write a class Test that creates a Shop, sells a few items, then test getSoldList() and sortSoldList()

ØAssuming tax rate is 7%

In: Computer Science

Vector A = (-2, 2.4) and vector B = (4, 2.3). Find the magnitude of the...

Vector A = (-2, 2.4) and vector B = (4, 2.3). Find the magnitude of the component of A perpendicular to the direction of B

In: Physics

Suppose the government increases spending: (a) Illustrate and explain the multiplier effects on aggregate demand. [5...

Suppose the government increases spending:
(a) Illustrate and explain the multiplier effects on aggregate demand. [5 marks]
(b) Use a diagram of the money market, illustrate and explain why it may cause ‘crowding out’ to occur. [5 marks]

In: Economics

Discuss in details the strategic benefits of Business Inelegance systems

Discuss in details the strategic benefits of Business Inelegance systems

In: Computer Science

Labradors come in three colors-- black, brown and yellow. What is the genetic basis for these...

Labradors come in three colors-- black, brown and yellow. What is the genetic basis for these different coat colors? One gene produces melanin, a pigment which is deposited in the dog's fur and makes the color dark. With this gene, allele B (black) is dominant to allele b. Only in the case of a recessive homozygote (bb) will the dog's phenotype be brown. The regulatory gene is separate from the melanin gene but it acts as a switch, either turning the melanin gene on or turning it off. Allele E is dominant and allows for the melanin to be deposited in the dog's fur ("on" switch), but if the switch gene is a recessive homozygote, the melanin is blocked ("off" switch) and a yellow dog is the result!

Review the information on Labrador retrievers above. What are the phenotypic ratios of the F1 generation offspring of two dihybrids? Make sure to match the numbers with coat colors (e.g, which number in the ration goes with which color). Use a Punnett square to determine the ratios and show your work. Make sure to state the phenotypic ratios. Finally, what color are the parents?

In: Biology

Consider a consumer’s consumption-saving decision in a two-period model. Suppose that the real interest rate is...

Consider a consumer’s consumption-saving decision in a two-period model. Suppose that the real interest rate is r. This consumer’s current income is y and the future income is y’ . The government imposes lumpsum taxes t and t’ in the current period and future period, respectively. In addition, the government subsidizes savings with rate q: the consumer needs to pay 1 /(1+q) to save one unit of consumption. That is, the budget constraint of the current period is c + s/( 1 + q) = y − t.

(a) (10 points) Derive the lifetime budget constraint. Graphically illustrate this person’s budget constraint, endowment point, and optimal choice. Assume that this consumer is the lender (saver).

(b) (10 points) What will be the effects of decreasing q on (c, c’ , s), respectively? Assume that this consumer remains as the lender, and the substitution effects are dominating. Explain.

In: Economics

A stone is dropped at t = 0. A second stone, with 6 times the mass...

A stone is dropped at t = 0. A second stone, with 6 times the mass of the first, is dropped from the same point at t = 130 ms. (a) How far below the release point is the center of mass of the two stones at t = 350 ms? (Neither stone has yet reached the ground.) (b) How fast is the center of mass of the two-stone system moving at that time?

In: Physics

What is the VSEPR sketch of PO2-

What is the VSEPR sketch of PO2-

In: Chemistry

A) At a temperature of 27 ?C, what is the speed of longitudinal waves in hydrogen...

A) At a temperature of 27 ?C, what is the speed of longitudinal waves in hydrogen (molar mass 2.02 g/mol)? The ratio of heat capacities for hydrogen is ?=1.41.

Answer:v =

1320

  m/s

B) At a temperature of 27 ?C, what is the speed of longitudinal waves in helium (molar mass 4.00 g/mol)? The ratio of heat capacities for helium is ?=1.67.

Answer:v =

1020

  m/s  

C)

At a temperature of 27 ?C, what is the speed of longitudinal waves in argon (molar mass 39.9 g/mol)? The ratio of heat capacities for argon is ?=1.67.

Answer:v =

323

  m/s  

D,E, F i need help please and show work please

D)Compare your answer for part A with the speed in air at the same temperature. The ratio of heat capacities for air is ?=1.40.

E)Compare your answer for part B with the speed in air at the same temperature. The ratio of heat capacities for air is ?=1.40.

F)Compare your answer for part C with the speed in air at the same temperature. The ratio of heat capacities for air is ?=1.40.

In: Physics

Show by graphing how a change (upward shift or downward shift) in each of the following...

Show by graphing how a change (upward shift or downward shift) in each of the following factors would alter the shape of the total product curve for medical care. A. An increase of education spending. B. An improvement in lifestyle. C. An improvement in the environment.

In: Economics