Homework Answers

Math 50414
Physics 44332
Chemistry 40988
Economics 30643
Programming & Computer Science 26876
Biology 8109
Engineering 6056

Questions answered by Experts: 207 418

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

a) Write a program which allows a student to enter a string and test for whether string is a palindrome or not. If string is a palindrome replace all characters with random numbers between 1 and 100 and displays the output, else prompt student re-enter string.



b) Write a program which allows a company secretary to write employee details in file called EmployeeHours.txt and retrieves the information using pointers to display it on the screen.

Two point charges are separated by a distance r. If the separation is reduced by a factor of 1.5, by what factor does the electric force between them change? 


Two particles with electric charges Q and -3Q are separated by a distance of 1.2 m.


(a) If Q = 4.5C, what is the electric force between the two particles?

(b) If Q= -4.5 C, how does the answer change? 


a) Write a program using functions to imitate a university canteen ticketing system. A student is required to enter their registration number and pin to access the food menu and make payments. Also a student is allowed to enter only two times a wrong pin before account is blocked.



b) Demonstrate using functions to calculate the area and perimeter as right angled triangle. Given that the perimeter of a triangle is the sum of all three sides and the hypotenuse of a triangle is obtained by sqtr((len * len)+(height * height)) where sqtr() is in a built-in function.

reaction with Caco3 and Ezyme produce


Answer the question below based on the information given

. All data are in RM million

. Government expenditure function : 100

Investment function : 500

Consumption function : 200 + 0.6Yd

Tax function : 10 Export function : 0.2Y

Import function : 100

(i) Calculate the consumption and savings function after tax.

(ii) Calculate the national income equilibrium by using Injection = Leakage approach.

(iii)Calculate the national income equilibrium by using Aggregate Demand = Aggregate Supply.

(iv)Calculate the total consumption at the national income equilibrium.


Create a sequence of numbers from 15 to 25 and increment by 4. What is the index of the value 19


A man who earns 400 pay 10% of the first 100 and 5% of the next 200 as tax. How much tax does he pay

Caffeine (C 8 H 10 N 4 O 2 ), is a stimulant found in coffee, tea, colas and energy drinks. It is

used to restore mental alertness or wakefulness during fatigue or drowsiness. Caffeine is

also found in some headache and migraine medications. Solve for its percent


composition.


A thermodynamic process follows this relation: P = kV⁻². If the initial pressure is P₁ and the final pressure is P₂, then what is the work done on the gas? Heat can flow through the container.


LATEST TUTORIALS
APPROVED BY CLIENTS