Answer:
See explaination
Explanation:
Please kindly check attachment for the step by step solution of the given problem.
Answer and Explanation:
The DC motor has coils inside it which produces magnetic field inside the coil and due to thus magnetic field an emf is induced ,this induced emf is known as back emf. The back emf always acts against the applied voltage. It is represented by
The back emf of the DC motor is given by
Here N is speed of the motor ,P signifies the number of poles ,Z signifies the the total number of conductor and A is number of parallel paths
As from the relation we can see that back emf and speed ar dependent on each other it means back emf limits the speed of DC motor
Answer: b. To avoid having distractions
Trust me it’s definitely option b
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)