Da Silva and Ehlers decided to admit Fischer as from 1 January as a partner under the following terms:
Ficsher will receive 1/5 of the profits and losses.
Da Silva and Ehlers will contribute in the ratio of 1:2 toward Fischers 1/5 profit share.
Fischer must pay N$1800000 for her 1/5 share in the partnership assets.
The assets of the partnership were re -valued on 1 January 2018 and the revaluation account revealed a surplus of N$60000.
Required:
Calculate the new profit sharing ratio after the admission of Fichser.
A teacher asked Ramesh to draw a Quadrilateral of a specific pattern with only symbol. The length and height should be L. Here L is the number of characters in every line.The height of the * quadrilateral is the number of lines it contains.
The slope of the quadrilateral taken as S represents the the number of extra space characters in a line when compared to its next line.
The last line will not have any space characters before the character.
Sample Input
6
9
Sample Output1
******
******
******
******
******
******
Consider an electric circuit with an inductance of 0.05 henry, a resistance of 20 ohms, a condenser of capacitance of 100 micro farads and an E = 100 volts. Find I and Q given the initial conditions Q = 0, I = 0 at t = 0
Explore transport as service and industry within the South African economy.
list contains numbers. Write a program for containing only prime numbers.
Write a python function Read_Prime(fname, list) which takes a list of numbers as an input, use this number to write them in a file "primes.txt" . The function then read the file and return a list containing only prime numbers as shown in the example. Also, write the exception handling code to show the proper message.
Example-1
Example-2
Example-2
Input:
primes.txt
[1,2,3,4,5,6,7]
Output:
[1,2,3,5,7]
Input:
primes.txt
[3,6,5,13,18,21]
Output:
[3,5,13]
Input:
primes.txt
[2,4,6,8,10]
Output:
[2]
Derive the relationship between marginal cost, wage and marginal product of labour
mean,median and mode
given a list of integers,write a program to print the mean,median and mode
mean - the average value of all the numbers.
median - the mid point value in the sorted list.
mode - the most common value in the list. if multiple elements with same frequency are present, print all values with same frequency in increasing order.
input
the input will be a single line of containing space-separated integers.
output
the first line of output should contain the mean, round off the value to 2 decimal places.
the second line of output should contain the median, round off the value to 2 decimal places
the third line of output should contain the mode
mean should always be a float value
mean should be a float value when there are even number of elements, otherwise should be an integer value
see sample input/output for the output format
explanation
for example, if the given list of integers are
2 4 5 6 7 8 2 4 5 2 3 8
the average of all the numbers is 4.67.
after sorting the array,
2 2 2 3 4 4 5 6 7 8 8
Suppose a firm employs labor as its only variable input. All workers are paid $200 per day. Output per day and variable cost are shown below.
q 1 2 3 4 5 6 7 8
VC 200 400 600 800 1200 1600 2400 3200
L 1 2 3 4 6 8 12 16
Required:
a)Find each unit of output (Q) calculate the units of labour (L) needed to produce the corresponding output level.
b)If the inverse demand for highlighter is p = 60 - Q. At a price of $20, what is the consumer surplus?
Problem 1:
Figures kept by McClure and Hanover Auctioneers for the past 5 years show that the weight of cattle brought to market has a mean of 950 kg and a standard deviation of 150 kg. What proportion of the cattle have weights of:
Problem 2:
A set of observations follow a Normal distribution with a mean of 40 and a standard deviation of 4. What proportions of observations have values of: