Question: Please answer both questions using Python thank you Problem 1 Statement: Implement a function based on the docstring The windchill index is calculated using the

Please answer both questions using Python thank you

Please answer both questions using Python thank you Problem 1 Statement: Implement

a function based on the docstring The windchill index is calculated using

Problem 1 Statement: Implement a function based on the docstring The windchill index is calculated using the following formula: Windchill =13.12+0.6215T11.37V0.16+0.3965TV0.16 where, T= Temperature in degrees Celsius V= Wind velocity in kilometers per hour Write a program that asks for temperature and wind velocity data from the user and call the appropriate function (defined by you) to calculate the windchill. Print your result accordingly. As part of the solution, the docstring for your function is provided. Complete the function and test your function by executing the examples provided in the docstring . "" "This function calculates and return the windchill index for the given temperature ' t ' in degree celcius and wind velocity ' v ' in km/h using the following formula: 13.12+0.6215t11.37v0.16+0.3965tv0.16 Author: TO BE COMPLETED BY THE PROGRAMMER Example: >>>get_windchill_index (10,10) 15 >>>get_windchill_index (5,80) 3 >>>get_windchill_index (5,15) 2 Problem 2: The Fibonacci sequence starts 1, 1, 2,3,5,8,. . Each number in the sequence (after the first two) is the sum of the previous two. Write a program that computes and outputs the nth Fibonacci number, where n is a value entered by the user. Calculation of Fibonacci number must be implemented as a function. Hints: You can use recursion

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!