1. An average worker in Brazil can produce an ounce of soybeans in 20 minutes and an ounce of coffee in 60 minutes, while an average worker in Peru can produce an ounce of soybeans in 50 minutes and an ounce of coffee in 75 minutes.
a. Who has the absolute advantage in coffee? Explain.
b. Who has the comparative advantage in coffee? Explain.
c. If the two countries specialize and trade with each other, who will import coffee? Explain.
d. Assume that the two countries trade and that the country importing coffee trades 2 ounces of soybeans for 1 ounce of coffee. Explain why both countries will benefit from this trade.
class Rational {
public:
Rational(int n=0,int d=1);
Rational(const Rational ©);
Rational operator = (const Rational &x);
Rational operator+(const Rational &x) const;
Rational operator-(const Rational &x) const;
Rational operator*(const Rational &x) const;
Rational operator/(const Rational &x) const;
Rational operator += (const Rational &x);
Rational operator -= (const Rational &x);
Rational operator *= (const Rational &x);
Rational operator /= (const Rational &x);
bool operator == (const Rational & other) const;
bool operator < (const Rational & other) const;
bool operator > (const Rational & other) const;
bool operator <= (const Rational & other) const;
bool operator >= (const Rational & other) const;
operator string() const;
~Rational();
};
ostream& operator<<(ostream& output, const Rational &);
istream& operator>>(istream& input, Rational&);
The management of a restaurant has been studying whether or not new customers return
within a month. The collected data reveal that 60% of the new customers have returned.
If 90 new customers dine at the restaurant this month, what is the probability that at least
60 will return next month? Use Normal approximation to Binomial distribution.
The mean annual salary of all the frontlines (nurses, medical technologists,
radiologic technologists, phlebotomists) in the Philippines is Php 42,500.
Assume that this is normally distributed with standard deviation Php 5,600.
A random sample of 25 health workers is drawn from this population, find
the probability that the mean salary of the sample is:
Greater than php 41, 000?
The quantity produced daily at the ABC cement factory is approximately normally
distributed with mean 0.82 and standard deviation 0.14. The units are on millions of tons.
Find the probability that the total production will between 0.80 and 0.85 million tons.
A student majoring in marketing is trying to decide on the number of firms to which she
should apply. Given her work experience, grades, and extra curricular activities, she has
been told by a placement counselor that she can expect to receive a job offer from 80% of
the firms to which she applies. Wanting to save time, The student applies to only five firms.
Assuming the counselor’s estimate is correct, find the probability that the student receives
at least three offers.
Write a program to overload operators in the same program by writing suitable operator friend functions for following expression:
O6=((O1+O2) -(O3*O4) * (++O5)) [Here O1,O2,O3,O4,O5 and O6 are objects of a class “overloading”, and this class is having one integer data member]
Show that the sequence (an) is bounded iff |an| is bounded .
write a program to find the sum S of the series where S = x - x^3 + x^5 + ..... upto N items.