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:
t = 25.10 sec
Explanation:
we know that Avrami equation

here Y is percentage of completion of reaction = 50%
t is duration of reaction = 146 sec
so,


taking natural log on both side
ln(0.5) = -k(306.6)

for 86 % completion




t = 25.10 sec
Answer:
number of pulses produced = 162 pulses
Explanation:
give data
radius = 50 mm
encoder produces = 256 pulses per revolution
linear displacement = 200 mm
solution
first we consider here roll shaft encoder on the flat surface without any slipping
we get here now circumference that is
circumference = 2 π r .........1
circumference = 2 × π × 50
circumference = 314.16 mm
so now we get number of pulses produced
number of pulses produced =
× No of pulses per revolution .................2
number of pulses produced =
× 256
number of pulses produced = 162 pulses
In Menlo Park, California, Hwan Rhee is debating whether to launch ChargeAll, a software firm that will create full-room wireless chargers for any kind of mobile electronic device.
In Menlo Park, California, Hwan Rhee is debating whether to launch ChargeAll, a software firm that will create full-room wireless chargers for any kind of mobile electronic device. In order to examine the financial information for a startup loan that would pay for the components and product manufacture, Hwan is using an Excel worksheet. He requests your assistance in fixing mistakes and performing financial computations in the worksheet.
Visit the worksheet for loan analysis. Hwan requests that you fix the mistakes in the worksheet before he can compute the principal and interest payments on the loan.
To know more about software click here:
brainly.com/question/985406
#SPJ4
Answer:
Explanation:
Civil engineers have become experts in creating sustainable and environmentally friendly buildings and systems. Multiplied over many communities, the energy and emissions savings can make a real difference in the environment. Other life-improving functions can also make communities better places to live.Jul 19, 2017