Question: ES2513 Loop Exercise: 1. Write a function to estimate In(2) given the input is the loop trip count. Function estLn2( Dim total As Double, kount

 ES2513 Loop Exercise: 1. Write a function to estimate In(2) given

ES2513 Loop Exercise: 1. Write a function to estimate In(2) given the input is the loop trip count. Function estLn2( Dim total As Double, kount as Long total For As Long) As To Step Next- estin2 End Function 2. Trace the fib function for nth 5. Function fib( nth As Long) As Long Dim fn As Long, fnm1 As Long, fnm2 As Long, ik As Long fib 1 fnm1-1 fnm2 1 For ik 3 To nth Step 1 fib = fnm1 + fnm2 fnm2 fnm1 fnm1- fib Next ik End Function

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!