Posts

Showing posts from October, 2019

c program to clear nth bit of the number || Bitwise Operators || Problem Solving ||

#include <stdio.h> int main() {     int num, n, newNum;     printf("Enter any number: ");     scanf("%d", &num);     printf("Enter nth bit to clear (0-31): ");     scanf("%d", &n);     newNum = num & (~(1 << n));     printf("Number before clearing %d bit: %d (in decimal)\n", n, num);     printf("Number after clearing %d bit: %d (in decimal)\n", n, newNum);     return 0; } Logic :-  num&(~(1<<n));

UN KNOWN STORY BETWEEN TESLA AND EDISON

  O nceupon a time was a Austiria -American scientist named NIKOLAS TESLA . In fact he was not a scientist , but mathematecian . He was desired to work with the great scientist Thomas Alva Edison, but successfully his dream came to fullfill on 1884. At first Edison treated Tesla very bad like, not considering his ideas even though it was good . At last a challenge came infront of Tesla, i.e Edison made an agreement with Tesla that if he find AC current then he will give what ever Tesla need .                    Taking it as a challenge Tesla spend all his time in finding AC current at last, Edison find AC current . One day during the time of experiment Tesla unexpectedly found DC  current .               Before finding DC Current  all over the world people's are using AC current. After discovering DC current Tesla made aggrement with a private company and became a competitor for Edison . As AC current has a disadvantage like building of power distribution centre for each

HOW TO PREPARE FOR JEE MAINS IN HOME EFFECTIVELY

Image
Here are some tips given by your senior yaswanth to prepare for JEE mains effectively in home it self At first you should know all things about the examination. You should pay attention in class You should develop speed and accuracy You should be honest with your work Self analysis must be there You should believe in yourself and you should be confident with your studies 1. KNOW ALL THINGS ABOUT EXAM              This exam is conducted all over   India who are going to join engineering. This is conducted by NTA .                   This exam is conducted twice a year in January and April.        PATTERN:                       The question paper contains 90 multiple choice questions in which 30 are from maths 30 are from physics and 30 are from chemistry.         In my view you should concentrate more on chemistry which is more scoring  subject         And then you can concentrate on maths and then physics which the calculations given are lengthy            SYLLABUS