Answer:
i)ω=3600 rad/s
ii)V=7059.44 m/s
iii)F=1245.8 N
Explanation:
i)
We know that angular speed given as

We know that for one revolution
θ=2π
Given that time t= 2 hr
So
ω=θ/t
ω=2π/2 = π rad/hr
ω=3600 rad/s
ii)
Average speed V

Where M is the mass of earth.
R is the distance
G is the constant.
Now by putting the values


V=7059.44 m/s
iii)
We know that centripetal fore given as

Here given that m= 200 kg
R= 8000 km
so now by putting the values


F=1245.8 N
Answer: The overhead percentage is 7.7%.
Explanation:
We call overhead, to all those bytes that are delivered to the physical layer, that don't carry real data.
We are told that we have 700 bytes of application data, so all the other bytes are simply overhead, i.e. , 58 bytes composed by the transport layer header, the network layer header, the 14 byte header at the data link layer and the 4 byte trailer at the data link layer.
So, in order to assess the overhead percentage, we divide the overhead bytes between the total quantity of bytes sent to the physical layer, as follows:
OH % = (58 / 758) * 100 = 7.7 %
74 cycles it’s what u need
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)