Questions
Discuss how the OSI model has been able to allow different technologies to communicate over the...

Discuss how the OSI model has been able to allow different technologies to communicate over the years. Mention at least two specific networking technology that did not exist 40 years ago that is currently used today, such as e-mail.

In: Computer Science

*// 1- Add JavaDoc to This classes 2- Mak a UML */ import java.util.*; public class...

*//
1- Add JavaDoc to This classes 
2- Mak a UML
*/
import java.util.*;
public class Display
{
   public static void main(String[] args)
   {
       altEnerCar car1 = new altEnerCar(20000, 2001, 20000);
       altEnerCar car2 = new HydrogenCar(0, 2012, 50000, 100, false);
       altEnerCar car3 = new ElectricCar(0, 2014, 30000, 10, 50);
       altEnerCar car4 = new NaturalGasCar(0, 2000, 60000, 5, 20);
       altEnerCar car5 = new PropaneCar(0, 2011, 45000, 10, true);
      
       ArrayList<altEnerCar> cars = new ArrayList<altEnerCar>();
      
       cars.add(car1);
       cars.add(car2);
       cars.add(car3);
       cars.add(car4);
       cars.add(car5);
       Collections.sort(cars);
       System.out.println(cars);
      
   }


}




/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */






public class ElectricCar extends NoEmissionsCar
{
   private double batterycharge;
   public ElectricCar()
   {
       this.batterycharge = 200;
   }
   public ElectricCar(double miles, int yearmade, double price, double fuelcost, double batterycharge)
   {
       super(miles, yearmade, price, fuelcost);
       this.batterycharge = batterycharge;
   }
   @Override
   public void setFuelCost(double fuelcost)
   {
       this.fuelcost = fuelcost;
   }
   @Override
   public double getFuelCost()
   {
       return this.fuelcost;
   }
   public void setBatteryCharge(double batterycharge)
   {
       this.batterycharge = batterycharge;
   }
   public double getBatteryCharge()
   {
       return this.batterycharge;
   }
   @Override
   public String toString()
   {
       return "\tMiles: "+miles+"\tMake year: "+yearmade+"\tPrice: "+price+"\tFuel cost: "+fuelcost+"\tBatery Charge: "+batterycharge;
   }


}


/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */




public abstract class EmissionsCar extends altEnerCar
{
   protected double emissions;
   public EmissionsCar()
   {
       this.emissions = 60;
   }
   public EmissionsCar(double miles, int yearmade, double price, double emissions)
   {
       super(miles, yearmade, price);
       this.emissions = emissions;
   }
   public abstract void setEmissions(double emissions);
   public abstract double getEmissions();
}


/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */


public class HydrogenCar extends NoEmissionsCar
{
   private boolean infastructure;
   public HydrogenCar()
   {
       this.infastructure = false;
   }
   public HydrogenCar(double miles, int yearmade, double price, double fuelcost, boolean infastructure)
   {
       super(miles, yearmade, price, fuelcost);
       this.infastructure = infastructure;
   }


   
   @Override
   public void setFuelCost(double fuelcost)
   {
       this.fuelcost = fuelcost;
   }
   @Override
   public double getFuelCost()
   {
       return this.fuelcost;
   }
   public void setInfastructure(boolean infastructure)
   {
       this.infastructure = infastructure;
   }
   public boolean getInfastructure(boolean infastructure)
   {
       return this.infastructure;
   }
   @Override
   public String toString()
   {
       return "\tMiles: "+miles+"\tMake Year: "+yearmade+"\tPrice: "+price+"\tFuel Cost: "+fuelcost+"\tInfrastructure: "+infastructure;
   }
}


/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */


public class NaturalGasCar extends EmissionsCar
{
   private double methaneemissions;
   public NaturalGasCar()
   {
       this.methaneemissions = 15;
   }
   public NaturalGasCar(double miles, int yearmade, double price, double emissions, double methaneemissions)
   {
       super(miles, yearmade, price, emissions);
       this.methaneemissions = methaneemissions;
   }


    
   @Override
   public void setEmissions(double emissions)
   {
       this.emissions = emissions;
      
   }
   @Override
   public double getEmissions()
   {
       return this.emissions;
   }
   public void setMethaneEmissions(double methaneemissions)
   {
       this.methaneemissions = methaneemissions;
      
   }
   public double getMethaneEmissions()
   {
       return this.methaneemissions;
   }
   @Override
   public String toString()
   {
       return "\tMiles: "+miles+"\tMake Year: "+yearmade+"\tPrice: "+price+"\tEmission: "+emissions+"\tMethane Emission: "+methaneemissions;
   }


}
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */




public abstract class NoEmissionsCar extends altEnerCar
{
   protected double fuelcost;
   public NoEmissionsCar()
   {
       this.fuelcost = 30;
   }
   public NoEmissionsCar(double miles, int yearmade, double price, double fuelcost)
   {
       super(miles, yearmade, price);
       this.fuelcost = fuelcost;
   }
   public abstract void setFuelCost(double fuelcost);
   public abstract double getFuelCost();
}


/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */


public class PropaneCar extends EmissionsCar
{
   private boolean infastructure;
   public PropaneCar()
   {
       this.infastructure = true;
   }
   public PropaneCar(double miles, int yearmade, double price, double emissions, boolean infastructure)
   {
       super(miles, yearmade, price, emissions);
       this.infastructure = infastructure;
   }
   @Override
   public void setEmissions(double emissions)
   {
       this.emissions = emissions;
      
   }
   @Override
   public double getEmissions()
   {
       return this.emissions;
   }
   public void setMethaneEmissions(boolean infastructure)
   {
       this.infastructure = infastructure;
      
   }
   public boolean getMethaneEmissions()
   {
       return this.infastructure;
   }
   @Override
   public String toString()
   {
       return "\tMiles: "+miles+"\tMake Year: "+yearmade+"\tPrice: "+price+"\tEmissions: "+emissions+"\t Infrastructure: "+infastructure;
   }


}
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */
public class altEnerCar implements Comparable<altEnerCar>
{
   protected double miles;
   protected int yearmade;
   protected double price;
  
   public altEnerCar()
   {
       this.miles = 0;
       this.yearmade = 2019;
       this.price = 50000;
   }
   public altEnerCar(double miles, int yearmade, double price)
   {
       this.miles = miles;
       this.yearmade = yearmade;
       this.price = price;
   }
   public void setMiles(double miles)
   {
       this.miles = miles;
   }
   public void setYearMade(int yearmade)
   {
       this.yearmade = yearmade;
   }
   public void setPrice(double price)
   {
       this.price = price;
   }
   public double getMiles()
   {
       return this.miles;
   }
   public int getYearMade(int yearmade)
   {
       return this.yearmade;
   }
   public double getPrice()
   {
       return this.price;
   }
   public String toString()
   {
       return "\nmiles: "+miles+"\nyear made: "+yearmade+"\nprice: "+price;
   }
   public int compareTo(altEnerCar otherAECar)
   {
       return -1*(Double.valueOf(otherAECar.getPrice()).compareTo(this.price));
   }
  
}

In: Computer Science

(I am posting this question again, because whoever did it, did not mention which one is...

(I am posting this question again, because whoever did it, did not mention which one is A, B, C, D, E, F while he was answering. It looks like a mess. I have requested to mention the letters with the answers in my last post, please mention letters with the answer this time. And please solve all of the letters A, B, C, D, E, F. Thank you. )

Managerial Economics Question

1. The Poster Bed Company believes that its industry can best be classified as monopolistically competitive. An analysis of the demand for its canopy bed has resulted in the following estimated demand function for the bed:

P= 1760 - 12Q

The cost analysis department has estimated the total cost function for the poster bed as

TC = (1/3)Q^3 - 15Q^2 + 5Q + 24,000

A) Calculate the level of output that should be produced to maximize short-run profits.

B) What price should be charged?

C. Compute total profits at his price-output level.

D) Compute the point price elasticity of demand at the profit-maximizing level of output.

E) What level of fixed costs is the firm experiencing on its bed production?

F) What is the impact of a $5,000 increase in the level of fixed costs on the price charged, output produced, and profit generated?

In: Economics

Here is a selection from an abstract of a recent study entitled “The effect of health...

  1. Here is a selection from an abstract of a recent study entitled “The effect of health insurance coverage on the use of medical services” by Michael Anderson, Carlos Dobkin, and Tal Gross (2010). NBER Working paper No. 15823.

Substantial uncertainty exists regarding the causal effect of health insurance on the utilization of care. Most studies cannot determine whether the large differences in healthcare utilization between the insured and the uninsured are due to insurance status or to other unobserved differences between the two groups. In this paper, we exploit a sharp change in insurance coverage rates that results from young adults “aging out” of their parents’ insurance plans to estimate the effect of insurance coverage on the utilization of emergency department (ED) and inpatient services. [In the US, children are eligible for insurance coverage through their parents’ insurance only up to their 23rd birthday, at which point they lose eligibility.] Using the National Health Interview Survey (NHIS) and a census of emergency department records and hospital discharge records from seven states, we find that aging out results in an abrupt 5 to 8 percentage point reduction in the probability of having health insurance. We find that not having insurance leads to a 40 percent reduction in ED visits and a 61 percent reduction in inpatient hospital admissions.

  1. What two groups are being compared in this study?
  2. Identify at least one important methodological difference between the design of this study and the RAND HIE. Give a hypothetical reason why this difference would bias the results.
  3. Are the findings of this study generally consistent with the findings from the Oregon Medicaid Experiment?

In: Economics

The market for modern abstract paintings would be considered to be a “deep” market. A. T...

The market for modern abstract paintings would be considered to be a “deep” market.

A. T

B. F

An example of a contractual savings institution would be a commercial bank, as they make borrowers sign loan contracts for all loans.

A.T

B. F

Households will generally supply more funds to the loanable funds markets as their income and wealth increase, all else being equal ( ceteris paribus).

A. T

B. F

Thank you.

In: Finance

Determining the Speed of Sound Name Abstract; Include instead of these lines the objectives of the...

Determining the Speed of Sound Name Abstract; Include instead of these lines the objectives of the lab (what you investigated), the short description of how you did it and the conclusions formulated based on the obtained results. It should be ½ to 1 page long. Picture of the experimental set up Observations Data Table 1: Calculation of sound wavelength Tuning fork frequency f (Hz ) Length, (water level to top of tube) L (m) Diameter of tube, d(m) λ(m) =4(L + 0.3d) Experimental v(m/s) = f λ Room Temperature, oC Calculations A. Calculate the theoretical speed of sound (v): v = 331.4 + 0.6T0C ( m/s) • 331.4 m/s is the speed of sound at 20oC • T0C is the temperature of air during testing measured in Celsius B. Calculate the percent error of your experimentally derived value: C. Describe what is sound. D. Explain the phenomenon based on which you were able to hear the amplified sound and to determine the speed of sound. You should include a picture or a sketch of the standing waves (the key concept you need to write about) inside the tube. Because this might require different printed or electronic resources, make sure you include the references. E. What is the physical concept behind the “pitch” of a sound and what is the SI unit for it? F. What is the physical concept behind “intensity” of a sound and what is the SI unit for it? G. What are possible sources of errors in this experiment?

In: Physics

ABSTRACT: The objective of this study was to test a variety of bush meat products sold...

ABSTRACT: The objective of this study was to test a variety of bush meat products sold by meat retailer. Police investigate the incident and seized the knife. There was a small piece of tissue adhering to the knife for further investigation. DNA was extracted from the meat sample and PCR done using Forward: L14841 (5'-AAAAAGCTTCCATCCAACATCTCAGCATGATGAAA-3') and Reverse: H15149 (5'-AAACTGCAGCCCCTCAGAATGATATTTGTCCTCA-3') primer. after that dna sequencing performed for identification of species. The resulted sequence aligned against Nucleotide blast and create phylogenetic tree to identify nearest species of suspect. We identify our suspect species matches with Ceratotherium simum. The White rhinoceros , which is illegal to sell on the commercial market, was detected.

Need help writing up the Introduction.

In: Biology

A test of abstract reasoning is given to a random sample of students before and after...

A test of abstract reasoning is given to a random sample of students before and after they completed a formal logic course. The results are given below. Construct a 95% confidence interval for the mean difference in tests scores. Research has shown that the distribution of such differences is approximately normal. Interpret your result.

Before 74 83 75 82 80 63 93 84 91 77
After 73 77 70 77 74 67 95 83 84 75

In: Statistics and Probability

These questions are about an abstract data type for sets of integers. The representation used will...

These questions are about an abstract data type for sets of integers. The representation used will be sorted lists without duplicates. To help answer the questions, the following pseudocode of merge-sort for lists may be useful. It is assumed head(x) and tail(x) return the head (first element) and tail (remaining elements) of a list, respectively, and a procedure is available for splitting a list into two lists of approximately equal size.

// returns sorted version of list x
mergesort(x):
        if x is empty or tail(x) is empty then return x
        split x into lists x1 and x2
        s1 = mergesort(x1)
        s2 = mergesort(x2)
        return merge(s2, s2)

// returns merge of sorted lists s1 and s2
merge(s1, s2):
if s1 is empty then return s2
if s2 is empty then return s1
if head(s1) < head(s2) then
        h = head(s1)
        s3 = merge(tail(s1), s2)
        add h to front of s3
        return s3
else
        h = head(s2)
        s3 = merge(s1, tail(s2))
        add h to front of s3
        return s3


(a) Describe an algorithm (preferably using pseudo-code) to determine if a number n is an element of a set s (a sorted list without duplicates) and give the worst case time complexity.


(b) Describe an algorithm to convert an arbitrary list of integers (not necessarily sorted or free of duplicates) to a set (sorted and without duplicates) and give the worst case time complexity.


(c) Describe an algorithm to compute the union of two sets and give the worst case time complexity (the union of two sets is the set of elements which are in either of the two sets).


(d) Describe an algorithm to compute the intersection of two sets and give the worst case time complexity (the intersection of two sets is the set of elements which are in both of the two sets).


(e) Briefly argue why this representation of sets is better than a representation which uses arbitrary lists.

In: Computer Science

1)   The palliative care team can include a vast array of individuals and professionals, depending on the...

1)   The palliative care team can include a vast array of individuals and professionals, depending on the client's specific needs.

1.1)   List 8 (eight) members of a palliative care team.

1.2)   Mention 4 (four) responsibilities of the palliative care team

In: Nursing