Tutor profile: Vaibhavi C.
Questions
Subject: Chemistry
Can you explain me the concept of Limiting Reagent?
Limiting reagent is the condition when in the due course of the reaction one of the reactants exhausts while we still have some amount of the other reactant left. For example in case of Born Haber's process which is used industrially for manufacturing Nitrogen if we take 2 Mole of Nitrogen and Three Moles of Hydrogen we will get 2 moles on NH3( Ammonia) while we will still have one mole of nitrogen left, because all the hydrogen will be consumed by one mole of Ammonia only, so in this case as hydrogen is finished and nitrogen is left so Hydrogen is the limiting reagent, because it is limiting the output of the reaction.
Subject: Biology
If a short yellow eyed pea is mated with a long green pea, what will be the ratio in F2 offspring? Consider Short and Yellow to be the recessive gene.
What I will do in this case is I will draw a Punnet Square and solve for the F1 offspring first what I will get is F1 is a heterozygous offspring with two different alleles of both dominant and recessive genes in case of both short/ long and also yellow/green. Followed by this I will draw the punnet square for the F2 offspring by mating two of the F1 offspring which on completion will give me a ratio of 3:1 for the offspring as Dominant: Recessive.
Subject: C++ Programming
Write a C++ code to accept a number and check if it is prime or not.
#include<iostream> using namespace std; int main ( ) { int n, i, flag = 1; //flag value is 1 if condition is true and 0 if it is false cout<<"Enter a positive integer"; cin>>n; for(i=2; i<=n/2; ++i) { if(n%i == 0) //when n leaves 0 remainder and divides a number completely, it is not prime { flag=0; break; } } if (flag = 1) cout<<"This is a prime number"; else cout<<"This is not a prime number"; return 0; }
Contact tutor
needs and Vaibhavi will reply soon.