Questions
A random variable (RV), x is distributed with a pdf as follows: fX(x) = [C ×...

A random variable (RV), x is distributed with a pdf as follows:

fX(x) = [C × x × (1 – x)]       0 ≤ x ≤ a            (C and a are constants)

         = 0                                otherwise

Hence, determine the following: (i) C; (ii) cumulative probability of x in the range, [(u × a) ≤ x ≤ (v × a)]; where u and v are fractions; (iii) E[x]; (iv) second moment of x ; and, (v) standard deviation of x. Assume: a = 1, u = 0.5 and v = 0.75

Hence, choose the correct set of answers in the multiple-choices listed:

Multiple-choices on the answer-set

Choices

(i) C

(ii) cdf

[ua ≤ x ≤ va]

(iii) E[x]

(iv) m2

(v) sigma(x)

1

1.5

0.4458

0.75

0.35

0.250

2

1.6

1.3435

0.60

0.55

0.254

3

1.0

0.3438

0.50

0.30

0.224

4

1.0

0.3466

0.51

0.32

0.124

5

0.8

0.1458

0.45

0.22

0.324

In: Computer Science

David is a brand new school nurse, with prior nursing experience, and will be serving a...

David is a brand new school nurse, with prior nursing experience, and will be serving a population of 1000 students at Murphy High School. While David has a health tech in the office, he also is considering how he will ensure that treatments are provided for students with special needs requiring medical treatments and nutritional considerations. He does have access to a treatment nurse (licensed RN) that floats to his high school and can be utilized on scheduled occasions. Together, the three team members come up with a planning session in which they identify the top 6 sub-populations with medical and nursing care needs in Murphy high school.

1) special needs students

a. students that require tube feedings or other nutritional considerations

b. students that require toileting assistance

c. students that require regular medication administration during school hours

2) childbearing students

a. antepartum/prenatal

b. postpartum

3) students with asthma

4) students with diabetes

a. students that require blood glucose checks and treatment

5) students with mental health needs

6) students with physical injuries

Assignment directions:

Please draw your own concept map of a high school school nurse role, including associations to the 6 sub-populations above, and listing out most probable/most common nursing interventions of primary, secondary, and tertiary levels. You may add other influencing factors that may be unique to a high school population of students.

In: Nursing

A sample of 90 WCC students found that 57 of them were female. a)Find a point...

  1. A sample of 90 WCC students found that 57 of them were female. a)Find a point estimate for the percentage of all WCC students that are female. b)Find the 95% margin of error for the estimate. c)Make a 95% confidence interval for the percentage of all WCC students that are female. Interpret the interval.

2. A sample of 84 WCC students found mean age 24.7 years old with standard deviation 7.9 years old.

a) Make an 80% confidence interval for the mean age of all WCC students. Interpret the interval.

b) Redo (a) if instead of 84 students, only 17 students had been sampled. Do not interpret the interval.

In: Statistics and Probability

this is one assignment There will be a discussion in class about this assignment What to...

this is one assignment

There will be a discussion in class about this assignment

What to do.

Create a simple database with three fields : ID, LastName, FirstName all as Strings. You should define a class called StudentRecord or DataBaseRecord with three private String elements (the three fields), along with the appropriate methods. Here's what mine looked like:

public class StudentRecord{

    private String fname;

    private String lname;

       private String ID;

    DataBaseRecord(String f,String l,String i)

    {

      this.fname=f;

        this.lname=l;

      this.ID=i;

    }

  

   

public String toString()

    {

        return(fname+" "+lname+" "+ID);

    }

  

    public int compareTo(Student otherStudent)

    {

        return(LastName.compareTo(otherStudent.LastName));

    }

      

}

You should also declare an object called DataBaseArray which is an array of DatabaseRecords. Records of type DataBaseRecord should be added at the end of the DataBaseArray. Create an IndexRecord class:

public class IndexRecord {
private String key;
private int where;

//other stuff here
}

Now create an IndexArray. This is an array of IndexRecord and is to be implemented That is, insertions must maintain the order in the array, where order is maintained by the key value. Note that this means you need to define a compareTo method in the IndexRecord object.

The OrderedArray class was an array of objects of type Student. To print out the array, we included a method called printIt() that printed out the entire array. But suppose we wanted to do the following: we wish to retrieve an element from the array, do something with it, and then retrieve the next element in the array. Why (or when) you might wish to do this will become apparent as you work on the programming assignment.

We need an iterator.

An iterator is an element that is part of the OrderedArray object; it is a current pointer to an element in the array. We can initialize this pointer to the beginning of the array or the end. We can advance the pointer forward or backward.
Finally, and most importantly, we can retrieve the element in array referenced by the iterator. The declaration of an iterator in our example would be:

public class OrderedArray
{
    private Student data[ ];
    private int nextElem;
    private int maxSize;
    private int theIterator;             //we add an iterator;

    .......

   
We can initialize the iterator to reference the beginning of the array or the end of the array. We agree that if the array is empty, either initialization should set the iterator to -1:

public void setIteratorBegin()
{
    theIterator=(nextElem>0? 0 : -1);
}
public void setIteratorEnd()
{
    theIterator=(nextElem>0 ? nextElem-1 : -1);
}


Finally, there are three methods that return an instance of a Student:

/* getIterator returns a reference to the Student currently referenced by theIterator
/*      if theIterator==1 return -1

public Student getIterator()
{
    return(theIterator==-1 ? null :data[theIterator]);
}

/* advance theIterator. If we run off end, set to -1
/* if theIterator==-1 return null, else the reference to the entry in the array

public Student getIteratorNext()
{
   theIterator=(theIterator==nextElem-1? -1: theIterator+1);
   return(theIterator==-1? null : data[theIterator]);
}


/* decrement theIterator. If we run off the beginning of the array, set to -1
/* if theIterator==-1 return null, else the reference to the entry in the array

public Student getIteratorPrev()
{
    theIterator=(theIterator==0? -1: theIterator-1);
    return (theIterator==-1?null:data[theIterator]);
}


So what does all this get us ? See the following code to traverse the array foward or in reverse:


public class UseOrderedArray {

    public static void main(String[] args)
    {
       
        Student s;
        OrderedArray myArray=new OrderedArray(20);
               
        myArray.insert(new Student("smith",16,(float)2.7));
        myArray.insert(new Student("adams",15,(float)3.1));
        myArray.insert(new Student("morris",17,(float)3.3));
       
        // print in reverse order
       
        myArray.setIteratorEnd();
        for(s=myArray.getIterator(); s!=null;s=myArray.getIteratorPrev())
            System.out.println(s);
       
        // print in forward order
       
        myArray.setIteratorBegin();
        for(s=myArray.getIterator(); s!=null;s=myArray.getIteratorNext())
            System.out.println(s);
           
    }

}

The data! Please note the format is:
        last_name first_name student_ID
Read into your own file

        
        Dunn Sean               31111
        Duong Geoffrey          29922
        Fazekas  Nicholas       31100
        Prezioso Stefano         22223
        Puvvada Mohana       11224
        Ravikumar Rakhi           11226
        Salyers Matthew      11227      
        Gillespie William       49587
        Hess Caleb           29282  
        Armatis Jared   34512   
        Beckman Allan   35176
        Wang Zhen               22113
        Wingett Jordan          12345
        Belt Keith      34987
        Bixler Tyler    22234
        Chambers Quentin        22567
        Chinni Adithya      28456
        Donheiser Michael       28456
        Kondrashov Mikhail   33331
        Kraus Laura          33332
        Krupp Phillip        49888
        Maass John           44112
        McCarty Amanda       44223
        Moldovan Gregory     44335
        Oshiyoye Adekunle   44556       
        Pagalos Frank        33112
        Perski Zackery       33221 
        Saunders Jordan       77556     
        Simpson Ashlynne     77665      
        Szalai Kyle         33112 
        Witting Robert          21354   
 

/**
* This will be the main driver program for many of your programs. Specifically,
* you will need to define a data structure and related algorithms to use with this program.
* We will be using the data file I have provied for you: a file of 68 records. Each record is composed
* of three fields:
*      String lastName
*      String firstName
*      String ID
* ID may be implemented as an integer, but it is easier to implement as a string. Both lastName and firstName
* may not be unique, but the ID **is** unique.
*
*
*/






import java.util.*;

public class COSC311Driver
{

       
   
    public static void main(String[] args)
    {
        /*The following declaration declares a data structure that will change from one assignment to the next. For example, you will need to implement
         * the following as a doubly linked list, as well as a tree.
         */
       
    
        DataBase d=new DataBase();
        int response;
        Scanner keyboard=new Scanner(System.in);
       
       
        /* Read the data into the database from the external disk file here
         * IMPORTANT: duplicate ID numbers should not be added. Disregard
         * the entire record for duplicate IDs
         */
       
       
       
       
        do
        {
            System.out.println(" 1 Add a new student");
            System.out.println(" 2 Delete a student");
            System.out.println(" 3 Find a student by ID");
            System.out.println(" 4 List students by ID increasing");
            System.out.println(" 5 List students by first name increasing");
            System.out.println(" 6 List students by last name increasing");
            System.out.println(" 7 List students by ID decreasing");
            System.out.println(" 8 List students by first name decreasing");
            System.out.println(" 9 List students by last name decreasing");
            System.out.println(" ");
            System.out.println(" 0 End");
           
            response=keyboard.nextInt();
           
            switch (response)
            {
                case 1: d.addIt();    //Note: if the user enters an ID already in use, issue a warning and return to the menu
                        break;
                case 2: d.deleteIt(); //Note: output either "Deleted" or "ID not Found" and return to menu
                        break;
                case 3: d.findIt();   //Note: output the entire record or the message "ID not Found" and return to menu
                        break;
                case 4: d.ListByIDAscending();              
                        break;
                case 5: d.ListByFirstAscending();    
                        break;
                case 6: d.ListByLastAscending();
                        break;
                case 7: d.ListByIDDescending();
                        break;
                case 8: d.ListByFirstDescending();
                        break;
                case 9: d.ListByLastDescending();
                        break;
                default:               
            }
            
        } while (response!=0);
    }
}

In: Computer Science

Example 1.8. Fix a domain D, and let V be the set of all functions f(t)...

Example 1.8. Fix a domain D, and let V be the set of all functions f(t) defined
on D. Define addition and scalar multiples as with polynomials for all t ∈ D:

(f + g)(t) = f(t) + g(t)
(cf)(t) = cf(t)

Then V is a vector space as well, the axioms are verified similarly to those for Pn.

Verify that V in the previous example satisfies the axioms for a vector space.

In: Advanced Math

The distance s(in m) above the ground for a projectile fired vertically upward with a velocity...

The distance s(in m) above the ground for a projectile fired vertically upward with a velocity of 4(a) m/s as a function of time t(in s) is given by s=4(a)t-4.(b)t2

a= 6 b=9

Find the answers to these questions

1. find t for v=0

2. find v for t=4

3. find v for t=5

what conclusions can you draw?

In: Mechanical Engineering

A speed field; It is defined by V(u,v)=(V1/L)(-xi+yj) , here V1 and L are fixed. This...

A speed field; It is defined by V(u,v)=(V1/L)(-xi+yj) , here V1 and L are fixed. This flow is 2 dimensional and stable.

(a)In which position in the flow area does the velocity equal the velocity V1? Make an outline of the speed field by drawing arrows for x>=0 , these arrows should represent fluid velocity in representative positions.

(b)Draw the flow line. (dx/u=dy/v)

In: Civil Engineering

1. Vanadium crystallizes in a body-centered cubic lattice, and the length of the edge of a...

1. Vanadium crystallizes in a body-centered cubic lattice, and the length of the edge of a unit cell is 305 pm. what is the density of V?

2. Vanadium crystallizes in a face-centered cubic lattice, and the length of the edge of a unit cell is 305 pm. what is the density of V?

3. Vanadium crystallizes in a single-centered cubic lattice, and the length of the edge of a unit cell is 305 pm. what is the density of V?

Please explain the works.

In: Chemistry

Two 2.3 kg bodies, A and B, collide. The velocities before the collision are v →...

Two 2.3 kg bodies, A and B, collide. The velocities before the collision are v → A = ( 34 i ̂ + 29 j ̂ ) m/s and v → B = ( 19 i ̂ + 1.6 j ̂ ) m/s . After the collision, v → A ′ = ( 4.0 i ̂ + 12 j ̂ ) m/s . What are (a) the x-component and (b) the y-component of the final velocity of B? (c) What is the change in the total kinetic energy (including sign)?

In: Physics

Given v′(t)=2ti+j, find the arc length of the curve v(t) on the interval [−2,3]. You may...

Given v′(t)=2ti+j, find the arc length of the curve v(t) on the interval [−2,3]. You may use technology to approximate your solution to three decimal places.

In: Math