Questions
Rewrite following Java program using use List and not arrays. public class Shoes { private String...

Rewrite following Java program using use List and not arrays.

public class Shoes {

    private String name;
    private int size;
    private String model;

    public Shoes() {
    }

    public Shoes(String name, int size, String model) {
        this.name = name;
        this.size = size;
        this.model = model;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    @Override
    public String toString() {
        return "name='" + name + '\'' + ", size=" + size + ", model='" + model + '\'';
    }

    public static void main(String[] args) {
        Shoes[] shoes = new Shoes[5];
        shoes[0] = new Shoes("Nike1", 9, "Nike");
        shoes[1] = new Shoes("ASICS2", 12, "ASICS");
        shoes[2] = new Shoes("Adidas8", 11, "Adidas");
        shoes[3] = new Shoes("Saucony7", 6, "Saucony");
        shoes[4] = new Shoes("Brooks5", 8, "Brooks");

        for (int i = 0; i < shoes.length; i++) {
            System.out.println(shoes[i]);
        }
    }
}

In: Computer Science

V VolCal in at the end of the year is expected to have EPS of $5...

V VolCal in at the end of the year is expected to have EPS of $5 the firm has a cost of capital of 19% currently pay out of all earnings as a divident using the assumption of perfect capital markets

if the firm decides to payout 60% of earnings and the firms return on investments is 15% what firm value will the company have?

a. 43.7750
b.58.8835
c.41.666
d.50.2575
e.40.0000
f.45.4545
g. 0%
h. 2%
I 1%
j. 3%
k.60.2675

In: Finance

What is a disadvantage of Cramer’s V when it comes to measuring the strength of the...

What is a disadvantage of Cramer’s V when it comes to measuring the strength of the association between two nominal scale variables?

In: Statistics and Probability

A 24.0-V battery is connected in series with a resistor and an inductor, with R =...

A 24.0-V battery is connected in series with a resistor and an inductor, with R = 4.60 Ω and L = 7.00 H, respectively.

(a) Find the energy stored in the inductor when the current reaches its maximum value. ________J

(b) Find the energy stored in the inductor at an instant that is a time interval of one time constant after the switch is closed. ________J

In: Physics

The power dissipated in a resistor is given by P = V 2 / R ,...

The power dissipated in a resistor is given by P = V 2 / R , which means power decreases if resistance increases. Yet this power is also given by P = I 2 R , which means power increases if resistance increases. Explain.

In: Physics

Suppose that W1 and W2 are subspaces of V and dimW1<dimW2. Prove that there is a...

Suppose that W1 and W2 are subspaces of V and dimW1<dimW2. Prove that there is a nonzero vector in W2 which is orthogonal to all vectors in W1.

In: Advanced Math

Using MATLAB: The velocity, v, and the distance, d, as a function of time, of a...

Using MATLAB:

The velocity, v, and the distance, d, as a function of time, of a car that accelerates from rest at constant acceleration, a, are given by

= a n d = 12

Determine v and d at every second for the first 10 seconds for a car with acceleration of = 15 ft/s2. Your output must have exactly the same format as the template table below. Note that dots have been added to the table below; you can count the dots to determine the exact spacings. Also note the units.

··········Time (s) ······· ···Distance (ft) ·········Velocity (mph) ··········x.x·················x.xxe+yy···············x.xxx

In: Mechanical Engineering

The demand for labor is given by V MPE = 40 − 0.004E. The supply of...

The demand for labor is given by V MPE = 40 − 0.004E. The supply of labor is given by w = 5 + 0.01E.

(a) If the demand and supply curves are for a perfectly competitive labor market, what would be equilibrium wage and employment? What would be the producer and worker surplus?

(b) If the demand and supply curves are for a perfectly discriminating monopsonist, what would be the equilibrium employment? What would be the equilibrium wage, if any? What would be the producer and worker surplus?

(c) If the demand and supply curves are for non-discriminating monopsonists, what would be the equilibrium employment and equilibrium wage? What would be the producer and worker surplus?

(d) Now suppose that the government introduces a minimum wage of $25. How would it change the equilibrium wage and employment in parts (a)-(c)?

In: Economics

A generator with an rms voltage of 130 V is connected in series to a resistor...

A generator with an rms voltage of 130 V is connected in series to a resistor 3.65 kΩ and a capacitor 3.00 μF .

1. At what frequency must this circuit be operated for the current to lead the voltage by 29.0 ∘? (Answer Hz)

2. Using the frequency found in part A, find the average power consumed by this circuit. (Answer in W)

------------------------------------------

A 1.6-m wire is wound into a coil with a radius of 3.2 cm.

1.

If this coil is rotated at 94 rpm in a 7.2×10−2-T magnetic field, what is its maximum emf?

Express your answer using two significant figures.(In mV)

In: Physics

An AC voltage with an amplitude of 130 V is applied to a series combination of...

An AC voltage with an amplitude of 130 V is applied to a series combination of a 224 μF capacitor, a 114 mH inductor, and a 15.7 Ω resistor.

Calculate the power dissipated by the circuit at a frequency of 50.0 Hz.

Calculate the power factor at this frequency.

Calculate the power dissipation at a frequency of 60.0 Hz.Calculate the power factor at this frequency.

Calculate the power factor at this frequency.

In: Physics