Answered step by step
Verified Expert Solution
Question
1 Approved Answer
phyton 3.6 beginner 1. The Fibonacci sequence starts 1, 1, 2,3,5, 8, .... Each number in the se- quence (after the first two) is the
phyton 3.6 beginner
1. The Fibonacci sequence starts 1, 1, 2,3,5, 8, .... Each number in the se- quence (after the first two) is the sum of the previous two. Write a pro- gram that computes and outputs the nth Fibonacci number, where n is a value entered by the user 2. The National Weather Service computes the windchill index using the fol- lowing formula 35.74 + 0.6215T-35.75 V0.16 + 0.4275T (V0.16) Where T is the temperature in degrees Fahrenheit, and V is the wind speed in miles per hour. Write a program that prints a nicely formatted table of windchill val- ues. Rows should represent wind speed for 0 to 50 in 5-mph increments and the columns represent temperatures from -20 to +60 in 10-degree in crements. Note: The formula only applies for wind speeds in excess of 3 miles per hour. 3. Write a program that uses a while loop to determine how long it takes for an investment to double at a given interest rate. The input will be an annualized interest rate, and the output is the number of years it takes an investment to double. Note: The amount of the initial investment does not matter; you can use $1Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started