Hello, How can we create two buttons in a single page side by side through html?And...

Hello,

How can we create two buttons in a single page side by side through html?And how can we enter different data for different buttons, so that if i click 1st button it should show specific data and if i click second it should show other data?

In: Computer Science

Selected ratios for 2018 for two companies in the same industry are presented below: Ratio Potter...

Selected ratios for 2018 for two companies in the same industry are presented below:

Ratio Potter Draco Industry Average
Asset turnover 2.7x 2.3x 2.5x
Average collection period 31 days 35 days 38 days
Basic Earnings per share $2.75 $1.25 Not available
Current Ratio 1:9:1 3:0:1 1:8:1
Dividend yield 0.3% 0.1% 0.2%
Debt to total assets 48% 32% 45%
Gross profit margin 30% 34% 33%
Inventory turnover 10x 7x 8x
Payout ratio 9% 19% 14%
Price-earnings ratio 29x 45x 38x
Profit margin 8% 6% 5%
Return on assets 12% 10% 10%
Return on common shareholders' equity 24% 16% 18%
Time interest earned 5.2x 7.6x 7.2x

REQUIRED: Answer each of the following questions providing the ratio(s) to support your answer, explain.

1) Comment on how successful each company appears to managing its accounts receivable. Terms are net 30 for both companies
2) How well does each company appear to be managing its inventory?
3) Which company is more solvent, explain using ratios?  
4) Which company is more profitable, explain using ratios?
5) The gross profit margin for Draco is higher than Potter's and the industry average. Provide two reasons why this would be the case?
6) Which company would investors believe would have greater prospects for seeking growth?
7) Why is Basic Earnings per Share not comparable between companies?

In: Accounting

Question about wave propagation Explain what is: line of sight propagation, tropospheric propagation and ionospheric propagation....

Question about wave propagation

  1. Explain what is: line of sight propagation, tropospheric propagation and ionospheric propagation.
  2. What is fading? Why is diversity needed?
  3. State the cause of ionospheric propagation.

In: Physics

All the energy investment reactions involve _______. A. isomerase B. kinase C. dehydrogenase D. aldolase

All the energy investment reactions involve _______.

A. isomerase

B. kinase

C. dehydrogenase

D. aldolase

In: Biology

2. Based on the Slutsky Equation and relevant theorems, discuss in your own words about the...

2. Based on the Slutsky Equation and relevant theorems, discuss in your own words about the reactions of quantity demanded to price and income changes (Law of Demand - Theorem 1.13).

In: Economics

13. When the output gap is _______ (an inflationary gap), the unemployment rate is below the...

13. When the output gap is _______ (an inflationary gap), the unemployment rate is below the natural rate. When the output gap is _______ (a recessionary gap), the unemployment rate is above the natural rate.

A) positive; positive

B) negative; negative

C) positive; negative

D) negative; positive

14. Along a Phillips curve:

A) consumption depends on prices.

B) the inflation rate varies inversely with the unemployment rate.

C) the inflation rate varies directly with the unemployment rate.

D) prices and tax rates are directly related.

15. An increase in the expected rate of inflation would:

A) shift the short-run Phillips curve downward.

B) shift the short-run Phillips curve upward.

C) move the economy along the short-run Phillips curve to higher rates of inflation.

D) move the economy along the short-run Phillips curve to higher rates on unemployment.

16. The long-run Phillips curve is:

A) the same as the short-run Phillips curve.

B) negatively sloped, showing an inverse relationship between unemployment and inflation.

C) vertical at the non accelerating-inflation rate of unemployment (NAIRU).

D) unrelated to the NAIRU.

17. When the economic situation is such that monetary policy can no longer be used because the nominal rate of interest cannot fall below zero, it is called:

A) the liquidity preference.

B) the money neutrality.

C) the liquidity trap.

D) the money illusion.

18. The NAIRU is:

A) the inflation rate at which the unemployment rate does not change over time.

B) a trade-off between unemployment and inflation.

C) the unemployment rate at which inflation does not change over time.

D) a rate at which it is possible to achieve lower unemployment by accepting higher inflation.

19. If the economy is currently in a recessionary gap, real GDP will be________potential output.

A) below

B) the same as

C) above

D) in equilibrium with

20. If the SRAS curve intersects the aggregate demand curve to the right of LRAS, the result will be:

A) a recessionary gap.

B) an inflationary gap.

C) cyclical unemployment.

D) Long-run equilibrium.

In: Economics

an ideal gas has C_v=(7/2)R. A 2.00 mole sample of gas starts at P=1*10^5 Pa and...

an ideal gas has C_v=(7/2)R. A 2.00 mole sample of gas starts at P=1*10^5 Pa and T=300K. determine the total P, V&T for each of the following cases, as well as ΔE_int, W and Q

a) gas is heated at constant P to 400K

b) gas is heated at constant V to 400K

c) isothermal conpression to P=1.2*10^5 Pa

d) adiabatic to compression P= 1.2*10^5

In: Physics

3. What is the new "pass thru" tax deduction? Which entities does it apply to? 4....

3. What is the new "pass thru" tax deduction? Which entities does it apply to?

4. Do you think that by reducing the corporate tax rate it will help or hurt the United States?

In: Accounting

Which of the following types of energy can be considered "mechanical" energy? (Select all that apply.)...

Which of the following types of energy can be considered "mechanical" energy? (Select all that apply.)

A.thermal
B.elastic
C.chemical
D.kinetic
E.gravitational

In: Physics

.Centralized and decentralized service offer some challenges to the food service .what are these challenges and...

.Centralized and decentralized service offer some challenges to the food service .what are these challenges and how they are best addressed please explain ?

In: Operations Management

write the program named Lab06.java that contains the following four static methods: • public static double...

write the program named Lab06.java that contains the following four static methods:

• public static double max(double[] data) that returns the maximum value in the array data

• public static double min(double[] data) that returns the minimum value in the array data

• public static double sum(double[] data) that sums all items in the array and return the result

• public static double ave(double[] data) that call the sum() method and then return the average.

Once you have completed the methods above, write a simple main program that does the following:

1. Asks the user how many items will be entered

2. Creates an array of double of the correct size

3. Prompts the user and reads in the values

4. Calculates and prints out the max, min, sum, and average using the methods above.

In: Computer Science

Build a case for and against non-reciprocity principles in developing countries. Be sure to provide a...

Build a case for and against non-reciprocity principles in developing countries. Be sure to provide a comprehensive rationale for each position and examples.

In: Economics

Im working on modifying my current code to function with these changes below Create a Java...

Im working on modifying my current code to function with these changes below

Create a Java program that meets the following criteria

  • You program should contain a “static method” double[] readArray(String filename) which accepts the name of a file to read as a String parameter.
    • This function should read all the values into a new array of “doubles”
      • NOTE: The first value of the file is an integer used to indicate the size of the array that you will need (see above)
    • The function should return the array which was created and read in this method.
  • You program should contain a function double[] processArray() (double[] dataArray) which accepts the array read by the previous function.
    • This function should scan the array and calculate the following information:
      • The smallest value in the array.
      • The largest value in the array.
      • The average value in the array.
      • The sum of the values in the array.
      • A count of the number of items that are greater than the average value
      • The largest difference between any two adjacent values!
        1. For example, using the above sample input, the largest adjacent difference is between the values 7.876 and 3.1415 (array indexes 2 and 3), which is a difference of 4.7345.
        2. (This one is not terribly difficult, but it will require some thought!)
    • The function should return a new array of six values containing the information outlined above in the order shown.
      • For example, using the sample data file above, the array would contain the following values in the following order:
        { 1.23, 7.876, 3.9817, 19.9085, 2.0, 4.7345 }
      • The order is just: smallest, largest, average, sum, above average count, largest difference
  • The main method should:
    • Check to see the user passed a filename to main itself via the (String[] args)
      • If no file name exists, the program should prompt the user to enter a source-file name.
    • Call the functions above to read the array and calculate the results.
    • Display all the final results for example:

      Smallest = 1.23
      Largest = 7.876
      Average = 3.9817
      Sum = 19.9085
      Count of Larger than Average = 2.0
      Largest Difference = 4.7345

My current code is show as below, i was wondering how i would go about doing that im a little lost.

import java.io.File;
import java.util.Scanner;

public class Lab5 {

    public static void main(String[] args) {
        String inFileName;

        if (args.length > 1) {
            inFileName = args[0];
        } else {
            Scanner console = new Scanner(System.in);
            System.out.println("Enter a Filename: ");
            inFileName = console.nextLine();
        }

        double[] myData = readArray(inFileName);
        double[] results = processArray(myData);

        // TODO: Display Results...
    }

    static double[] readArray(String filename) {
        File inFile = new File(filename);

        if (inFile.canRead()) {
            try {
                Scanner fileScanner = new Scanner(inFile);
                int count = fileScanner.nextInt();
                double[] data = new double[count];

                for (int i = 0; i < count; i++) {
                    data[i] = fileScanner.nextDouble();
                }

                return data;
            } catch (Exception e) {
                return new double[0];
            }
        } else {
            System.out.println("Can't read file.");
            return new double[0];
        }
    }

    static double[] processArray(double[] dataArray) {
        // TODO: Implement Functionality from Requirements.
        for (double data : dataArray) {
            System.out.println(data);
        }

        return new double[0];
    }

}

In: Computer Science

Define and provide examples of the following terms (a) aromatic (b) hydrophilic (c) combustion (d) methylene...

Define and provide examples of the following terms

(a) aromatic (b) hydrophilic (c) combustion

(d) methylene group (e) methyl group (f) common name

(g) IUPAC name (h) conformations (i) Newman projection

(j) eclipsed (k) staggered   (l) gauche conformation

(m) anti conformation (n) catalytic cracking (o) cis-trans isomers of a ring

(p) chair conformation (q) boat conformation   (r) distorted boat

(s) half chair conformation (t) axial position (u) equatorial position

(v) chair-chair interconversion (w) fused ring system (x) bridged bicyclic compound

(y) bridgehead carbon atoms

In: Chemistry

1.1 For each of the following events, ceteris paribus, explain whether the production possibility frontier shifts...

1.1 For each of the following events, ceteris paribus, explain whether the production possibility frontier shifts inward, shifts outward or remains unchanged. Use a single diagram to motivate your answer.

1.1.1 The discovery of coal.

1.1.2 Training for workers that increases the amount of a good that can be produced per worker.

1.1.3 A shift in preference for one good compared to the other good.

1.1.4 Invention of a new process of production that reduces the resources necessary to produce a good.

1.2 “Market structure refers to the nature and degree of competition in the market for goods and services. There are a number of determinants of market structures for a particular good.” In terms of the statement above, discuss the following determinants for the four main types of market structures.

1.2.1 Nature of product

1.2.2 Entry and exit conditions

1.2.3 Economies of scale

In: Economics