No, if three vectors do not lie in a plane, they cannot give zero resultant.
Explanation:
Let A, B and C be three vectors. If they give zero resultant, then
A+B+C=0
or, A= -(B+C)
Hence, they will produce zero resultant, if A is equal to negative of vector (B+C). The vector (B+C) lies in the plane of B and C. Hence, A will be equal to negative of (B+C) if A, B and C all lie in a plane.
#include<stdio.h>
#include<conio.h>
#include<string.h>
int main() {
int i, nextTerm;
int t1 = 2, t2 = 2;
nextTerm = t1+t2;
printf("%d, %d, ", t1, t2);
for (i = 3; i <= 10; ++i) {
printf("%d, ", nextTerm);
t1 = t2;
t2 = nextTerm;
nextTerm = t1 + t2;
}
return 0;
}
Hello Subash!
Here is the solution for the question you are asking for, I solved it in procedural way but if you are among the one who prefer OOP style then you can still ask it for me cause I have solved it from both methods but here I am just going to leave procedural one....
//author:Manish Acharya
import java.util.Scanner;
import java.util.*;
public class idgenerator {
public static void main(String[] args) {
String small_name="", long_name="", new_small_name="", new_long_name="";
char lr='a',...