GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

Consider an economy with three possible states: bad, normal,…

Consider an economy with three possible states: bad, normal, and good. The probability of each state is given in the array of probabilities “p”  below. The payoff of a risky stock in each state is given in the array R.  p = np.array([0.1, 0.6, 0.3]) R = np.array([[0.05], [0.03], [-0.02]]) If we want to compute the expected return on this risky asset, what is the command line we should execute in Python?

Read Details

Consider the array below: x = np.array([9, 0.05, -90.43, 1.7…

Consider the array below: x = np.array([9, 0.05, -90.43, 1.78, 5, 6.3]) What is the element x[3] ?

Read Details

Which of the following molecule has the highest boiling poin…

Which of the following molecule has the highest boiling point? (The numbers shown in the choices are supposed to be subscripts.)

Read Details

Assume we download the stock price of Tesla using the comman…

Assume we download the stock price of Tesla using the command  startdate = ‘2019-01-01’ enddate = ‘2021-01-01’ tesla = web.get_data_yahoo(“TSLA”, startdate, enddate)tesla Date Open High Low Close Adj Close Volume 2019-01-02 61.220001 63.026001 59.759998 62.023998 62.023998 58293000 2019-01-03 61.400002 61.880001 59.476002 60.071999 60.071999 34826000 2019-01-04 61.200001 63.599998 60.546001 63.537998 63.537998 36970500 2019-01-07 64.344002 67.348000 63.549999 66.991997 66.991997 37756000 2019-01-08 68.391998 68.802002 65.403999 67.070000 67.070000 35042500   Which of the following commands gives you the “Adj Close” column?

Read Details

RMSProp is an example of a/an

RMSProp is an example of a/an

Read Details

Which of the following is NOT affected by the intermolecular…

Which of the following is NOT affected by the intermolecular forces?

Read Details

To evaluate the performance of our ML model, we can look to…

To evaluate the performance of our ML model, we can look to some metrics on the validation set. For instance, we can check the L2 norm of the validation set, which is simply the

Read Details

Consider the function below f = lambda x: np.sqrt(x**2) + 3…

Consider the function below f = lambda x: np.sqrt(x**2) + 3 * xWhat is the output of f(f(-1))?  

Read Details

The heat of vaporization of hexane is 30.8 kJ/mol. The boili…

The heat of vaporization of hexane is 30.8 kJ/mol. The boiling point of hexane at a pressure of 1.00 atm is 68.9 ̊C. What will the boiling point, in celsius, be at a pressure of 0.50 atm? Clausius-Clapeyron eq.  ln(P1/P2) = (Hvap/R)(1/T1 – 1/T2), R = 8.314 J/K•mol  

Read Details

Which of the following molecule(s) exhibit(s) dipole-dipole…

Which of the following molecule(s) exhibit(s) dipole-dipole interaction? Choose all that apply. (The numbers shown in the choices are supposed to be subscripts.)

Read Details

Posts pagination

Newer posts 1 … 43,888 43,889 43,890 43,891 43,892 … 67,239 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top