Question: Q 1 . Modified Fibonacci Numbers Write a python function that computes the 3 0 - th Modified Fibonacci number. Post your python code on

Q1. Modified Fibonacci Numbers
Write a python function that computes the 30-th Modified Fibonacci number. Post your python code on Assessments => Assignments => HW1
I only need to know the value of F(30), not all intermediate values (i.e., no need to save values of F(0),F(1),F(2),dots,F(29)
Note:
Oth Modified Fibonacci number F(0)=0
1st Modified Fibonacci number F(1)=1
2nd Modified Fibonacci number F(2)=1+2**0=1
3rd Modified Fibonacci number F(3)=1+2**1=3
4th Modified Fibonacci number F(4)=3+2**1=5
5th Modified Fibonacci number F(5)=5+2**3=11
i-th Modified Fibonacci number F(i)=F(i-1)+2**F(i-2)
30-th Modified Fibonacci number F(30)=F(29)+2**F(28)=?
Q2. Load HW1_data.csv using pandas. Compute the mean of "class" variable for joint condition of "glu 110 and higher" AND "age 40 and higher".
Variable definitions are as follows:
numpreg - Number of times pregnant.
glu - Plasma glucose concentration a 2 hours in an oral glucose tolerance test.
bp - Diastolic blood pressure (mmHg).
skin - Triceps skin fold thickness (mm).
insulin -2-Hour serum insulin (mu U/ml).
bmi - Body mass index.
dpf - Diabetes pedigree function.
age - Age (years).
class - Class, onset of diabetes within five years.
 Q1. Modified Fibonacci Numbers Write a python function that computes the

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!