Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 $1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals Design

Authors: Marion Donnie Dutton Don F. Seaman

14th Edition Globel Edition

1292107634, 978-1292107639

More Books

Students also viewed these Databases questions

Question

1. Traditional and modern methods of preserving food Articles ?

Answered: 1 week ago

Question

What is sociology and its nature ?

Answered: 1 week ago

Question

What is liquidation ?

Answered: 1 week ago

Question

Explain the different types of Mergers.

Answered: 1 week ago

Question

=+ For what reasons can and do unions go on strike?

Answered: 1 week ago