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:
The company found the cost of the required photovoltaic cells too expensive.
Explanation:
Solar energy can be used as an alternative source of supply for fuel. Solar energy is a renewable source of energy, that is it keeps on replenishing every day. Also solar energy does not require a lot of maintenance.
The cost required is starting a solar system is very high because one needs to buy solar panel, photovoltaic cells for batteries, inverters and so on.
From the question, the company decided against solar energy for the time being. This means that probably in the future they might consider it. Therefore it is as a result of the economic situation of the company that they have not set up a solar system because the cost of the required photovoltaic cells too expensive.
Explanation:
There are 8.35 pounds in a gallon of water. Water weighs 1 gram per cubic centimeter or 1 000 kilogram per cubic meter, i.e. density of water is equal to 1 000 kg/m³; at 25°C (77°F or 298.15K) at standard atmospheric pressure.
Answer:
if you are speaking of the acronym then Engineering uses science and mathematics to solve everyday problems in society
Explanation:
Note: Refer the diagram below
Obtaining data from property tables
State 1:

State 2:

State 3:

State 4:
Throttling process 
(a)
Magnitude of compressor power input


(b)
Refrigerator capacity



(c)
Cop:

