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

First and last digits

Given two numbers M and N, write a program to count of the numbers which have the same first and last digits in the given range M to N(inclusive M and N)


Input

the first line of input will contain a positive integer M.

the second line of input will contain a positive integer N.

output

The output should be an integer denoting the count of the numbers in the range which meet the given condition.


Explanation

For example, if the given number are M is 5and N is 30, the numbers which have the first and last digit equal in the given range(5,6,....29,30) are 5 6 7 8 9 11 and 22. so the output should be 7.


sample input 1

5

30

sample output 1

7

sample input 2

1

10

sample output 2

9


Suppose the marginal utility and total utility of Peter mamokos weekly consumption of bananas are both positive and that he subsequently consumes fewer bananas per week.What will happen to his marginal utility and total utility of bananas.Explain (06)

Elements of anti diagonal

Write a program to print the anti-diagonal elements in the given matrix.


input

The first line of input will contain an integer N, denoting the number of rows and columns of the input matrix.

the second line of input will contain N space-separated integers denoting the elements of each row of the matrix.


output

The output should be a list containing the anti-diagonal elements.


explanation

For example, if the given N is 3, and the given matrix is

1 2 3

4 5 6

7 8 9


The anti-diagonal elements of the above matrix are 3 5 7. so the output should be the list

[3, 5, 7]


sample input 1

3

1 2 3

4 5 6

7 8 9

sample output 1

[3, 5, 7]

sample input 2

5

44 71 46 2 15

97 21 41 69 18

78 62 77 46 63

16 92 86 21 52

71 90 86 17 96

sample output 2

[15, 69, 77, 92, 71]


Md=25y-80r,Ms=2400, p=2



a)       Find equilibrium output equation. And Y* when r=12%



b)     Find LM curve equation



c)      Find slope of LM curve.



d)     MS increased to 3000



3. Find equilibrium r



4. Find equilibrium y




Verify the following chemical equation is balanced

TiO2 + 2C → Ti + 2CO

If you begin with 15.9 kilograms of carbon, how many moles of Ti can be produced?



In the simplest possible Keynesian macroeconomic model …

a. government is important in distributing social grants.

b. households consume products sold in the goods market.

c. the labour market plays an important role.

d. social grants help people have income to spend on consumption goods like taxi rides.

e. wages are flexible.


Interleave String

Given two strings, write a program to merge the given two strings by adding characters in alternating order, starting with the first string. If a string is longer than the other, append the additional characters onto the end of the merged string.

input

the first line of input will containing a string.

the second line of input will containing a string.

the strings may contain special characters ,digits and string.

output

the output should be the merged string

explanation

For example, if the given strings are "abc" and "pqrs", then alternating characters from each string are merged as "a" from "abc", "p" from "pqr" "b" from "abc" and so on ...., resulting in the merged string "apbqcr".

sample input 1

abc

pqr

sample output 1

apbqcr

sample input 2

abc

pqrst

sample output 2

apbqcrst


countries with high fertility levels face serious problems, how does it fit into the solow growth model?


Germany has a high technology level, because of high investment in education, a national culture of long education, strong protection of property rights, and an open economy. It has a high growth rate if capital per worker, despite a lack of natural resources. In contrast


LATEST TUTORIALS
APPROVED BY CLIENTS