Questions
x y fxy(x,y) -1 -2 1/8 -0.5 -1 1/4 0.5 1 1/2 1 2 1/8 Show...

x

y

fxy(x,y)

-1

-2

1/8

-0.5

-1

1/4

0.5

1

1/2

1

2

1/8

  1. Show that the function above satisfies the probabilities of a joint probability mass function.
  2. Find E(X), E(Y), V(X), V(Y)
  3. Find marginal probability distribution of X
  4. Find the covariance and correlation.

In: Statistics and Probability

Design a clipper circuit which will clip off the input above +5 V and below +2...

Design a clipper circuit which will clip off the input above +5 V and below +2 V.

You may use any of the following components

1) Diodes with forward drop of 0.7V

2) Zener Diodes (Ideal) of any breakdown voltage

3) DC voltage source (any value)

(Please provide all steps in detail. I wish to study using them)

In: Electrical Engineering

First derive the truth table for the requested modulus sequence, draw the circuit, then implement it...

First derive the truth table for the requested modulus sequence, draw the circuit, then implement it using only the built-in AND, OR, and NOT gates.

Exercise 18 [3.0]

LOCK

Consider a boolean function with inputs: d, e, f, g. The value of the inputs can be defined as V = 8*d + 4*e + 2*f + 1*g. The output of this function is true if V mod 3 is 1.

In: Computer Science

An infinite nonconducting sheet has a surface charge density σ = 8.00 pC/m2. (a) How much...

An infinite nonconducting sheet has a surface charge density σ = 8.00 pC/m2.

(a) How much work is done by the electric field due to the sheet if a particle of charge q = +1.60 ✕ 10−19 C is moved from the sheet to a point P at distance d = 3.52 cm from the sheet?    

(b) If the electric potential V is defined to be zero on the sheet, what is V at P?

In: Physics

Write a function named "replacement" that takes a string as a parameter and returns an identical...

Write a function named "replacement" that takes a string as a parameter and returns an identical string except with every instance of the character "w" replaced with the character "v"

My code:

function replacement(word){
var str=word;
var n=str.replace("w","v");
return n;
}

Syntax Error: function replacement incorrect on input

Not sure how to fix? Can't use a loop for answer

In: Computer Science

Suppose we are given an arbitrary digraph G = (V, E) that may or may not...

Suppose we are given an arbitrary digraph G = (V, E) that may or may not be a DAG. Modify the topological ordering algorithm so that given an input G, it outputs one of the two things:

a. A topological ordering thus establishing that G is a DAG.

b. A cycle in G thus establishing that it is not a DAG.

The runtime of your algorithm should be O(m+n) where m = |E| and n = |V|

In: Computer Science

Write a program that prompts the user for a file name, make sure the file exists...

Write a program that prompts the user for a file name, make sure the file exists and then reads through the file, counts the number of times each word appears and outputs the word count in a sorted order from high to low.

The program should:

  • Display a message stating its goal
  • Prompt the user to enter a file name
  • Check that the file can be opened and if not ask the user to try again (hint: use the try/except structure)
  • Count the number of times each word appears in the file, regardless if in lowercase or uppercase (hint: use dictionaries and the lower() function)
  • Display the word count in order from high to low
  • Bonus: if a few words have the same count, sort the display in an alphabetic order
  • For example, for the attached file NYT2.txt, the top five words in the output should be

the - 7

in - 6

to - 5

and - 4

of - 4

File Name: NYT2.txt

File Content:

Fact-Checking Trump’s Orlando Rally: Russia, the Wall and Tax Cuts
President Trump delivered remarks in Florida in a formal start to his re-election effort.
Deutsche Bank Faces Criminal Investigation for Potential Money-Laundering Lapses        
Federal authorities are focused on whether the bank complied with anti-money-laundering laws, including in its review of transactions linked to Jared Kushner.
Five NY1 Anchorwomen Sue Cable Channel for Age and Gender Discrimination
The women, including Roma Torre, say their careers were derailed after Charter Communications bought New York’s hometown news station in 2016.
Hypersonic Missiles Are Unstoppable. And They’re Starting a New Global Arms Race.
The new weapons — which could travel at more than 15 times the speed of sound with terrifying accuracy — threaten to change the nature of warfare.
Nxivm’s Keith Raniere Convicted in Trial Exposing Sex Cult’s Inner Workings
Mr. Raniere set up a harem of sexual “slaves” who were branded with his initials and kept in line by blackmail.
Jamal Khashoggi Was My Fiancé. His Killers Are Roaming Free.
Washington hasn’t done enough to bring the murdered Saudi columnist’s killers to justice.

In: Computer Science

Deborah purchases a new $32,000 car in 2016 to use exclusively in her business. If Deborah...

Deborah purchases a new $32,000 car in 2016 to use exclusively in her business. If Deborah does not elect to expense but does take bonus depreciation in 2016 and holds the car until it is fully depreciated, how many years will this take? Please show your calculation:

In: Accounting

Sales are expected to increase by 25% from $8.4 million in 2016 to $10.50 million in...

Sales are expected to increase by 25% from $8.4 million in 2016 to $10.50 million in 2017. Its assets totaled $5 million at the end of 2016. The Company is already at full capacity, so its assets must grow at the same rate as projected sales. At the end of 2016, current liabilities were $1.4 million, consisting of $450,000 of accounts payable, $500,000 of notes payable, and $450,000 of accruals. The after-tax profit margin is forecasted to be 5%. Assume that the company pays no dividends. Under these assumptions, what would be the additional funds needed for the coming year?

In: Finance

The following data are taken from the financial statements of McKee Technology Inc. Terms of all...

The following data are taken from the financial statements of McKee Technology Inc. Terms of all sales are 2/10, n/55.

2016 2015 2014
Accounts receivable, end of year $149,600 $157,000 $164,200
Net sales on account 827,820 786,940

a. For 2015 and 2016, determine (1) the accounts receivable turnover and (2) the number of days' sales in receivables. Round answers to one decimal place. Assume a 365-day year.

2016 2015
1. Accounts receivable turnover ?

?

2. Number of days' sales in receivables ? days ? days

In: Accounting