Reference no: EM131444716
Assignment
For this exam you will be creating functions and scripts in Scilab. You will turn in the Scilab files to Moodie for grading or by giving the instructor a co of the files before leavin so that oucan get credit for the exam. Also, turn in this document with your name as evidence that you were present for the exam.
Note: This work is to be done by you. DO NOT search the web for answers or ask your neighbor for help. Any evidence of cheating will result in a zero for the exam.
Part I
Make a function that will calculate the Pressure [psi] given the Specific Gravity, Depth, and the acceleration of gravity. (Pay close attention to your units)
• function [Pressure] = Phydro (InputMatrix)
• The function will take in a matrix with 3 rows and any number of columns.
o Row 1 = Specific Gravity.
o Row 2 = Depth [m].
o Row 3 = gravity [m/s^2]
• The function will output a matrix with the resulting pressures in units of [psi]
Part II
Write a script in Scilab that will graph the Hydrostatic Pressure of four different liquids over a depth of zero to 20 meters on one graph.
• Use Earth's gravity of 9.8 [m/s^2] for this calculation.
• Remember to include the graph title, label x and y values (Don't use x-axis and axis), include units, and a legend.
• Graph the Hydrostatic pressure in units of [psi] of the four different Specific
Gravity values given below.
o Gasoline SG = 0.739
o Water SG = 1
o Glycerin SG = 1.26
o Iodine SG = 4.93.
Plot the residuals from the ar model
: Some macroeconomists have claimed that there was a sharp drop in the variability of ?Y around 1983, which they call the "Great Moderation." Is this Great Moderation evident in the plot that you formed in (b).
|
Explain how the concept fits today
: Critically examine the concept: define the concept; identify when it was first discussed and what the arguments were for its creation; discuss how the concept then evolved by identifying the arguments for and against it over time and by noting any..
|
Analysis and recommendations of individual brokerage firm
: If a stock is purchased at the beginning of a? year, a single dividend is paid at the end of the year and the stock is sold immediately after the dividend has been received. The published analysis and recommendations of an individual brokerage firm i..
|
No-arbitrage determination of forward price
: By using the information above and applying the Cost-of-Carry Model, verify if there is an arbitrage opportunity. Step (2) In addition, clearly explain and illustrate the arbitrage (“Cash-and-Carry”) strategy and compute the arbitrage profit.
|
Make a function that will calculate the pressure
: Make a function that will calculate the Pressure [psi] given the Specific Gravity, Depth, and the acceleration of gravity. (Pay close attention to your units).
|
Client-server architecture program for windows
: You need a client-server architecture program for windows OS (minimum support: Win 7),. the agent program will run as a background process and perform certain tasks every X time, and send results to a web server (PHP API).
|
Find a parking space
: The length of time it takes to find a parking space at 9 A.M. follows a normal distribution with a mean of 4 minutes and a standard deviation of 2 minutes.
|
Annual coupon interest payments
: Assume that today's date is April 15, 2015. Fresh Bakery Inc. bond is an annual-coupon bond. Par value of the bond is $5,000. Calculate annual coupon interest payments. The answer should be calculated to two decimal places Company-Fresh Bakery Price-..
|
Explain asymptotic distribution
: Suppose that An is a random variable that converges in probability to 3. Suppose that Bn is random variable that converges in distribution to a standard normal. What is the asymptotic distribution of AnBn?
|