Answer:
Codes for each of the problems are explained below
Explanation:
PROBLEM 1 IN C++:
#include<iostream>
using namespace std;
//fib function that calculate nth integer of the fibonacci sequence.
void fib(int n){
// l and r inital fibonacci values for n=1 and n=2;
int l=1,r=1,c;
//if n==1 or n==2 then print 1.
if(n==1 || n==2){
cout << 1;
return;
}
//for loop runs n-2 times and calculates nth integer of fibonacci sequence.
for(int i=0;i<n-2;i++){
c=l+r;
l=r;
r=c;
cout << "(" << i << "," << c << ") ";
}
//prints nth integer of the fibonacci sequence stored in c.
cout << "\n" << c;
}
int main(){
int n; //declared variable n
cin >> n; //inputs n to find nth integer of the fibonacci sequence.
fib(n);//calls function fib to calculate and print fibonacci number.
}
PROBLEM 2 IN PYTHON:
def fib(n):
print("fib({})".format(n), end=' ')
if n <= 1:
return n
else:
return fib(n - 1) + fib(n - 2)
if __name__ == '__main__':
n = int(input())
result = fib(n)
print()
print(result)
Answer:
Time taken = 136.32 minutes
Explanation:
The solution and complete explanation for the above question and mentioned conditions is given below in the attached document.i hope my explanation will help you in understanding this particular question.
That would be B, I hope this helps!
Answer:
98°C
Explanation:
Total surface area of cylindrical fin = πr² + 2πrl , r = 0.015m; l= 0.1m; π =22/7
22/7*(0.015)² + 22/7*0.015*0.1 = 7.07 X 10∧-4 + 47.1 X 10∧-4 = (54.17 X 10∧-4)m²
Temperature change, t = (50 - 25)°C = 25°C = 298K
Hence, Temperature = 150 X (54.17 X 10∧-4) X 298/123 = 242.14/124 = 2.00K =
∴ Temperature change = 2.00K
But temperature, T= (373 - 2)K = 371 K
In °C = (371 - 273)K = 98°C
Answer:
The design process is at the verify phase of Design for Six Sigma
Explanation:
In designing for Six Sigma, DFSS, is a product or process design methodology of which the goal is the detailed identification of the customer business needs by using measurements tools such as statistical data, and incorporating the identified need into the created product which in this case is the hydraulic robot Kristin Designed
Implementation of DFSS follows a number of stages that are based on the DMAIC (Define - Measure - Analyze - Improve) projects such as the DMADV which stand for define - measure - analyze - verify
Therefore, since Kristin is currently ensuring that the robot is working correctly and meeting the needs of her client the design process is at the verify phase.