Question: PROGRAMS D Write a complete program that displays Fibonacci series between entered two different integer numbers. Fibonacci formula is given below. FA F(72) 72 0;

PROGRAMS D Write a complete program that displays Fibonacci series between entered two different integer numbers. Fibonacci formula is given below. FA F(72) 72 0; n = 1; 12 > 1 F(1 - 1) + F(n - 2) 2) The two roots of a quadratic equation, for example, ax? + bx + c = 0 can be obtained using the following formula: 1 bVB2-4ac 2a X Here - 4ac is called the discriminant of the quadratic equation. If it is positive, the equation has two real roots. If it is zero, the equation has one roou. If it is negative, the equation has no real roots. Write a program that prompts the user to enter values for a, b, and c and displays the result based on the discriminant. If the diseriminant is positive display two roots. If the discriminant is 0. display onc rootOtherwise, display the equation has no real roots Here are some sample runs. my2 3) In physics, an object that is in motion is said to have kinetic energy. The following formula can be used to determine a moving object's kinetic energy: 1 KE 2 The variables in the formula are as follows: KE is the kinetic energy, m is the object's mass in kilograms, and v is the object's velocity in meters per second. Write a function named kinetic energy that accepts an object's mass (in kilograms) and velocity (in meters per second) as arguments. The function should return the amount of kinetic energy that the object has. Write a program that asks the user to enter values for mass and velocity, then calls the kinetic energy function to get the object's kinetic energy. 4) Write a program that asks to user how many numbers will be generated. After that, your program will generate random numbers between 25 and 100 as much as entered number. Name of the output file will be numbers file txt. Then, reads the numbers from the numbers filetxt file and display the number of total number and the numbers between 50 and 75
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
