Q2. Write a program for: search(LA,ITEM) in Java
1. Search whether the user's entered item is exist or not in the array if exist perform
following
2. Print two right neighbors(item/value) in case no right neighbor print message 'no right
neighbor'
3. Print two left neighbors(item/value) in case no left neighbor print message 'no left neighbor'
what is De Sade's justification for a) sex without procreation b)men right to the domination of women
Q1. Write a program for: insert(LA, K, ITEM )
1. K is not out of range
2. Item must be positive integer
3. Check user's entered ITEM at index K is greater or less than in an array at index K, if less
than insert it into the array otherwise not perform any operation, and prints the
message 'ITEM’ at index k is greater than user's entered ‘ITEM'
You are a manager at Glass Inc. a mirror and window supplier. Recently, you conducted
a study of the production process for your single-side encapsulated window. The results
from the study are summarized below and are based on the eight units of capital
currently available at your plant. Workers are paid $60 per unit, per unit capital costs
are $20, and your encapsulated windows sell for $12 each. Given this information,
optimize your human resource and production decisions. Do you anticipate earning a
profit or loss? Explain carefully.
Labor Output
0 0
1 10
2 30
3 60
4 80
5 90
6 95
7 95
8 90
9 80
10 60
11 30
PCl3 and CH4 both have a tetrahedral electronic geometry but their molecular geometries are not the same. What is the difference.
A platform diver has a kinetic energy of 12,000 n x m prior to landing in the water bucket. If her mass is 40 kg, what is her final velocity before splash?
Cash budget: Basic Farmers Delight Corporation reported sales of $350,000 in June,
$380,000 in July, and $390,000 in August. The forecasts for September, October, and
November are $385,000, $418,000, and $429,000, respectively. The initial cash bal-
ance on September 1 is $150,000, and a minimum of $8,000 should be kept. Use the
given information to compile a cash budget for the months of September, October,
and November.
(1) Farmers Delight predicts that 5% of its sales will never be collected, 30% of its sales will be cash sales, and the remaining 65% will be collected in the following month.
(2) Farmers Delight receives other monthly income of $3,000.
(3) The actual or expected purchases are $150,000, $120,000, and $115,000 for the months of September to November, respectively, and 50% are paid in cash while the remainder is paid in the following month. The purchases for August
were $120,000.
(4) Monthly rent is $3,500 chargeable only in October and November.
You are a manager at Glass Inc. a mirror and window supplier. Recently, you conducted
a study of the production process for your single-side encapsulated window. The results
from the study are summarized below and are based on the eight units of capital
currently available at your plant. Workers are paid $60 per unit, per unit capital costs
are $20, and your encapsulated windows sell for $12 each. Given this information,
optimize your human resource and production decisions. Do you anticipate earning a
profit or loss? Explain carefully
A hiker travels 4,5 km in a direction 12 degrees south of west and then 7,2 km in a direction 23 degrees west of south.
Determine the hiker’s overall displacement.
Draw each of the hiker’s individual displacement vectors on the same set of Cartesian axes, so that their initial points coincide at
the origin:
:Determine the components of each of these vectors; then use them to find the resultant/overall displacement:
a 200iC charge flows through conductor. if the p.d between its ends is 40mv, find the work done