Questions
Consider an RC circuit with resistance R and capacitance C. The circuit is stimulated with a...

Consider an RC circuit with resistance R and capacitance C. The circuit is stimulated with a pulse of amplitude A and width T.

The purpose of this study is to understand what happens to the impulse response, capacitor voltage, and resistor voltage for various resistor values: 600 ?, 1000 ?, and 1200 ?. The name of the MATLAB script will be called project2a. Excite the circuit with a rectangular pulse voltage of amplitude=5 V and pulse width of 10 ms. Plot the results of each resistor value from t=0 to t=20 ms on the same graph (3 graphs-impulse response, capacitor voltage, and resistor voltage). Label all axes, put a grid on the graph, and apply the proper legend. Comment on and explain the results.

For all cases of the study, the capacitor will have a value of 1 µF. Use the function below to make graphs.

function [ Vc Vr t ] = rc_voltages( A,R,C,T,Tend )

t=0:0.0001:Tend;

for i=1:length(t)

if t(i)

Vc(i)=A*(1-exp(-t(i)/(R*C)));

Vr(i)=A*exp(-t(i)/(R*C));

else

Vc(i)=A*(exp(T/(R*C))-1)*exp(-t(i)/(R*C));

Vr(i)=A*(1-exp(T/(R*C)))*exp(-t(i)/(R*C));

end

end

end

In: Electrical Engineering

Consider the prices of a U.S. dollar in the following currencies in a foreign-exchange market: Australian...

Consider the prices of a U.S. dollar in the following currencies in a foreign-exchange
market: Australian dollar (A$) = 1.35 and Swiss franc (CHF) = 0.90.
i) What characteristics does a foreign-exchange market possess? Name any two.

ii) What is the price of a Swiss franc in Australian dollars?

iii) Consider an Australian investor who is deciding between investing domestically (i.e.
within Australia) or in Switzerland. The investor is only interested in the return his
investment will yield in 12-months. If the domestic interest rate (iA$) is 0.08 and the
interest rate in Switzerland (iCHF ) is 0.12, what is the value of a 12-month forward
rate that will make the covered interest parity condition hold?

iv) Now suppose that the spot rate is as you calculated in part (ii) and the 12-month
forward rate is as you calculated in part (iii). However, the interest rates in the two
countries are now as follows: iA$ = 0.21 and iCHF = 0.30. In which country must
the investor invest her money?

v) Australia maintains a flexible exchange rate policy. Suppose that the supply of Swiss
franc on the foreign exchange market in Australia goes down. What impact does this
change have on each of the following, holding everything else constant?
a) The price of a Swiss franc in Australian dollars.
b) The ability of Australian residents to invest in Switzerland.
c) The international reserves of the Australian central bank.

In: Economics

4. Consider the prices of a U.S. dollar in the following currencies in a foreign-exchange market:...

4. Consider the prices of a U.S. dollar in the following currencies in a foreign-exchange market: Australian dollar (A$) = 1.35 and Swiss franc (CHF) = 0.90.

i) What characteristics does a foreign-exchange market possess? Name any two.

ii) What is the price of a Swiss franc in Australian dollars?

iii) Consider an Australian investor who is deciding between investing domestically (i.e.within Australia) or in Switzerland. The investor is only interested in the return his investment will yield in 12-months. If the domestic interest rate (i(A$)) is 0.08 and the interest rate in Switzerland (i(CHF)) is 0.12, what is the value of a 12-month forward rate that will make the covered interest parity condition hold?

iv) Now suppose that the spot rate is as you calculated in part (ii) and the 12-month forward rate is as you calculated in part (iii). However, the interest rates in the two countries are now as follows: i(A$)= 0.21 and i(CHF)= 0.30. In which country must the investor invest her money?

v) Australia maintains a flexible exchange rate policy. Suppose that the supply of Swiss franc on the foreign exchange market in Australia goes down. What impact does this change have on each of the following, holding everything else constant?

a) The price of a Swiss franc in Australian dollars.

b) The ability of Australian residents to invest in Switzerland.

c) The international reserves of the Australian central bank.

In: Economics

Prior to starting measurement of vital signs it is important to assess for history of: Smoking,...

  1. Prior to starting measurement of vital signs it is important to assess for history of: Smoking, A/V Fistula, Mastectomy, and whether patient had recent hot/cold drink; and whether patient has finger nail polish. Explained the reasoning for assessment of each element.
  1. Explain what the acronym “PQRST” means and phrase how you would ask the patient each letter of the pain assessment.

  1. Explain how to take a temperature in the Tympanic Membrane vs Temporal
  1. In your own words explain how to find the radial pulse on a patient. Name two other areas of the body where the pulse can be measured, and explain how you would find those pulses correctly.

  1. How long should you count the heart rate for?

  1. Explain how you would measure the patients’ respirations without letting them know you are doing it and risking inaccurate measurement.

  1. Explain how to take a manual blood pressure using the two-step method. In your opinion is it more accurate to take a one-step or two-step blood pressure?

  1. Fill in the blank:

____________________________ appropriate vascular access until consistent reading and/or waveform appears

  1. Is it important to tell the patient what their vital signs were? Why or why not?

  1. Once you have performed vital signs what must you do prior to leaving the patients’ room

In: Nursing

1) A woman wishes to attend an all male, publicly supported college. She claims the college...

1) A woman wishes to attend an all male, publicly supported college. She claims the college is violating the equal protection clause of the Constitution. What level of scrutiny will the court use when deciding this case?

a.

Minimal scrutiny

b.

Intermediate scrutiny

c.

strict scrutiny

d.

Compelling interest scrutiny

2) When Mohammad was hired by Pomico, Inc., he signed the following agreement, "Upon termination of my employment with Pomico, I agree not to work for a competing company within 50 miles of Pomico's headquarters for one year."

a.

an exculpatory agreement

b.

a usurious agreement

c.

a bailment agreement

d.

an agreement not to compete

3) An agreement that relieves one part of liability for injury or damages caused by his/her negligence is called a(n):

a.

agreement in restraint of trade

b.

exculpatory clause

c.

nullification of liability clause

d.

usurious clause

4) If the title of an appellate court case appears as Jones v. Smith

a.

Jones is the plaintiff and Smith is the defendant

b.

Smith won the trial court decison

c.

You cannot determine which party is the plaintiff, because when a defendant loses a trial and files an appeal. some (but not all) courts reverse the name of the parties

d.

the trial judge was Jones and the appellate judge is Smith

5) Jaime offered to buy Kevin's bike, Jaime is the offeror.

True

False

In: Operations Management

In 1992, Eric M. Schmitz executed two “Limited Power of Attorney” forms with Georgetown Financial, a...

In 1992, Eric M. Schmitz executed two “Limited Power of Attorney” forms with Georgetown Financial, a Wisconsin company that provided investment, insurance, and financial services. James O’Hearn was the sole owner and chief executive officer of Georgetown Financial. Georgetown Financial purchased mutual funds through Putnam Investments for Schmitz. Putnam issued two checks and mailed them to Schmitz, in care of Georgetown Financial, as designated in the account application. O’Hearn presented both checks to Firstar Bank for deposit into a Georgetown Financial account. The larger check did not include an endorsement by or on behalf of Schmitz. The smaller check included an endorsement bearing Schmitz’s name that Schmitz claims is a forged signature. Both checks were stamped with a Georgetown Financial deposit stamp and marked “for deposit only.” Firstar Bank deposited the face value of both checks into a Georgetown Financial account. Schmitz never received the funds deposited into the account. Schmitz argued that because Georgetown Financial did not have authority to endorse the larger check, Firstar Bank was liable as a matter of law for making payment on this check, which was presented by Georgetown Financial without his actual or purported signature. Should Firstar Bank be held liable for cashing both checks? How did the court decide? [Schmitz v. Firstar Bank Milwaukee, 2003 WI 21 (2003).]

In: Operations Management

The following R code sorts each vector in a list (lst) and stores the new list...

  1. The following R code sorts each vector in a list (lst) and stores the new list in lst1. The code uses a for loop.

    lst <- list(c1=sample(1:10,10,replace=TRUE),c2=sample(1:20,10,replace=TRUE),c3=sample(1:10,8,replace=TRUE))
    lst1 <- list()
    for(i in 1:length(lst))
    {
    lst1[[i]] <- sort(lst[[i]])
    }
    lst1

    Which of the following options does the same thing as the given R code above ?

    lst <- list(c1=sample(1:10,10,replace=TRUE),c2=sample(1:20,10,replace=TRUE),c3=sample(1:10,8,replace=TRUE))
    library(purrr)
    lst1 <- map(lst,sort)
    lst1

    lst <- list(c1=sample(1:10,10,replace=TRUE),c2=sample(1:20,10,replace=TRUE),c3=sample(1:10,8,replace=TRUE))
    library(purrr)
    lst1 <- map_dbl(lst,sort)
    lst1

    None of the given options

    lst <- list(c1=sample(1:10,10,replace=TRUE),c2=sample(1:20,10,replace=TRUE),c3=sample(1:10,8,replace=TRUE))
    library(purrr)
    lst1 <- map_int(lst,sort)
    lst1

5 points   

QUESTION 2

  1. Match the R code on the left (with loop) to its equivalent one (without loop) on the right.

          -       A.       B.       C.   

    V <- c(1,NA,0,4,-1,2)

    y <- c()
    for(i in 1:3)
    {
    y <- c(y,V[i])
    }

          -       A.       B.       C.   

    V <- c(1,NA,0,4,-1,2)

    y <- c()
    for(i in 1:4)
    {
    y <- c(y,V[i])
    }

          -       A.       B.       C.   

    df <- data.frame(col1 = sample(1:3,3,replace=FALSE),
                     col2 = sample(1:3,3,replace=FALSE),
                     col3 = sample(1:3,3,replace=FALSE))

    y <- c()
    for(i in 1:ncol(df))
    {
    y <- c(y,sum(df[,i]))
    }

    A.

    V <- c(1,NA,0,4,-1,2)

    y <- V[1:3]

    B.

    df <- data.frame(col1 = sample(1:3,3,replace=FALSE),
                     col2 = sample(1:3,3,replace=FALSE),
                     col3 = sample(1:3,3,replace=FALSE))

    y <- colSums(df)

    C.

    V <- c(1,NA,0,4,-1,2)

    y <- V[1:4]

15 points   

QUESTION 3

  1. Match the R code with the value of x

    (Here: try to work out the solution with hand and double check by running the code. Don't just run the code and get the answer without understanding the logic)

          -       A.       B.       C.       D.   

    V <- c(1,NA,0,4,-1,2)
    for(i in 1:3)
    {
    y <- V[i]  
    }
    x <- y

          -       A.       B.       C.       D.   

    V <- c(1,NA,0,4,-1,2)
    for(i in 1:4)
    {
    y <- 1
    }
    x <- y
    x

          -       A.       B.       C.       D.   

    df <- data.frame(col1 = sample(1:3,3,replace=FALSE),
                     col2 = sample(1:3,3,replace=FALSE),
                     col3 = sample(1:3,3,replace=FALSE))
    for(i in 1:ncol(df))
    {
    y <- sum(df[,i])
    }
    x <- y
    x

          -       A.       B.       C.       D.   

    library(purrr)
    df <- data.frame(col1 = sample(1:4,4,replace=FALSE),
                     col2 = sample(1:4,4,replace=FALSE),
                     col3 = sample(1:4,4,replace=FALSE))
    y <- map_dbl(df,max)
    x <- min(y)
    x

    A.

    6

    B.

    0

    C.

    1

    D.

    4

20 points   

QUESTION 4

  1. The following R code extracts the unique items in each vector in a list (lst) and stores the new list in lst1. The code uses a for loop.

    lst <- list(c1=sample(1:10,10,replace=TRUE),c2=sample(1:20,10,replace=TRUE),c3=sample(1:10,8,replace=TRUE))
    lst1 <- list()
    for(i in 1:length(lst))
    {
    lst1[[i]] <- unique(lst[[i]])
    }
    lst1

    Which of the following options does the same thing as the given R code above ?

    lst <- list(c1=sample(1:10,10,replace=TRUE),c2=sample(1:20,10,replace=TRUE),c3=sample(1:10,8,replace=TRUE))
    library(purrr)
    lst1 <- map_int(lst,unique)
    lst1

    lst <- list(c1=sample(1:10,10,replace=TRUE),c2=sample(1:20,10,replace=TRUE),c3=sample(1:10,8,replace=TRUE))
    library(purrr)
    lst1 <- map_dbl(lst,unique)
    lst1

    None of the given options

    lst <- list(c1=sample(1:10,10,replace=TRUE),c2=sample(1:20,10,replace=TRUE),c3=sample(1:10,8,replace=TRUE))
    library(purrr)
    lst1 <- map(lst,unique)
    lst1

5 points   

Click Save and Submit to save and submit. Click Save All Answers to save all answers.

In: Computer Science

Using the HotelDB tables, provide the following result as a screen image. WRITE SQL to retrieve...

Using the HotelDB tables, provide the following result as a screen image.

WRITE SQL to retrieve rows from any hotel with Family room types and price less than $150.

use hoteldb;
CREATE TABLE HOTEL
( hotelNo numeric primary key
, name varchar(40)
, address varchar(40)
, city varchar(200)
);
CREATE TABLE ROOM
( roomNo numeric Primary Key
, hotelNo numeric References HOTEL
, type varchar(20)
, price dec(9,2)
);

CREATE TABLE GUEST
( guestNo numeric primary key
, name varchar(40)
, address varchar(40)
);

CREATE TABLE BOOKING
( hotelNo numeric REFERENCES Hotel
, guestNo numeric REFERENCES Guest
, dateFrom date NOT NULL
, dateTo date
, roomNo numeric REFERENCES ROOM
);

INSERT INTO HOTEL VALUES (1,'Hilton Hotel','123 Main st','New Jersey');
INSERT INTO HOTEL VALUES (2,'Holiday Inn','50 3rd Ave.', 'New York');
INSERT INTO HOTEL VALUES (3,'Governor Hotel','8243 Berkley Sq.','London');
INSERT INTO HOTEL VALUES (4,'New World Hotel','30 East River Rd', 'Hong Kong');
INSERT INTO HOTEL VALUES (5,'Santos Hotel','15 Main Rd', 'Philippines');

insert into room values (1,1,'Family',200);
insert into room values (2,1,'Family',200);
insert into room values (3,1,'Single',100);
insert into room values (4,1,'Single',100);
insert into room values (5,2,'Family',80);
insert into room values (6,2,'Family',85);
insert into room values (7,2,'Family',80);
insert into room values (8,3,'Single',35);
insert into room values (9,3,'Double',115);
insert into room values (10,3,'Double',115);
insert into room values (11,3,'Family',150);
insert into room values (12,4,'Single',30);
insert into room values (13,4,'Single',30);
insert into room values (14,4,'Single',30);
insert into room values (15,4,'Double',90);
insert into room values (16,4,'Double',90);
insert into room values (17,4,'Double',90);
insert into room values (18,4,'Family',110);
insert into room values (19,4,'Family',110);
insert into room values (20,5,'Double',38);
insert into room values (21,5,'Double',38);
insert into room values (22,5,'Single',32);
insert into room values (23,5,'Single',32);

insert into guest values (1,'John Doe','Los Angeles');
insert into guest values (2,'Mary Jane','New York');
insert into guest values (3,'Hank Kim','London');
insert into guest values (4,'Bob Jones','London');
insert into guest values (5,'Paul John','New York');
insert into guest values (6,'Ann Smith','New York');
insert into guest values (7,'James Mann','London');
insert into guest values (8,'Mary Mann','London');
insert into guest values (9,'Jim Jones','New York');
insert into guest values (10,'Tom Jones','Los Angeles');
insert into guest values (11,'Jimmy Johnson','Boston');
insert into guest values (12,'Harry Coleman','Dallas');
insert into guest values (13,'Bob James','Los Angeles');
insert into guest values (18,'John Mary','London');
insert into guest values (21,'Jeff Bridges','London');
insert into guest values (23,'Larry Cohen','New York');

In: Computer Science

1. Describe the action of Bacteriostatic antibiotics. 2. Name two bacteriostatic antibiotics. 3. Describe the action...

1. Describe the action of Bacteriostatic antibiotics.

2. Name two bacteriostatic antibiotics.

3. Describe the action of Bacteriocidal antibiotics.

4. Name two bactericidal antibiotics.

In: Nursing

What does US GAAP say about the Statement of Cash Flows? Name and define the building...

What does US GAAP say about the Statement of Cash Flows?

Name and define the building blocks of Ratio Analyses?

Name and define standards of comparison for analysis?

In: Accounting