Modify the linked list code from class to work with strings. Insert the following food items into the list and display the list. The items are: bread, noodles, milk, bananas, eggs. Insert them in that order. Display the list. Then delete milk and redisplay the list. Then insert ice cream and redisplay the list. Then append zucchini and redisplay the list.
c++
In: Computer Science
In: Finance
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 = 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 , 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
Consider a system of particles in a volume V and in
equilibrium with a thermal bath at temperature T.
a) What is the assembly that represents the statistical properties
of the system? Give the name of the assembly and define it.
b) If the microstates of the system are classically described by
the ϕ phases in the Γ space. What is the
probability density p(ϕ) of finding the system in the microstate
phi?
c) Write the appropriate partition function to the system.
d) With which thermodynamic variable is this partition function
directly related? Write the relationship between them.
In: Physics
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 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 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 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