or
Nikas Ghimire asked a question


#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;

}


2 Thanks
2 Answers
Mattrab Community - SXC asked a question

Here, f: A>B

f(x)= (x-1)/(x+2)  ;  x   -2 

A= {-1,0,1,2,3,4}

B= {-2,1,-1/2,0,1/2,1/4,2/5}

Range = {-2,-1/2,0,1/4,1/2,2/5}

As range is not equal to codomain so the given function is not bijective. 

We can make it bijective by omitting {1} from set B 

11 Thanks
2 Answers
Diwas Pandit asked a question

Any vector directed in two dimensions can be thought of as having two different components. The component of a single vector describes the influence of that vector in a given direction.

2 Thanks
2 Answers
NANDANI KUMARI asked a question
0 Thanks
2 Answers
Saroj Shrestha asked a question

If one could be a billionaire by following a how-to guide step by step, you'd have already come across it by now. 

Well, the how-to "BE" part is simple; own anything that's worth a billion- an idea, an asset, a skill, anything. It is the how-to reach that milestone that is mystic. Carve your own path to it. 

Once you find the secret (IF there is one), share it on Mattrab :P 

Or maybe don't ;) let others find their own path.

22 Thanks
4 Answers
Puspak Sah asked a question

The difference between Gram atomic  mass and Gram atomic molecular are given below:

Gram atomic mass

Gram molecular mass

1.The mass of 6.023 x 1023 atoms of one mole atom of any element when expressed in terms of grams is called gram atomic mass.

1.The mass of 6.023 x 1023 molecules or 1 mole molecule of any substance expressed in grams is called gram molecular mass.

2.It is used to calculate the mass of an atom.2. It is used to calculate the mass of a molecule/molecular compound.
3. It is...
6 Thanks
2 Answers

Mattrab Community

Create, share and learn from the unlimited notes, photos and videos and ask your questions, answer your friends all over Nepal and grow. Create, share and learn.

Ask Mattrab is changing soon

We are excited for you to try new features. What are you excited about?

Close Open App