Friday, 25 December 2015

Exploring the universe is a waste of time and resources


Introduction:
             Men are curious to know the unknown. Knowledge and understanding of the world relates to everyone lives, their homes, families, the local environment and community and the wider world. To know the universe we are spending lot of money and time and we are gathering knowledge about the world and universe. But I think this is not enough. We are in 2015 and we don’t know enough about the outside of the world, but still we are spending money and time to know the new things. We know that the universe is expanding every single second. So it’s not possible to challenge the universe to know everything. At first we need to ensure the security of world’s people. We need to provide money and food to the hunger. But we spend a very less amount to remove poverty. We are spending a lot of money and time to gather knowledge. But in maximum cases we are really wasting our time and money. That means I strongly support this topic. Thinking that the budget devoted to universe exploration is wasted money , we believe that this kind of exploration is a wild dream that we cannot achieve and the huge amounts of money are gone in smoke rather than to spend these amounts to relieve poverty in the Third World and medical researches should be encouraged instead these explorations. In addition we have to explore our planet and solve its problems before thinking in universe problems.

Body:
            Science may well give us good things. We all know which came from NASA. The needs of humanity should always come first. While there are people on Earth who need help, they should be helped, rather than seeing money spent on sending robots onto other planets. Humanity is the number one priority; keeping the human race alive is a necessity. Alternatively, universe exploration is a desire. If we put our desires before our needs, then everyone loses out on a better standard of living. Also, why take so much time and money to learn about Mars or any other planet, when we know so little about our own. We should learn more about Earth and the ocean before wasting time and money on Universe exploration.
            Universe exploration has always been a gimmick that means it is a trick intended to attract attention, publicity and business. The USA was doing it only. There are far more valuable scientific fields to fund, such as the exploration of our own planet. Especially around volcanic regions, is relatively unexplored, as is Antarctica. The scientific knowledge obtainable from our own planet, particularly organisms that inhabit locations with extreme conditions, offers far more value than that of universe. Even if universe exploration was a good target of funding in the past, it is now a growing target of venture capital and private ingenuity. Now that private companies are intending to supply universe access on the cheap, it is useless to spend all that money on expensive platforms such as the universe shuttle.
There are two major crisis going on at our home planet. Global warming and the worldwide economic crisis, both are severe. If the government doesn't handle the economic crisis with care we all will end up poor. Universe travel is a unwanted business for now. When so many people are dying as we speak can we just neglect them and say the money we just spend went for a good cause, and these few hundreds of people who died are nothing because if we don't find a another planet to escape the cultures of global warming we all will die. Global warming is the second most severe issue the earth is going through. We have to take care of our planet before we go roaming other planets. Long time ago there used to be pure air to breath and man and animal lived side by side. Now everything is destroyed. If we take care of this problem with care we would be able to overcome this disaster. First priority is to teach people to help themselves so that they can help us when it is time to explore universe, so let's prioritize. We people in your country we are like family and you have to help family.
A lot of money is devoted to universe exploration. Hundreds of Billions. They are paid through grants and funding to and from government agencies, paid to companies to develop or innovate current models or ideas, and in turn, those companies pay for the materials and the manpower to manifest those ideas. This time and dedication could be focused on ending famine or building developing countries. Money could be allocated for education. We need to focus our resources and efforts to one problem at a time according to priority. At least a tenth of our resources and efforts should be used by a taskforce for one goal at a time. Education should be our first priority to get everyone on their feet to then help the rest of the world in a cycle of progress, so exploring universe can wait until we are healthy on the ground unless there is some reason that exploring universe is going to improve our condition within the next ten generations more than education would improve our condition, that would be hard to argue in favor of exploration.
Universe Exploration is a waste of resources. Instead of decreasing resources by universe travel and such, we must deal with problems on Earth first. Why bother spending all this money on exploring universe when we could be helping our own planet that us humans live on. NASA is very dangerous. So many accidents and problems happened in the universe shuttles such as explosions, pieces falling off, and missing the gravity on Earth. That is even more money to fix those problems. Universe Exploration is a waste of money and a waste of time. Also, we know we exist, but we don't know if anything out there exists. Spend time and money on our planet also known as our home. Humans are already dying due to poverty and the lack of food etc.

Conclusion:

Indeed it is our nature to explore our environment, but that environment is not zero-gravity, extremes of temperatures. There is still a substantial area of our own planet we have yet to fully explore. Why rush off to space when we've not seen all of our own planet yet? There are many things in our world that have not discovered yet, do cures to AIDS and cancer ring a bell. And what about over coming poverty? The point is, universe exploration is extremely expensive. We should find a solution to what we don't know in our world before exploring a different one. We simply don't have the money or resources. Besides, if it's unemployment we're worried about, more people to devote their lives to over-coming the problems we know about, and not digging up more for us to solve. So exploring the universe is a waste of time and resources.

Tuesday, 21 April 2015

Write a program that will demonstrate conversion from one class to another class type

Write a program that will demonstrate conversion from one class to another class type. The program that uses the following properties – two class name- studenta, studentb. studentb class contains public member float marks, one constructor function studentb(), one display() to display marks of studentb. studenta class contains public member float marks, one constructor function studenta() that uses to enter marks of studenta, one overloading conversion function operator studentb() which is used to convert the value from class studenta to class studentb, one display() to display marks of studenta. Inside main(), a and b is the object for class studenta and studentb respectively. We will display the value of a first, then we will convert the value from a to b and after that we will display the value of object b. 

#include<iostream>
using namespace std;
class studentb
{
public:
    float marks;
    studentb(){}
    void  display()
            {
                cout<<marks<<endl;
            }
};
class studenta
{
public:
    float marks;
    studenta()
    {
        cout<<"Enter the marks : ";
        cin>>marks;
    }
    operator studentb();
    void display(){cout<<marks<<endl;}
};
studenta::operator studentb()
                {
                    studentb temp;
                    temp.marks=marks;
                    return temp;
                }
int main()
{
    studenta a;
    cout<<"Studenta Marks is : ";
    a.display();
    studentb b;
    b=a;
    cout<<"Studentb Marks is : ";
    b.display();
return 0;
}

Write a program that will demonstrate class type conversion to built in type

Write a program that will demonstrate class type conversion to built in type. The program that uses the following properties – class names- dbc; three integer type private member variables- x,y,z; one constructor function dbc(); one conversion function operator int(); one member function show(). dbc() is using to input the value of x,y; operator int() is using to multiply the value of z=x*y and convert class object to int type; Suppose in main(), obj is an object and m is an int type variable. Then the object obj is converted to int type variable m. show() is using to display the value of z as output using the obj.

#include<iostream>
using namespace std;
class dbc
{
    int x,y,z;
public:
    dbc();
    operator int();
    void show();
};
dbc::dbc()
{
    cout<<"Enter the value of x & y is  "<<endl;
    cout<<"Input the value x: ";
    cin>>x;
    cout<<"Input the value y: ";
    cin>>y;
}
dbc::operator int()
{
    z=x*y;
    return z;
}
void dbc::show()
{
    cout<<"The multiplication of Z is : "<<z<<endl;
}
int main()
{
    dbc obj;
    int m;
    m=obj;
    obj.show();
    return 0;
}

Write a program that will demonstrate built in type conversion to class type

Write a program that will demonstrate built in type conversion to class type. The program that uses the following properties – class names- test, one integer type private member variables- a,one constructor function test(int x), one member function output(). Suppose inside main(), object is ob(0) and value is one int type variable. We like to insert the amount of value from the keyboard. Then this int type value will be converted to the object ob. output() will display the value of object as output.

#include<iostream>
using namespace std;
class test
{
    int a;
public:
    test(int x);
    void output();
};
test::test(int x)
        {
            a=x;
        }
void test::output()
            {
              cout<<"The value of object is : "<<a<<endl;
            }
int main()
{
    test ob(0);
    int value;
    cout<<"Enter the integer value: ";
    cin>>value;
    ob=value;
    ob.output();
    return 0;
}

Write a program that will demonstrate overloading binary operator

Write a program that will demonstrate overloading binary operator. The program that uses the following properties – class names- test; one integer type private member variables- value; two constructor function test(), test(int a); one operator overloading function test operator-(test s); one member function display(). Suppose test function has got three objects like ob1(80), ob2(50), ob3. We want to subtract the value of object ob2 from the value of ob1 and ob3 will carry the subtraction result. The display() will display the output as follows-
ob1=80
ob2=50

ob3=30

#include<iostream>
using namespace std;
class test{
int value;
public:
test()
{

}
test(int a){
value=a;
}
test operator -(test);
void display();
};

test test::operator -(test s)
{
    test t;
    t.value=s.value-value;
    return t;
}
void test::display(){


cout<<"Output="<<value<<endl;
}
int main()
{
    test ob1(80), ob2(50), ob3;
    ob3=ob2-ob1;
     ob1.display();
     ob2.display();
     ob3.display();

    return 0;
}

Write a program that will demonstrate overloading unary operator

Write a program that will demonstrate overloading unary operator. The program that uses the following properties – class names- test; three integer type private member variables- e,f,g; three public member function getdata(int x, int y, int z), display(), operator-(). Function getdata(-50, 88, -19) assigns the values for e, f, g; operator-() changes the sign of the value of the object. display() member function displays the result as output before change sign and after change sign which is as follows-
S: -50 88 -19

S: 50 -88 19

#include<iostream>
using namespace std;
class test
{
    int e,f,g;
public:
    void getdata(int x,int y,int z);
    void display();
    void operator-();
};
void test::getdata(int x,int y,int z)
{
    e=x;
    f=y;
    g=z;
}
void test::display()
{
    cout<<e<<" "<<f<<" "<<g<<endl;
}
void test::operator-()
{
    e=-e;
    f=-f;
    g=-g;
}
int main()
{
    test  p;
    p.getdata(-50,88,-19);
    cout<<"Before change sign : ";
    p.display();
    -p;
    cout<<"After change sign : ";
    p.display();
    return 0;
}

Write a program that will demonstrate destructor function

Write a program that will demonstrate destructor function. The program that uses the following properties – class names- test; two integer type private member variables- e,f; one constructor function test(); one destructor function ~test(); one public member function add_display(). Constructor function test() assigns the values for e, f; add_display() member function do the addition for e, f and displays the result as output.

#include<iostream>
using namespace std;
class test
{
    int e,f;
public:
    test();
    ~test();
    void add_display();
};
test::test()
        {
           cout<<"Constructor Function "<<endl;
            e=10;
            f=20;
        }
test::~test()
{
    cout<<"Destructor Function"<<endl;
}
void test::add_display()
            {
                cout<<"Addition value is : "<<e+f<<endl;
            }
 Int  main()
 {
     test  p;
     p.add_display();
     return 0;
}