5. Exercises
ing flowcharts, design algorithms to solve following problems:
Find area of Circle.
The user will enter the number of eggs gathered and the program will output the number of dozens as well as the number of excess eggs.
Check whether given integer value is odd or even.
Find Roots of Quadratic equation \( \mathrm{ax}^{2}+\mathrm{bx}+\mathrm{c}=0 \).
Give n is a positive integer, x is a real number. Calculate the sum:
a) \( \mathrm{S}(\mathrm{n})=1+\frac{1}{3}+\frac{1}{5}+-+\frac{1}{2 n+1} \)
b) \( \mathrm{S}(\mathrm{n})=\sum_{i=1}^{+} \frac{x^{2+1}}{2 i+1} \sin i x \)
Find the factorial of given positive integer N .
23
Exercises