Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

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

Step: 3

blur-text-image

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

Practical Neo4j

Authors: Gregory Jordan

1st Edition

1484200225, 9781484200223

More Books

Students also viewed these Databases questions

Question

Complete a project for liu corporation and receive 5675 cash

Answered: 1 week ago

Question

5.6 Describe alternatives to recruitment?

Answered: 1 week ago

Question

5.4 Identify external recruitment sources.

Answered: 1 week ago