FreBlogg

The Earth is Flat | Flat Earth Society

15:08 Posted by DurgaSwaroop
The earth as we know is flat! All the scientists have conspired to keep this lie from the people of the world. The Modern Astronomy Is inconsistent and the Doctrine of Spherical earth is nothing but an elaborate hoax.
At-least, that is what the people of this "Flat earth society", believe so.
The Flat Earth Society (or) The International Flat Earth Research Society is an organization which was established with an aim to expand the idea that Earth is FLAT. As, crazy as this may seem to us, this organization has been around for 200 years and is very active to this day !

How did it all start?
The idea of Flat earth is something that has been there from many centuries. It was very prevalent and was the accepted idea of the society before 4th

Factorial of a number in C & C++ | The Simplest Way

13:19 Posted by DurgaSwaroop

Factorial of a number is a very commonly used function and so, not surprisingly programmers run in to this quite often. But, there is no direct function we can call to do this for us. So, each time i have to use this, i end up writing a 5-10 line code using recursion or some other method and then call that for the factorial, which is pretty boring.

But, I have found a very easy way to implement factorial with a built-in function of "math.h" called tgamma(). So, lets see how to implement this program
```#include <math.h>
#include <stdio.h>

double fact(double x)
{
return tgamma(x+1);
}
int main()
{```

What is wattless current? | Target GATE 2015 | ECE | EEE | EIE

22:21 Posted by DurgaSwaroop
Watt-less Current?
Watt is the unit of power. So, whenever power is absorbed by an element it is measured in Watts.
So, for example, when a current flows through a Resistor, the Power is dissipated as heat. So, when current flows through a resistive element some power is dissipated, measured in Watts.

So, Now, as you might expect, Watt-less current is the current which doesn't dissipate any power. How, is that possible you ask, lets see how.
The Power in an AC Circuit is given by the following relation. P = V.I.Cos(Ã˜)
Ã˜, being the phase angle between Applied voltage and the Alternating Current.
The Quantity Cos(Ã˜) is also called as Power Factor.
The Phase angle, Ã˜, is zero for Resistors.

Solution | Question of the Day 1 | GATE - 2015 | ECE | EEE

00:29 Posted by DurgaSwaroop
In the given circuit the input is an Voltage source which has a value of 10.u(t), where u(t) is the Unity Step Function.  The Resistance of the Resistor is 1 Ohm. And, two capacitors of 3F and 2F and connected in series to this Resistor as shown in the figure. Find the voltage across the 2F capacitor as a function of time, V(t).
Assume the Capacitors are initially carrying zero charge.

Answer : V(t)=6 - 6.e^(-5/6 t)
So, That was the question and the answer. Before you proceed to solving the question, there are a few things you need to take a look at.
1. Laplace Transforms & Inverse Laplace Transforms
2. Basic Circuit relations (KVL, KCL, Voltage Division, Current Division)
3. Basics of RL, RC, RLC circuits

Question of the Day 1 | GATE - 2015 | ECE | EEE

00:08 Posted by DurgaSwaroop

In the given circuit the input is an Voltage source which has a value of 10.u(t), where u(t) is the Unity Step Function.  The Resistance of the Resistor is 1 Ohm. And, two capacitors of 3F and 2F and connected in series to this Resistor as shown in the figure. Find the voltage across the 2F capacitor as a function of time, V(t).
Assume the Capacitors are initially carrying zero charge.

Answer will be given along with the complete solution tomorrow. So, try to solve it and check your solution with the one we will publish tomorrow.
So, Good Luck with your preparation for GATE.
As always, Have a nice day!

Top 5 Most Watched Videos on Youtube ever | 2014 Updated

10:00 Posted by DurgaSwaroop
YouTube is the no.1 online video sharing site with billions and billions of video views per day. Here are the top 5 videos on you tube till date.Most probably these will stay for at least a couple of years in their positions until a new sensation sweeps up the entire audience. The top 5 videos ever (2014 updated) are

1) Gangnam Style - PSY
Gangnam style is a Korean pop song by South Korean musician PSY. Originally released in July 2012, the song went on to become the most viewed you tube video ever crossing Justin Beiber's 'Baby'. The video is the first to cross billion views and is the only video ever on Youtube to cross the 2 billion mar.

How to become a Speed Cuber? | Part 2

19:35 Posted by DurgaSwaroop
Finally we are back with the Part 2 of this How to become a Speed Cuber series. (For Part 1 - Click here). This article and the previous one mainly concentrate on the original Rubik's Cube, 3x3x3.

Many people liked Part-1, but one thing they wanted was me to explain each of the speed solving methods, i discussed about in detail. Well, I would like to do that for sure, but this article doesn't seem like the correct place for that. So, for now, i'll give a few links at the end of this article to a few sites and videos, that helped me with Speed Cubing.
But, since, many people asked me to cover the methods, i'll explain the basic procedure, strategy and tips and tricks with each method in this and the successive articles in this series. Here, i need to be honest with you. Jessica Fridrich's method (CFOP), is the most popular and well used. So, as you probably can guess, I use CFOP for solving. At the same time, i know Petrus method too, So, i'll cover these two methods in great amount of detail than the other two methods (Roux and ZZ). But, i'll still give my comments on them but they are mostly from seeing others solve and not my own personal experiences. So, for these two methods i'll provide a few resources for you guys to look at, if you are interested in learning these.
So, Let's get started .

How to create Mail merge with Gmail and Google docs?

17:02 Posted by DurgaSwaroop
Mail merge is a very interesting feature in every mail. And, being as popular as it is gmail supports this.
So, What is Mail merge?
Imagine you have a mail that needs to be sent to 50 of your friends/clients. One thing you can do is to add all the mail id's in the 'TO' field and send it.
This sure is one way to do it, but if you want to send a personalized message to each of them, probably something like, Hello Mr.A, for friend A and Hello Mr.B for B and so on. To be able to do this, you need to send the mails individually. Wouldn't it be easier if you can send this to all the persons at once?
Behold the Mail Merge man. He will make this task simple and easy. You just need to write a single mail and that will be sent to each of them with the corresponding personalization.

Introduction to Two Dimensional arrays | C Programming

08:53 Posted by DurgaSwaroop
C Programming Language allows for the use of multidimensional arrays.
An array what we generally mean is a one - dimensional array. An array can be 1-Dimensional, 2-Dimensional, 3-Dimensional, .... so on. In this particular post (assisted by the YouTube video ) we'll learn about the Two dimensional arrays.
Two dimensional arrays will have 2 dimensions, i.e, it is extended in both horizontal and vertical directions, unlike a 1-D array which is represented in a linear form.
And, just as we can access individual elements in a 1-Dimensional array, we'll be able to access each location in the array, using the respective indices (row number, column number).
A two dimensional array with 'a' rows and 'b' columns can be defined like this.
type name_of_array [a] [b] ;
That will create a 2-Dimensional array in the memory. And, you can address the locations in this array using two indices rather than one (as in a 1-D array).
So, the addressing would be something like the following (for a array named serica)
serica [0] [0]
serica [0] [1]
serica [0] [2]

How to become a Speed Cuber? | Part 1

06:30 Posted by DurgaSwaroop
Rubik's Cube, introduced in 80's (late 70's) is the most popular puzzle ever made. It has been sold an estimated 350 million pieces as of 2009 and its growing at an incredible rate. So, more than ever in the history of cubing, lots and lots of people are aspiring to become speed cubers. This article is dedicated to all those people wishing them the very best.

So,What is Speed Cubing?

Speed Cubing or Speed solving is solving the Rubik's cube or any other similar puzzles quickly, as fast as possible. So, how fast are we taking about? To give you a perspective of the actual speed, here are the world records in a few categories.
3x3x3 cube - 5.55 secs
4x4x4 cube - 24.66 secs
2x2x2 cube  - 0.69 secs
5x5x5 cube - 50.50 secs

So, if you are a beginner or a person who has just started learning the cube, these may scare you a bit. But you don't need to worry. It is just a matter of the sheer amount of practice you do. This post should be able to help you with almost everything related to speed cubing.
This article is written so that it can help even the person who just just started learning to solve a cube. In other words it covers A-Z of cubing. Starting from How to solve? to finally participating in the Cubing events and ultimately being a world champion !

The All-New HTC One | HTC One M8

23:19 Posted by DurgaSwaroop
Finally the wait is over. The wait for one of the most-anticipated phones of 2014 is over. The wait for the successor of the highly praised and appreciated HTC One is over.
HTC has officially launched its brand new flagship HTC One M8 today. Though we know most of the specs before hand,(This is 2014. Everything Leaks !) here is a quick list of the specs of this amazing
awesomeness.

How to plot a graph with discrete data points in Matlab?

04:30 Posted by Unknown
Matlab is a very popular Software package for almost all disciplines of science and Technology. Matlab is

used regularly by many people for many complex and ground breaking applications. But, people don't use it for one simple thing, Plotting graphs when we have a set of discrete data points. Probably the major reason for this is that many people don't know how to plot this kind of graph. So, in this article we will try to show you how you can do this in Matlab.
Let's consider that the set of coordinates are as follows :

March 11, 2014

04:36 Posted by Unknown
20GB Free Cloud Storage | COPY Cloud

Fond of drop box but limited by the mere 2GB it offers??
Well, No need to worry, here is an interesting alternative to drop-box, "COPY"
Its just like drop-box in every other aspect. But offers 15GB cloud storage for free. It is completely like drop box in every other aspect. It can sync automatically with the cloud and makes your content available quickly. You just have to install the app on your computer/laptop and you are good to go.

Convert Recurring Decimal to Fraction form easily | Mathematricks

04:32 Posted by DurgaSwaroop
Hello people. Following is a video that will help you convert a recurring decimal number in to a fraction form very easily. So, watch it and have fun with Math.

Why do Hard Drives and USB sticks show less space than advertised ?

18:54 Posted by DurgaSwaroop

Have you always wondered why a 8GB USB drive shows less than 8GB (7.5 GB) of space and why does a 500 GB HDD shows an available space of 465GB right out of the box?
That is not because the manufacturer is cheating you or something,but it has to do with the difference in the definitions  of a GB (Giga Byte) for our computer and the manufacturer. It has to do with math.
Hate Math? We'll make it easy for you.

How to Format Placeholders? | C Programming

13:54 Posted by DurgaSwaroop
Placeholders are used in printf and scanf. They act as a holder , a place for the value of the variable. In this tutorial i'll show you how you can format them so as to change the way the value of the variable gets displayed .This is just formatting the way it is displayed but thid won't change the actual value of the variable.

For more videos in this tutorial series,
C Programming Playlist - Click this

Why is 'Q' always followed by 'U' ?

12:06 Posted by Unknown
Q, the seventeenth letter of English alphabet is one of the very few used letters (2nd most rare word, according to many studies and surveys across the world on the letter frequency). But in all of these  occurrences you will find it before 'U'. Well, except

January 28, 2014

19:15 Posted by Unknown
 Some of the customizations you can do with FolderIco
Wouldn't it be great if you can change the color of folders,or its look in Windows?
Well, this is one of the things, almost all of us want for Windows. But, unfortunately, windows doesn't allow this kind of customization.
Lucky for you, you have a great piece of software for this.  FolderIco, is an amazing software which will allow you to change the color of your windows folders in just ONE click. Its very very easy to use and completely intuitive.
So, Check out their website at the following link, http://www.folderico.com/
You can have the trail version or you can buy the complete version.
So, go ahead and try it. You will surely love it !

When are you going to die? | Swaroop's Blog

05:42 Posted by DurgaSwaroop
Everybody knows that death is something we can neither control nor predict. But the urge to know how long we'll live, when will our clock stop ticking is untameable. So, fortunately for people who want to know when they'll die, there are many websites that claim that they can predict Your Death !
 By 1ur1 here