The demand and supply function of a good are given by
P = -3Qd +100
P =2Qs +50
Where p, Qd and Qs denotes the price, quantity demanded and quantity supplied respectively.
A. Calculate the equilibrium price and quantity.
A new fixed tax of £5 per good imposed by the government.
B. Calculate the new equilibrium price and quantity?
C. Who pays the tax?
Given the above demand equation if fixed costs are 15 and variable costs are 40 per unit.
D. Obtain and expression for profit in term of Q.
E. Sketch a graph for profit against quantity.
F. Find the breakeven point.
G. Find the quantity of products sold that given a profit of 42.
H. Find the maximum profit and the value of Q at which it is achieved.
Suppose we have a pointer to float data type which contains the memory address
value 100.
If we add the integer value 3 to this pointer, what will be the value of the pointer if float data
types are 4 bytes in length?
2. The growth in demand for computer hardware in a college is given by the equation t Q = )025.1(200 , where t is in months.
i) Calculate the demand when t = 0, 3, 6, 10 months.
ii) Calculate the time taken for the demand to increase to 300.
iii) Graph the demand for t = 0 to 30, hence confirm the answers to (i) and (ii).
A normally distributed data has a mean of 200 and a standard deviation of 20.What is the lowest value that belongs to the upper 10% of the distribution?
How many moles of a KOH solution are there in 375mL of 2.45M KOH, and how many grams of KOH do you have
What is the initial volume of a 12.1mol/L hcl solution needed in order 500.0ml of a 2.5 mol/l solution of hcl
Write a C++ program that takes up to 10-digit integer input from user (can be 1 digit, 2 digit, and so on..); passes this to a function which reverses the digits. Finally, the reversed number should be displayed in the main function. For example: when user enters 10-digit like 1234567890 your function will reverse it to 987654321. Do not use strings. Be careful for big integer values. [use functions, decision control]
A) A cross was made between pure breeding plants differing in two
characters (colour and shape of seed) and the progenies were inter-crossed
to produce F2 population. Four types of phenotypes; yellow round (1108),
yellow wrinkled (382), green round (366) and green wrinkled (140) were
observed in F2. Use the chi-square test to determine if these results are
due to independent assortment.
B) Explain prophase and metaphase stages of mitosis
A number is called a happy number, if you start with the given number
and arrive at 1 by repeating the following process (as illustrated in the below example):
(a) compute the sum of the squares of given number digits
(b) if the resultant value is 1, then the number is happy number, else execute point (a) for
the newly produced number.
Note that if a number is not a happy number, there will be an endless loop to this execution.
Goal: In this question, you are required to write a recursive function that checks whether
the number entered by the user is a happy number or not for 10 cycles/iterations only. The
output shown in blue colour should be shown by the function and text in yellow colour
should be displayed by the main function.
a. Write a function convert() that converts a decimal number to a binary, octal, and
hexadecimal equivalents. The function will take two arguments: first argument will be
the number to be converted and second argument will be the base in which this number
is to be converted. Function should return the converted value. You may use strings to
represent converted numbers like “0x3A”, “00101100”, “72” etc. Lower limit must be smaller than upper limit.
b. Call convert() function in the main program to produce the following output.
Example output:
Enter upper limit = 20
Enter lower limit = 10
Decimal Binary Octal Hexadecimal
10 00001010 12 0xA
11 00001011 13 0xB
12 00001100 14 oxC
13 00001101 15 0xD
14 00001110 16 0xE
15 00001111 17 0xF
16 00010000 20 0x10
17 00010001 21 0x11
18 00010010 22 0x12
19 00010011 23 0x13
20 00010100 24 0x14