SOME QUESTIONS ON DIFFERENTIABILITY

Tuesday, August 14, 2012



  • Find the point on the curve y = 2x2 – 6x – 4 at which the tangent is parallel to the x – axis
  • Find the slope of tangent for y = tan x + sec x at x = π/4
  • For the curve y = 3x² + 4x, find the slope of the tangent to the curve at the point x = -2.
  • Find a point on the curve y = x2 – 4x -32 at which tangent is parallel to x-axis.
  • Find a, for which f(x) = a(x+sinx)+a is increasing .
  • The side of a square is increasing at 4 cm/minute. At what rate is the area increasing when the side is 8 cm long?
  • Find the point on the curve y =x2-7x+12, where the tangent is parallel to x-axis.

C++ program to illustrate passing of structures by value.

Sunday, August 12, 2012


Write a C++ program to illustrate passing of structures by value. 

#include<iostream.h>
#include<conio.h>
#include<stdio.h>
struct distance{
 int feet;
 int inches;
};
int main()
{
clrscr();
    distance length1, length2;
void prnsum(distance l1, distance l2);
cout<<"\n"<<"Enter length 1:\n";
cout<<"\n"<<"Feet:\n";
cin>>length1.feet;
cout<<"\n"<<"Inches:\n";
cin>>length1.inches;
cout<<"\n"<<"\n"<<"Enter length 2:\n";
cout<<"\n"<<"Feet:\n";
cin>>length2.feet;
cout<<"\n"<<"Inches\n";
cin>>length2.inches;
prnsum(length1, length2);
return 0;
}
void prnsum(distance  l1, distance l2)
{
  distance l3;
  l3.feet = l1.feet + l2.feet + (l1.inches +l2.inches)/12;
  l3.inches =( l1.inches + l2.inches)%12;
  cout<<"\n"<<"\n";
  cout<<"\n"<<"Total Feet:"<<l3.feet<<"\n";
  cout<<"\n"<<"Total Inches:"<<l3.inches;
  return;
}
/*
OUTPUT
------

Enter length 1:

Feet:
10

Inches:
1

Enter length 2:

Feet:
12

Inches
2

Total Feet:22

Total Inches:3


*/

Real Me Vs Virtual Me?

Tuesday, August 7, 2012


With recent studies showing that,[1]
  • 93% of teens (12-17) go online.
  • Of the children (0-5) who use the Internet, 80% use it at least once a week.
  • 75% of teens (12-17) have cell phones.
  • On average, texting teens (12-17) send and receive 1500 text messages a month. 
  • 73% of teens (12-17) have profiles on social networking sites.
Are we starting to leave the 'real me' behind as we run behind the 'virtual me'? 

Why not invite your friends over and have a face to face chat with them?! 
How about a cup of hot chocolate together with friends on a winter evening?!
what do you think about sharing 'likes' and dislikes in person?!

With all due respect to the internet without which, me from my study table wont be able to have you reading my post from probably another side of the globe!

This post is just a reminder to us that, there are other way of socialising other than  texting or chatting or through social networking sites!  

Have fun being the Real-U! :)



Are you stressed out?

Sunday, August 5, 2012

Are you stressed out because of exams, school and tests?! 




These tips might help you overcome your stress :) 

1.Have a test tomorrow and haven't touched your books yet?!
  •    Step 1: STOP PANICKING! (no point panicking now. We have already committed the mistake)
  •    Step 2: Don't waste the time you have in hand RIGHT NOW. 
  •    Step 3: Start off immediately and study as much as you can.
  •    Step 4: Start the next day afresh and give your test with confidence. 

2.Are all your class lessons going over your head?!
  •    Step 1: STOP PANICKING! 
  •    Step 2: Dedicate a weekend (or more depending on much you are lagging behind/ how high over your head the lessons are going!) for your studies. Revise all your lessons. 
  •    Step 3: Get ready to kick off the next week with the 'new and improved' you!

3. Do you feel overloaded?!
  • Make sure you have some 'YOU-time' everyday.
  • Don't miss out on doing things you enjoy.
  • Pursue your hobbies.
  • Remember, its not only studies that matter. 
4. What does your plate have to say about you?!
  • Avoid junk food.
  • Healthy food => Healthy Body & Healthy Brain. 
5. Cluttered desk = Cluttered mind. 
  • Get organized. 
  • All it takes is a simple rule ''Put things back to where they belong."
  • Collect one-sided papers and reuse them.
  • Give away your old school books to your friend who may need it or for charity.
  • Discard materials that can no longer be used.

6. Are you getting enough sleep?

  • Don't sacrifice your sleep! 
  • Make sure you get at least 7 hours of good night's sleep.
GOOD LUCK! 



*results may vary :P

CBSE SAMPLE PAPERS 2012

Wednesday, August 1, 2012

Click the links below to view.

C++ Program


Write a C++ Program to store information of 10 employees and to display information of an 
employee depending upon the employee no.


#include<iostream.h>
#include<conio.h>
#include<stdio.h>
struct addr
{
int houseno;
char area[30];
char city[30];
char state[30];
};
struct emp
{
int empno;
char name[30];
char desig[30];
addr address;
float basic;
}worker;
emp sales_emp[10];
void display(int a);
void enter(void);
int main()
{
clrscr();
int eno,i;
char ch;
enter();
do
{
cout<<"\n Enter the employee no. whose information is to be displayed:";
cin>>eno;
int flag=0;
for(i=0;i<2;i++)
{
if(sales_emp[i].empno==eno)
{
display(i);
flag=1;
break;
}
}
if(!flag)
{
cout<<"\n sorry! no such employee found";
}
cout<<"\n display more...(y/n)\n";
cin>>ch;
}while(ch=='y');
getch();
return 0;
}
void enter(void)
{
for(int i=0;i<2;i++)
{
cout<<"\n employee no:";
cin>>sales_emp[i].empno;
cout<<"\n name:";
gets(sales_emp[i].name);
cout<<"\n designation:";
gets(sales_emp[i].desig);
cout<<"\n * address *";
cout<<"\n house no:";
cin>>sales_emp[i].address.houseno;
cout<<"\n area:";
gets(sales_emp[i].address.area);
cout<<"\n city:";
gets(sales_emp[i].address.city);
cout<<"\n state:";
gets(sales_emp[i].address.state);
cout<<"\n basic pay:";
cin>>sales_emp[i].basic;
cout<<"\n\n";
}
return;
}
void display(int a)
{
cout<<"\n employee data";
cout<<"\n enployee no.:"<<sales_emp[a].empno;
cout<<"\n name:";
cout.write(sales_emp[a].name,30);
cout<<"\n designation:";
cout.write(sales_emp[a].desig,30);
cout<<"\n address:"<<sales_emp[a].address.houseno;
cout<<" \n";
cout.write(sales_emp[a].address.area,30);
cout<<" \n";
cout.write(sales_emp[a].address.city,30);
cout<<" \n";
cout.write(sales_emp[a].address.state,30);
cout<<" \n";
cout<<"\n basic pay:"<<sales_emp[a].basic;
cout<<"\n\n";
return;
}

Blogroll

Bookmark and Share
Powered By Blogger
CBSE 12th Grader.