Homework Answers

Math 51397 50414
Physics 44335 44333
Chemistry 40988 40988
Economics 30646 30644
Programming & Computer Science 26878 26876
English 10084 10084
Biology 8111 8109
Management 6239 6239
Engineering 6056 6056
History 3490 3489
Psychology 2129 2129
Sociology 1858 1858
Geography 1574 1574
Marketing 1443 1443
Philosophy 1001 1001
Political Science 892 891
Law 876 876
French 438 438
Other 199 199

Questions: 238 634

Answers by our Experts: 237 641

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 & Filtering

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 second list.

Mode-the most common value in the list.if multiple elements with same frequency are present ,print all the values with same frequency in increasing order.


INPUT:


The Input will be a single line containing space-seperated 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 medium,round off the value to 2 decimal places.

The third line of output should contain the mode.

Mean should always be a float value.

Median 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.


INPUT


2 2 2 3 4 4 5 5 6 7 8 8



Sample Output 1

Mean: 4.67

Median: 4.5

Mode: 2



Sample Input 2

2 6 3 1 8 12 2 9 10 3 4


Sample Output 2

Mean: 5.45

Median: 4

Mode: 2 3


A 50Uf capacitor Is connected across 230v 50hz supply calculate the reactance offer by the capacitor


If v speed of observer is added to c of light than resultant


A)v


B)v+c


C)c


D)v-c

Sickle cell anemia (S-anemia) is inherited as autosome incomplete dominant character. Homozygotes for dominant character die before puberty, the heterozygotes have subclinic anemia. The plasmodium can not use the S-hemoglobin and human with S-anemia has no malaria. What is the probability of the birth of children not stable to malaria, in a family, in which both parents are stable to malaria

Family List:


A list of words is called the Family if the words in the list follow the following rule.

we should be able to obtain each word in the list by

-changing exactly one letter from the previous word in the list

Given a list of words ,determine if the list is a Family or Not a Family

input:

The first line of input is an integer T representing the number of test cases

the first line of each test case has an integer N representing the total number of words

The second line contains N space separated strings

INPUT:

3

3

hip hop top

3

hip top hop

4

teat treat greet meet

output:

family

not a family

not a family

i/p:

3

3

tic tac toe

2

tic tac

3

tet treat greet

o/p:

not a family

family

not a family


Write a C++ program that declares an array list (a one-dimensional array) of 10 components of

type int. Initialize the array in a for loop by using rand() function with some random values

ranging from 0 to 250 and then display the components of array list horizontally by using another

for loop.

Take an integer as an input from user to be searched in the list by comparing the desired item with

each component of the array.

Program will display the index of component if searching is successful otherwise it should display an

appropriate message that “Searched item is not found!”.

Hint: Also include appropriate header files for predefined functions to be used.


THE PRESIDENT OF A SERVICE UTILITY CLAIMS THAT 60 PERCENT OF HIS 500,000 CUSTOMERS ARE VERY SATISFIED WITH THE SERVICE THEY RECEIVE. TO TEST THIS CLAIM, THE LOCAL NEWSPAPER SURVEYED CUSTOMERS, USING SIMPLE RANDOM SAMPLING. AMONG THE SAMPLED CUSTOMERS, 64 PERCENT SAY THEY ARE VERY SATISFIED. BASED ON THESE FINDINGS, CAN WE REJECT THE PRESIDENT'S HYPOTHESIS THAT 64% OF THE CUSTOMERS ARE VERY SATISFIED? USE A 0.01 LEVEL OF SIGNIFICANCE.


From statistical studies, we know that for 1981 the supply curve for wheat was approximately as follows: Supply: QS = 1800 + 240P Where price is measured in dollars per bushel and quantities are in millions of bushels per year. These studies also indicate that in 1981 the demand curve for wheat was Demand: QD = 3550 – 266P a. Find the market clearing price and equilibrium quantity of wheat for the year1981. b. What do we mean by surplus and deficit? Show us your answer graphically using the above demand and supply functions c. Show the effects of changes in demand and supply in equilibrium price and equilibrium quantity

# Accept integer number and store it to a list until user input is 0.

# Display the content of the list and size of the list.

# Display the highest and lowest numbers.


if the volume of confined gas is doubled while the temperature remains constant, what change would be observed in the pressure?


LATEST TUTORIALS
APPROVED BY CLIENTS