Questions
Two identical containers are open at the top and are connected at the bottom via a...

Two identical containers are open at the top and are connected at the bottom via a tube of negligible volume and a valve that is closed. Both containers are filled initially to the same height of 1.00 m, one with water, the other with mercury, as the drawing indicates. The valve is then opened. Water and mercury are immiscible. Determine the fluid level in the left container when equilibrium is reestablished.

In: Physics

Please, I need a correct answer and clear explanation. Thank you, The Retained Earnings account has...

Please, I need a correct answer and clear explanation. Thank you,

The Retained Earnings account has a credit balance and credit entries are used to record increases in this account. Why do expense accounts, which are transferred to Retained Earnings when they are closed, have debit balances? Why are debit entries used to record increases in these accounts?

In: Accounting

Based on the book of James, discuss how trials and suffering can result in not only...

Based on the book of James, discuss how trials and suffering can result in not only closed doors, but also unexpected open do

1.) In your experiences, share a lesson that was tucked in the failure of one of your plans (Plan A).

2.) Examples that illustrate ways that God’s Plan (Plan B) far exceeded your original plan are encouraged.

In: Operations Management

A topological space X is zero − dimensional if it has a basis B consisting of...

A topological space X is zero − dimensional if it has a basis B consisting of open sets which are simultaneously closed. (a) Prove that the set C = {0, 1}N with the product topology is zero-dimensional. (b) Prove that if (X, d) is a metric space for which |X| < |R|, that is the cardinality of X is less than that of R, then X is zero-dimensional.

In: Advanced Math

What are the pros and cons of the Linux OS. List the following in your answer:...

What are the pros and cons of the Linux OS. List the following in your answer:

  • Brief history of the Linux OS
  • Different Linux OS versions
  • What is open source verses closed source
  • In what ways is Linux better than Windows?

What are the GUI Shell? What are the features of each one and which OS do they belong to?

In: Computer Science

A topological space X is zero − dimensional if it has a basis B consisting of...

A topological space X is zero − dimensional if it has a basis B consisting of open sets which are simultaneously closed. (a) Prove that the set C = {0, 1}N with the product topology is zero-dimensional. (b) Prove that if (X, d) is a metric space for which |X| < |R|, that is the cardinality of X is less than that of R, then X is zero-dimensional.

In: Advanced Math

Turing Machine and Closure Operations Show that Turing-recognizable languages are closed under the following operations: union...

Turing Machine and Closure Operations

Show that Turing-recognizable languages are closed under the following operations:

  • union

  • concatenation

  • star

Each answer needs only be a short informal description of a Turing Machine (but it must still be sufficiently precise so someone could reconstruct a formal machine if needed).

Also, be careful with non-termination (when appropriate)!

In: Computer Science

Given this HTML form <div class="mymargin"> <h2>iTunes Popular Music by Genre</h2> <table> <tr> <td width="100px">&nbsp;</td> <td>...

Given this HTML form

<div class="mymargin">

<h2>iTunes Popular Music by Genre</h2>

<table>

<tr>

<td width="100px">&nbsp;</td>

<td>

<form >

<span><b>Filter by Genre:</b></span> <br />

  <select name="genre" id="genre">

    <option value="">Select Genre</option>

    <option value="Alternative Rock">Alternative Rock</option>

    <option value="Country">Country</option>

    <option value="Hip Hop/Rap">Hip-hop/Rap</option>

    <option value="pop">Pop</option>

    <option value="R&B/Soul">R&B/Soul</option>

  </select>

  <input type="button" id="mymusic" name="mymusic" value="Filter Songs">

</form>

</td>

</tr>

</table>

<table id="top25"></table>

</div>

and a JSON array

var arrJson = {"iTunes Top Song":[

{"Song": "Mood (feat. iann dior)",

"Artist": "24kGoldn",

"Genre": "Hip Hop/Rap",

"Release Date": "July 24, 2020",

"Image": "24kGoldn.png"},

{"Song": "One of Them Girls",

"Artist": "Lee Brice",

"Genre": "Country",

"Release Date": "April 10, 2020",

"Image": "lee_brice.png"},

{"Song": "Commander In Chief",

"Artist": "Demi Lovato",

"Genre": "Pop",

"Release Date": "October 14, 2020",

"Image": "demi_lovato.png"},

{"Song": "Bang!",

"Artist": "AJR",

"Genre": "Alternative Rock",

"Release Date": "February 12, 2020",

"Image": "ajr.png"},

{"Song": "Blinding Lights",

"Artist": "The Weeknd",

"Genre": "R&B/Soul",

"Release Date": "November 29, 2019",

"Image": "weeknd.png"},

{"Song": "Never Break",

"Artist": "John Legend",

"Genre": "R&B/Soul",

"Release Date": "June 19, 2020",

"Image": "john_legend.png"},

{"Song": "Before You Go",

"Artist": "Lewis Capaldi",

"Genre": "Alternative Rock",

"Release Date": "November 1, 2019",

"Image": "lewis_capaldi.png"},

{"Song": "Dynamite",

"Artist": "BTS",

"Genre": "Pop",

"Release Date": "August 21, 2020",

"Image": "dynamite.png"},

{"Song": "Better Together",

"Artist": "Luke Combs",

"Genre": "Country",

"Release Date": "November 8, 2019",

"Image": "luke_combs.png"},

{"Song": "Got What I Got",

"Artist": "Jason Aldean",

"Genre": "Country",

"Release Date": "October 11, 2019",

"Image": "jason_aldean.png"},

{"Song": "Circles",

"Artist": "Post Malone",

"Genre": "Hip Hop/Rap",

"Release Date": "August 31, 2019",

"Image": "post_malone.png"},

{"Song": "WAP (feat. Megan Thee Stallion)",

"Artist": "Cardi B",

"Genre": "Hip Hop/Rap",

"Release Date": "August 7, 2020",

"Image": "cardi_b.png"},

{"Song": "Holy (feat. Chance the Rapper)",

"Artist": "Justin Bieber",

"Genre": "Pop",

"Release Date": "September 18, 2020",

"Image": "justin_bieber.png"},

{"Song":"Someone You Loved",

"Artist": "Lewis Capaldi",

"Genre": "Alternative Rock",

"Release Date": "November 8, 2018",

"Image": "breach.png"},

{"Song": "Lovely Day",

"Artist": "Bill Withers",

"Genre": "R&B/Soul",

"Release Date": "January 1, 1977",

"Image": "bill_withers.png"},

{"Song": "Free Your Mind",

"Artist": "En Vogue",

"Genre": "R&B/Soul",

"Release Date": "March 24, 1992",

"Image": "en_vogue.png"},

{"Song": "Come & Go",

"Artist": "Juice WRLD & Marshmello",

"Genre": "Hip Hop/Rap",

"Release Date": "July 9, 2020",

"Image": "juice_etal.png"},

{"Song": "More Than My Hometown",

"Artist": "Morgan Wallen",

"Genre": "Country",

"Release Date": "April 17, 2020",

"Image": "morgan_wallen.png"},

{"Song": "Be Like That",

"Artist": "Kane Brown, Swae Lee, Khalid",

"Genre": "Pop",

"Release Date": "July 10, 2020",

"Image": "kane_etal.png"},

{"Song": "Dance Monkey",

"Artist": "Tones And I",

"Genre": "Alternative Rock",

"Release Date": "May 10, 2019",

"Image": "tones.png"},

{"Song": "Go Crazy",

"Artist": "Chris Brown & Young Thug",

"Genre": "R&B/Soul",

"Release Date": "May 5, 2020",

"Image": "chris_young.png"},

{"Song": "ROCKSTAR (feat. Roddy Ricch)",

"Artist": "DaBaby",

"Genre": "Hip Hop/Rap",

"Release Date": "April 17, 2020",

"Image": "dababy.png"},

{"Song": "I Hope (feat. Charlie Puth)",

"Artist": "Gabby Barrett",

"Genre": "Country",

"Release Date": "May 1, 2020",

"Image": "gabby_barrett.png"},

{"Song": "Baby, I'm Jealous (feat. Doja Cat)",

"Artist": "Bebe Rexha",

"Genre": "Pop",

"Release Date": "October 8, 2020",

"Image": "bebe_rexha.png"},

{"Song": "my ex's best friend",

"Artist": "Machine Gun Kelly & blackbear",

"Genre": "Alternative Rock",

"Release Date": "August 7, 2020",

"Image": "machine_etal.png"}

        ]}

Please help me write a Javascript function to filter and display them by genres

In: Computer Science

1: Let X be the set of all ordered triples of 0’s and 1’s. Show that...

1: Let X be the set of all ordered triples of 0’s and 1’s. Show that X consists of 8 elements and that a metric d on X can be defined by ∀x,yX: d(x,y) := Number of places where x and y have different entries.

2: Show that the non-negativity of a metric can be deduced from only Axioms (M2), (M3), and (M4).

3: Let (X,d) be a metric space. Show that another metric D on X can be defined by ∀x,yX: D(x,y) := d(x,y)/(1 + d(x,y)).

4: Let (X,d) be a metric space.

  1. Show that every open d-ball is a d-open subset of X.
  2. Show that every closed d-ball is a d-closed subset of X.

5: Let (X,d) be a metric space. Show that a subset A of X is d-open if and only if it is the union of a (possibly empty) set of open d-balls.

In: Advanced Math

The US Federal Reserve Bank (FED) is considering tightening the money supply now. The United States...

The US Federal Reserve Bank (FED) is considering tightening the money supply now. The United States has an open macro-economy including exports and imports, a market for foreign currency (exchange rates are the price in this market), and international capital mobility. If the FED does restrict the money supply, it will affect investment as it would in a closed economy. But now, adjustments in the foreign currency market occur that induce further changes in aggregate Supply and Demand.

Summarize the majority market adjustments to the new monetary policy. First, explain how a change in the money supply affects aggregate demand(and why). Then explain the second level effects on exchange rates, and the market for goods and services (aggregate supply and demand). Use three supply/demand diagrams, one for the money market, one for the goods and services market, and one for the foreign currency market.

Compared to the closed economy we studied earlier in the semester, are the effects of a change in the money supply larger or smaller when the economy is open (Has trade and floating exchange rates)?

In: Economics