Write a program to find sum middle 2 or 3 digits (if odd number of digits) of an entered number.
Example: for even number of digits
Input
4567
Output
5+6=11
2nd Example: for odd number of digits
Input
123
Output
2
3rd e.g.
Input
12345
2+3+4=9
You are given the price list of certain equipment (Table 1).
Write a script or function that takes an input for the number of items from each equipment and calculates the total number of equipment, total cost, and average cost per item.
(Table 1: Price List: )
Equipment Price (£)
Power generator 30
Transformer 10
Stepper motor 15
DC motor 8.5
Write a script of function that will take an input as the total budget and calculate how many items can be purchased for each equipment
How can determined of Sulfate in detergent washing powder?
reaction with Caco3 and Ezyme produce
Please assist, Thank you
A firm has the following revenue and cost functions:
TR = 120Q – 2Q2
TC = 200 +60 Q + Q2
Determine the level of output at which the firm maximizes its total profit
(d) Explain two reasons why a government may privatise an industry. [4]
(e) Analyse how a successful airline industry can promote economic growth. [6] (f) Discuss whether the Indian government should increase the tax on airline fuel. [7]
(g) Discuss whether more people will apply to be pilots for Indian airlines in the future. [7]
150 j of heat energy is required to increase the temperature of a body by 6.0°c , calculate the heat capacity of the body and thus it's specific heat capacity if it's mass is 0.1kg
1. The mean life time of a sample of 16 fluorescent light bulbs produced by a company is computed to be 1570 hours. The population standard deviation is 120 hours. Suppose the hypothesized value for the population mean is 1600 hours. Can we conclude that the life time of light bulbs is decreasing? (Use and assume the normality of the population)
A thin sheet of mica is inserted between the plates of a plane capacitor. What pressure will act on this sheet when the intensity of the electric field is 10 kV/cm?