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)
MW means megawatt, and one megawatt is a million Watts.
The 2.5 MW turbine is 4/2.5=1.6 $/w
Answer B
Ram is the better truck company
Answer:
the width of the turning roadway = 15 ft
Explanation:
Given that:
A ramp from an expressway with a design speed(u) = 30 mi/h connects with a local road
Using 0.08 for superelevation(e)
The minimum radius of the curve on the road can be determined by using the expression:

where;
R= radius
= coefficient of friction
From the tables of coefficient of friction for a design speed at 30 mi/h ;
= 0.20
So;



R = 214.29 ft
R ≅ 215 ft
However; given that :
The turning roadway has stabilized shoulders on both sides and will provide for a onelane, one-way operation with no provision for passing a stalled vehicle.
From the tables of "Design widths of pavement for turning roads"
For a One-way operation with no provision for passing a stalled vehicle; this criteria falls under Case 1 operation
Similarly; we are told that the design vehicle is a single-unit truck; so therefore , it falls under traffic condition B.
As such in Case 1 operation that falls under traffic condition B in accordance with the Design widths of pavement for turning roads;
If the radius = 215 ft; the value for the width of the turning roadway for this conditions = 15ft
Hence; the width of the turning roadway = 15 ft
Answer:
1) a. Customers requiring AC electric power transmission for powering remote devices which may include a subsea transmission system where power is distributed to subsea devices
b. Customers that utilize commutator-type motors
2) The primary voltage is 150 volts
Explanation:
The parameters given are;
Number of primary winding,
= 50 turns
Number of secondary winding,
= 150 turns
Voltage in secondary winding,
= 450 volts
Voltage in primary winding = 
The relation between
,
,
and
is as follows;

Which gives;

From which we have;

The primary voltage = 150 volts.