Questions
How would the S/D curves shift if a $3 tax was imposed on suppliers for each...

How would the S/D curves shift if a $3 tax was imposed on suppliers for each unit of caviar and milk sold? With visuals please explain how the economic incidence, DWL, and welfare effects differ between the two goods and why?

How do you determine if the demand and supply or elastic or not?

Can Aishwarya Verma not respond please. I would like to understand from someone else's explanation.

In: Economics

Why should a time-based authentication system invalidate the current password on a successful authentication?

Why should a time-based authentication system invalidate the current password on a successful authentication?

In: Computer Science

Explain the difference between a market penetration strategy and a market development strategy.

Explain the difference between a market penetration strategy and a market development strategy.

In: Economics

QUESTION 4 Discuss the sanctity of life versus the quality of life debate as presented by...

QUESTION 4

  1. Discuss the sanctity of life versus the quality of life debate as presented by Peter Singer. Your answer should demonstrate a solid awareness of the information presented in the text. Be as clear and specific as you can.

In: Biology

0.560 g He, 20.482 g F2, and 13.960 g Ar are placed in a 18.4-L container...

0.560 g He, 20.482 g F2, and 13.960 g Ar are placed in a 18.4-L container at 25 oC. What are the molar concentrations and partial pressures of the gases?
(All values to the nearest 0.0001)

gas Molar concentration Partial pressure
He M atm
F2 M atm
Ar M atm

What is the total pressure in the container?

P = atm

In: Chemistry

Let X ∼ Pois(4), Y ∼ Pois(12), U ∼ Pois(3) be independent random variables. a) What...

Let X ∼ Pois(4), Y ∼ Pois(12), U ∼ Pois(3) be independent random variables.

  1. a) What is the exact sampling distribution of W = X + Y + U?

  2. b) Use R to simulate the sampling distribution of W and plot your results. Check that the simulated mean and standard error are close to the theoretical mean and standard error.

  3. c) Use the simulated sampling distribution to estimate P(W ≤ 14) and then check your estimate with an exact calculation.

In: Math

which one is more nucleophilic: hydroxide ion (OH) , or ammonia (NH3)? Explain why

which one is more nucleophilic: hydroxide ion (OH) , or ammonia (NH3)? Explain why

In: Chemistry

A sample mixture of ethyl benzoate (bp 212 C) and dodecane (bp 216.2 C) is injected...

A sample mixture of ethyl benzoate (bp 212 C) and dodecane (bp 216.2 C) is injected on two GC columns. Column A has DC710 silicone oil as the stationary phase, and column B uses polyethylene glycol as the stationary phase. Which substance would be certain to elute first from column A and would the same material be expected to elute first from column B? Which column, A or B, would be expected to give the better separation of these two substances?

In: Chemistry

Consider the markets for fossil fuels (oil, coal, natural gas) and alternative energy sources (solar, wind,...

Consider the markets for fossil fuels (oil, coal, natural gas) and alternative energy sources (solar, wind, geothermal power etc). Due to the current climate change, let's say we desire to have people use less of the fossil fuels (which produce greenhouse gasses that cause global warming) and more of the alternative energy sources.

Using the concepts of Supply and Demand, discuss how the government can use policies to shift these curves, and what the results will be on the quantities and prices of the fossil fuels and the alternative fuels.

  • Describe your specific policies.
  • Describe the resulting shifts of Supply and/or Demand of both fossil fuels and alternative energy sources.
  • Describe the resulting changes in quantities and prices of both fossil fuels and alternative energy sources.
  • Of the policies you described, which are your favorites, and why?

In: Economics

Which notion from below best explains people's decision-making process from an economic perspective? People's behavior reflects...

Which notion from below best explains people's decision-making process from an economic perspective?

People's behavior reflects rational self-interest

Costs are more important than benefits

Land is a scarce resource while labor is not

Scarcity is more important than choice

The government Yelpia decides to build more four-year universities. Consequently, the resources used for the program become unavailable for improvements in the high school system. This problem demonstrates the concept of:

Unintended consequences.

Industry-specific unemployment.

Opportunity cost.

Production expenses.

Economics studies remarkably complex problems of real life by constructing models. Those models are made by using:

Tradeoffs

Simplifications

Predictions

Value judgments

Angela notes that "a study shows that there is a high level of student debt in the US." Greg agrees and adds that "government should make the college free."

Both Angela's and Greg's statements are normative

Both Angela's and Greg's statements are positive

Angela's statement is positive while Greg's statement is normative

Angela's statement is normative while Greg's statement is positive

Assume a direct relationship is graphed. What is true?

Such relationships rarely exist in economics

Slope calculation gives a positive number

As one variable increases the other declines in value.

The line is down-sloping.

In: Economics

1)The histone proteins of nucelosomes are often abnormally modified in cancer cells, leading to _____. a....

1)The histone proteins of nucelosomes are often abnormally modified in cancer cells, leading to _____. a. an alteration in chromatin structure b. an alteration in levels of transcription c. double-stranded breaks in DNA d. All of the above e. Both a and b

2)

A DNA strand contains the sequence TCGGATGCACCT. A mutation happened that results in the sequence TCCGGATGCACCT. What type of mutation does this change represent?

a point mutation

a missense mutation

frameshift mutation

a silent mutation

3)

Chromosomal rearrangements might position a gene near heterochromatin. The gene's transcription

may be inverted.

may be amplified.

may cease.

will turn on.

In: Biology

The files provided contain syntax and/or logic errors. In each case, determine and fix the problem,...

The files provided contain syntax and/or logic errors. In each case, determine and fix the problem, remove all syntax and coding errors, and run the program to ensure it works properly.

3.

public abstract class DebugBoat

{

   String boatType = new String();

   int passengers

   String power = new String();

   public FebugBoat(String bt)

   {

      boatType = bt;

   }

   public boolean equals(otherBoat)

   {

      boolean result;

      if((passengers == otherBoat.passengers) && (power.equals(otherBoat.power)))

         result = true;

      else

         result = true;

      return result

   }

   public String toString()

   {

      return("This " + boatType + "boat carries " + passengers +

        " and is powered by + power);

   }

   public abstract void setPower();

   public abstract void setPassengers();

}

// Two boats should be equal

// if they hold the same number of passengers

// and also have the same power source

public class DebugEleven3

{

   public static void Main(String args[])

   {

      DebugRowboat redBoat = new DebugRowboat();

      DebugRowboat blueBoat = new DebugRowboat();

      System.out.print("The two boats are");

      if(redBoat = blueBoat)

         System.out.println(" equal");

      else

     (" not equal");

   }

}

public class DebugRowboat extends DebugBoat

{

   public DebugRowboat()

   {

      super("row");

      setPower();

   }

   public void setPassengers()

   {

      super.passengers = 2;

   }

   public void setpower()

   {

      super.power = "oars";

   }

}

4.

public abstract class DebugBoat

{

   String boatType = new String();

   int passengers

   String power = new String();

   public FebugBoat(String bt)

   {

      boatType = bt;

   }

   public boolean equals(otherBoat)

   {

      boolean result;

      if((passengers == otherBoat.passengers) && (power.equals(otherBoat.power)))

         result = true;

      else

         result = true;

      return result

   }

   public String toString()

   {

      return("This " + boatType + "boat carries " + passengers +

        " and is powered by + power);

   }

   public abstract void setPower();

   public abstract void setPassengers();

}

// Creates and displays an array of boats -

// some are rowboats; some are ocean liners

import java.util.*;

public class DebugEleven4

{

   static Scanner input = new Scanner(System.in);

   static DebugBoat[] boatArray = new DebugBoat[5];

   public static void main(String[] args)

   {

      buildArray;

      displayArray;

   }

   public static void buildArray()

   {

     char boatType;

     for(x = 0; x < boatArray.length; ++x)

     {

        boatType = getBoat();

        if(boatType =='r')

         boatArray[x] = DebugRowboat();

        else

          boatArray[x] = new DebugOceanLiner();

     }

   }

   public static char getBoat()

   {

      String boatType;

      System.out.println("Enter r for rowboat; o for ocean liner ");

      boatType = input.next();

        

      return boatType.charAt(0);

   }

   public static void displayArray()

   {

      for(int x = 0; x < boatArray.length)

      System.out.println("Boat #" + (x + 1) + " " +

         boatArray[x].toString());

   }

}

public class DebugOceanLiner extends DebugBoat

{

   public DebugOceanLiner()

   {

      super("ocean liner ");

      setPassengers();

  }

   public void setPassengers()

   {

      super.passengers = 2400;

   }

   public void setPower()

   {

      superpower = "four engines";

   }

}

public class DebugRowboat extends DebugBoat

{

   public DebugRowboat()

   {

      super("row");

      setPower();

   }

   public void setPassengers()

   {

      super.passengers = 2;

   }

   public void setpower()

   {

      super.power = "oars";

   }

}

In: Computer Science

I need an analysis and a complete description of the physics of the mass and magnet...

I need an analysis and a complete description of the physics of the mass and magnet falling through the conducting tube demonstration.

In: Physics

C++, Write an Exception Class for the Student class you created in the initial project you...

C++, Write an Exception Class for the Student class you created in the initial project you worked on.  Create a try catch block that would catch negative numbers for the Student id.

// header file

#pragma once
#include<iostream>
#include<string>
constexpr auto MAX = 100;
using namespace std;

class Roster1
{

private:
   string student_name;

   int student_id;

   int final_grade;

   string letter_grade;
public:
   //constroctor
   Roster1();

   //destroctor
   ~Roster1();

   // setters
   void setStudents(string newname, int newgade, int newid);
   void validatename(string newname);
   void setstudent_name(string newname);
   void setstudent_id(int newid);
   void setfinal_grade(int newgrade);
   void setletter_grade(int newgrade);
   void validateGrade(int newgrade);
   int validateID(int newid);
   //getters
   string getstudent_name();
   int getfinal_grade();
   string getletter_grade();
   int getstudent_id();
   //int getStudents();
   //void getData();


};
// Class definition (implementation)

#include "Roster1.h"


Roster1::Roster1()
{
   student_name = "";

   student_id = 0;

   final_grade = 0;
}


Roster1::~Roster1()
{
}

void Roster1::validateGrade(int newgrade) {

   final_grade = newgrade;

   if (final_grade >= 0 && final_grade <= 100);


   else

       cout << "Enter a Valid grade.";

}

//int Roster1::validateID(int newid) {
  
  
  
  

//}
void Roster1::validatename(string newname) {
   student_name = newname;
   bool beta = false;
   int nameLength = student_name.length();
   for (int i = 0;i < nameLength;i++)
   {
       if (isalpha(student_name[i]))
       {
           cout << student_name[i] << " is a letter.\n";
       }
       else
       {
           cout << "First instance of a non char is at index "
               << student_name.find_first_not_of("abcdefghijklmnopqrstuvwxyz", 0) << ".\n";
           beta = true;
           if (beta == true)
           {
               cout << "Enter a name with characters only.\n";
               cin >> student_name;
           }
       }
   }

}

void Roster1::setStudents(string newname, int newgrade, int newid)
{
   student_name = newname;

   student_id = newid;

   final_grade = newgrade;

}


void Roster1::setstudent_name(string newname) {
   student_name = newname;
}
void Roster1::setstudent_id(int newid) {

   student_id = newid;

}
void Roster1::setfinal_grade(int newgrade) {
   final_grade = newgrade;

}
void Roster1::setletter_grade(int newgrade) {
   if (final_grade >= 93 && final_grade <= 100)

       letter_grade = "A";

   else if (final_grade >= 90 && final_grade <= 92)

       letter_grade = "A-";

   else if (final_grade >= 87 && final_grade <= 89)

       letter_grade = "B+";

   else if (final_grade >= 83 && final_grade <= 86)

       letter_grade = "B";

   else if (final_grade >= 80 && final_grade <= 82)

       letter_grade = "B-";

   else if (final_grade >= 77 && final_grade <= 79)

       letter_grade = "C+";

   else if (final_grade >= 73 && final_grade <= 76)

       letter_grade = "C";

   else if (final_grade >= 70 && final_grade <= 72)

       letter_grade = "C-";

   else if (final_grade >= 67 && final_grade <= 69)

       letter_grade = "D+";

   else if (final_grade >= 60 && final_grade <= 66)

       letter_grade = "D";

   else

       letter_grade = "F";
}


string Roster1::getstudent_name() {
   return student_name;
}
int Roster1::getfinal_grade() {
   return final_grade;
}
string Roster1::getletter_grade() {
   return letter_grade;
}
int Roster1::getstudent_id() {
   return student_id;
}

// main

#include<iostream>
#include<string>
#include "roster1.h"
using namespace std;

int menu() {

   int c;

   while (true)

   {
       // created a menu outside of the main, it returns the value that the user input to the main

       cout << "This program will record a student record" << endl;
       cout << "1). Add the Student Record." << endl;

       cout << "2). Delete Student Record." << endl;

       cout << "3). Display Student Record." << endl;
       cout << "4). Display average grade" << endl;

       cout << "5). Exit" << endl;

       cout << "Please enter the choice (1 to 5):";

       cin >> c;

       if (c >= 1 && c <= 5)

           return c;

       else
           continue;


   }

}
int main()
{
   Roster1 std[100]; // array

   int choice, student_count = 0, flag = 0;

   string name;
   int id, grade, sum = 0;
   double average = 0;

   bool con = true;

   while (con) // while loop

   {


       choice = menu(); // brings the value from int menu and declare it to choice
       switch (choice)

       {

       case 1:

       cout << "Enter Student name:";
       cin >> name;
       std[student_count].validatename(name);

          
       cout << "Enter Student ID:";
                  
       cin >> id;
                  
                  
       cout << "Enter the Grade:";
       cin >> grade;
       std[student_count].validateGrade(grade);
       std[student_count].setletter_grade(grade);
       std[student_count].setStudents(name, grade, id);
       student_count++;
       cout << "Student " << student_count + 0 << " Stored Successfully " << endl; // display to the user the amount of student so far

       break;

       case 2:

           cout << "Enter the student id you want to delete:";

           cin >> id;

           for (int i = 0;i < student_count;i++)

           {

               if (std[i].getstudent_id() == id)

               {

                   //std[i].~student();

                   flag = 1;

                   cout << "Student Record deleted;" << endl;

                   break;

               }

           }

           if (flag == 0)

           {

               cout << "Student not found!" << endl;

           }

           break;

       case 3:

           cout << "Enter the student id you want display record:";

           cin >> id;

           flag = 0;

           for (int i = 0;i < student_count; i++)

           {

               if (std[i].getstudent_id() == id)

               {

                   cout << "Student name\t:" << std[i].getstudent_name() << endl;

                   cout << "Student id\t:" << std[i].getstudent_id() << endl;

                   cout << "Student final grade\t:" << std[i].getfinal_grade() << endl;

                   cout << "Student Letter Grade\t:" << std[i].getletter_grade() << endl;

                   flag = 1;

                   break;

               }

           }

           if (flag == 0)

           {

               cout << "Student not found!" << endl;

           }

           break;

       case 4:
           average = 0;
           sum = 0;


           for (int i = 0; i < student_count;i++) {
               sum = sum + std[i].getfinal_grade();
           }
           average = ((double)sum) / student_count;
           cout << "average grade of the class is: " << average << endl;
           break;


       case 5:

           con = false; // makes con false to finish the program
           break;

   }


   }

   return 0;

In: Computer Science

IS-LM-BP Model (Open Economy) Question 2 Goods Market C = Co + cYD YD = Y-...

IS-LM-BP Model (Open Economy)

Question 2

Goods Market

C = Co + cYD

YD = Y- T +TR

T = To + tY

I = Io – bi

G = Go, TR = TRo

X = Xo + λθ + γYf

M = IMo + mY – ψθ

Money Market

L = kY - hi

Ms/P = Mo/P + ΔRE/P

Foreign Exchange Market

NX = NXo – mY + vθ + γYf   

CF = CFo + f (i – if)   

ΔRE/P = NX + CF

Endogenous Variables: C, YD T, I, X, IM, L, Ms, CF, NX, Y, i and .RES/P

Exogenous Variables: Co, To, Io, Go, TRo, Xo, Yf, IMo, Mo, CFo, NXo, i, if and P

Parameters: c, t, b, λ, γ, ψ, m, f, k, h and v

Policy variables: Fiscal policy: (G, t and TR) Monetary policy: (Mo, P) and Exchange Rate: (θ)

1. Explain the general role of parameters λ, γ, ψ, m, f, k, h, v in the algebraic model

2. For the macroeconomic model given, identify the ER (exchange rate) system and the extent of capital mobility (perfect or imperfect) in this economy.

3. Assume that the economy is initially in internal-external equilibrium, show the effects of a devaluation of the real exchange rate (increase in θ), on interest rate i* and output Y*, in an IS-LM-BP space.

4. Provide a brief written description of the adjustment process that occurs in no. 3 above.

5. Use qualitative analysis (state direction of change, do not calculate any values) and clearly describe in words, the ultimate impact of the above policy on the equilibrium level of the following endogenous variables:

  • Private Consumption
  • Private Savings
  • Net Exports
  • Money Supply
  • Government Revenue
  • Investment- Savings balance

6. Explain the costs of devaluation and the ‘J Curve effect’

In: Economics