Answer:
import java.util.*;
import java.io.*;
class Main {
public static void main(String[] args) {
int a,b,lcm1;
System.out.println("Enter two integers: ");
Scanner s12=new Scanner(System.in);
a= s12.nextInt();
b=s12.nextInt();
// maximum number between n1 and n2 is stored in lcm
lcm1 = (a > b) ? a : b;
// Always true
while(true)
{
if( lcm1 % a == 0 && lcm1 % b== 0 )
{
System.out.printf("The Least common multiple of %d & %d is %d.", a, b, lcm1);
break;
}
++lcm1;
}
}
}
Explanation:
You can find the LCM of two integers using the program in java written above in answer section.
The answer to your question is OPTION B
A formal business letter is the business document that is usually written in block style with the body text aligned along its left margin. A formal business letter is normally used from one business writing to another business, client their employees or stakeholders. This letter is formally written to inform those who are an important part in their company how things are going and letting them know what they need to update on. A block style letter refers to how the letter is set up for date, signature, message etc.
Answer and Explanation:
Given data:
Distance (D) = 40 KM
Speed of light in the fiber =Distance/ speed of light in the fiber
a) Delay (P) = Distance/ speed of light in the fiber
= (40,000 Meters/2×108 m/s)
=( 40×103 Meters/2×108 m/s)
Propagation delay (P) = 0.0002 seconds or 200 microseconds
b)
if propagation delay is 0.0002 Seconds roundup trip time (RTT) will be 0.0004 Seconds or 400 micro Seconds
Essentially since transmission times and returning ACKs are insignificant all we really need is a value slightly greater than 0.0004 seconds for our timeout value.
c)
The obvious reasons would be if the data frame was lost, or if the ACK was lost. Other possibilities include extremely slow processing on the receive side (late ACK).
Or Extremely Slow Processing of the ACK after it is received back at the send side.