Use mathematical induction and prove equation, Mathematics

1. Use mathematical induction to prove

2093_mathamatical induction.png

whenever n is a positive integer.

2. Use loop invariant to prove that the program for computing the sum of 1,...,n is correct.

INPUT: Integer n

OUTPUT: The sum of 1,...,n

S(n)

1. i ← 0

2. while n>0

3. do i ← i + n

4. n ← n-1

5. return(i)

Posted Date: 3/28/2013 2:12:20 AM | Location : United States







Related Discussions:- Use mathematical induction and prove equation, Assignment Help, Ask Question on Use mathematical induction and prove equation, Get Answer, Expert's Help, Use mathematical induction and prove equation Discussions

Write discussion on Use mathematical induction and prove equation
Your posts are moderated
Related Questions
Michael scored 260 points during his junior year on the school basketball team. He scored 20% more points during his senior year. How many points did he score during his senior yea

The top of the new rectangular Big Gig Thingamajig is 80 inches long and 62 inches wide. What is the top''s perimeter?

A number, x, increased through 3 is multiplied by the similar number, x, increased by 4. What is the product of the two numbers in terms of x? The two numbers in terms of x wou

Calculate the area of CIRCLE ? A circle is a set of all points that are at a given distance from a center point. The diameter (d) of a circle is the length of a line that goes

For a first order linear differential equation the solution process is as given below: 1. Place the differential equation in the correct initial form, (1). 2. Determine the i

can i get job of teaching maths here



HOW TO DRAW A TANGENT SEGMENTS TO A CIRCLE WHEN CENTRE IS NOT KNOWN?