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

Write a program to take a String as input then display the first and last letter of each word with a condition that if it is having one character then it will remain as it is using only indexOf() function.


For example:


Enter a String


ASia is A conTinEnT


Modified: Aa is A cT


Don't use array[] and split

A petrol pump station has two pumps. The







service times follows the exponential







distribution with a mean of 4 minutes and







cars arrive for service in a Poisson process at







the rate 10 cars per hour. Find the







probability of that a customer has to wait for







service.

Write an algorithm that displays an equivalent color once an input letter matches its first character.



For example b for Blue, r for Red, and so on. Here are the given criteria: (The letters as an input data and the color as output information).



Letters Color



‘B’ or ‘b’ Blue



‘R’ or ‘r’ Red



‘G’ or ‘g’ Green



‘Y’ or ‘y’ Yellow



Other letters “Unknown Color”




















Relation between group velocity and phase velocity

code for denominations 100, 50,10,1


how many minutes will it take to plate out 6.0grams of (Cd) from C(d+2) solution using current of 6.0 A


A 100 KG WOODEN CRATE IS AT REST ON A LEVEL STONE FLOOR WITH COEFFICIENT OF FRICTION OF 0.5 .

A. WHAT IS THE MINIMUM HORIZONTAL FORCE NEEDED TO START THE CRATE MOVING ?

B. WHAT IS THE MINIMUM HORIZONTAL FORCE NEEDED TO KEEP THE CRATE IN MOTION AT CONSTANT SPEED WHERE THE COEFFICIENT OF KINETIC FRICTION IS 0.4 ?


Raphael’s grades in his statistics classes are as follows: Quizzes: 62, 88, 82 Laboratories: 89, 96 Examinations: 87, 99 a. In this class, quizzes count once, laboratories count twice as much as a quiz, and examinations count three times as much as a quiz. Determine the mode, mean and median. b. If Raphael’s quiz grade of 62 was removed from the data, briefly describe the anticipated effect on the statistics you calculated in part (a). 


Suppose that government of Pakistan gives soft loans to producer.how would You expect such a change to affect output, employment and the real wages in the classical model

 In a class test the teacher announces the marks (negative marking is allowed) of n (n>0) students. A student can achieve maximum 100 marks. Write a python function print_marks(*marks)  that takes number of students, marks of students and return the marks and check the marks are valid or not. If valid then it calls the recursive function rec_Sort(*marks) which returns the students marks as a comma-separated string with elements in ascending order. (You can use of built-in function max ()/min() to do this).

Example-1

Example-2

Example-3

Example-4

Example-5

Input:

5

6

56

58

 

Output:

5, 6, 56, 58

 

Input:

12

-3

45


37

90

Output:

-3, 0, 12, 37, 45, 90

Input:

56

96

100

101

Output:

Invalid Input

Input:

56

196

20

10

Output:

Invalid Input

Input:

50

40

10


Output:

0, 10, 40, 50

 




LATEST TUTORIALS
APPROVED BY CLIENTS