Shivam - Mathematics tutor - Patna
Shivam - Mathematics tutor - Patna

Shivam's profile and their contact details have been verified by our experts

Shivam

  • Rate $6
  • Response 1h
Shivam - Mathematics tutor - Patna

$6/h

See Mathematics tutors

Unfortunately, this tutor is unavailable

  • Mathematics
  • Chemistry
  • Organic chemistry
  • Precalculus & Calculus

Computer science engineer (3 rd year undergraduate) Also good in programming languages like c, c++ ,java, python etc.

  • Mathematics
  • Chemistry
  • Organic chemistry
  • Precalculus & Calculus

Lesson location

About Shivam

Well, I believe in the principle that says "The Teacher learns the most". Teaching others what u have to learn is the magical trick that will make you an expert at that particular topic.

One more thing that encourages me do this is that there's a lot of unawareness among students. They have so much of potential as well as capability but are unaware of the latest advancement in technology. I would love to share my technical knowledge and skills with them because i love to share what i learn.

See more

About the lesson

  • All Levels
  • English

All languages in which the lesson is available :

English

I want to teach the concept of variables and its values.

Let,
var a=3;
var b=8;

What if I want to exchange the values of both the variables? How can we do that?

As we all know, real-life examples are the only key to better understanding. So let's get into it.

Firstly, I will take two glasses.Then I'll pour the orange juice in the first glass and the lemon juice in the second one.
Now, I want to exchange the juices of both the glasses.
For this, I have to take an empty glass. In that glass, I will pour the orange juice of the first glass and the first glass will become empty.Then I'll pour the lemon juice of the second glass into the first glass. It will make the second glass empty and finally I'll put the orange juice into the second glass.
So now, the first glass is containing the lemon juice(which was initially in the second glass) and the second glass is containing orange juice(which was initially in the first glass).

And that's how we exchanged the juices of both the glasses.

Similarly, we can exchange the value of both the variables.
For that,we have to assume a third variable 'c' and then we can transfer the value of variable 'a' (i.e., 3) to variable 'c' and the value of variable 'b' (i.e., 8) to variable 'a'.
var c = var a;
and, var a = var b;
therefore, var c =3;
var a =8;

and then finally we can transfer the value of variable 'c' to variable 'b'.
var b = var c;
therefore, var b =3;

So now, var a =8;
and, var b =3;

And yeah, We are done!

See more

Rates

Rate

  • $6

Pack rates

  • 5h: $30
  • 10h: $60

online

  • $6/h

Other tutors in Mathematics

  • Vikash

    Patna & online

    New
    • $20/h
    • 1st lesson free
  • Susant

    Patna & online

    New
    • $10/h
    • 1st lesson free
  • Sofia

    San Francisco & online

    5 (74 reviews)
    • $65/h
    • 1st lesson free
  • Jose

    Philadelphia & online

    5 (36 reviews)
    • $35/h
    • 1st lesson free
  • Josiah

    Brooklyn & online

    5 (110 reviews)
    • $25/h
    • 1st lesson free
  • Lyle

    Queens & online

    5 (42 reviews)
    • $35/h
    • 1st lesson free
  • Drew

    New York & online

    5 (111 reviews)
    • $20/h
  • Davayne

    Baldwinsville & online

    5 (124 reviews)
    • $30/h
    • 1st lesson free
  • Joe

    Plainview & online

    4.9 (36 reviews)
    • $25/h
  • Fadil

    Chapel Hill & online

    5 (48 reviews)
    • $35/h
    • 1st lesson free
  • Philip

    Newark & online

    4.8 (36 reviews)
    • $45/h
    • 1st lesson free
  • Reza

    Brooklyn & online

    5 (51 reviews)
    • $40/h
    • 1st lesson free
  • Natalie

    Great Neck & online

    5 (28 reviews)
    • $90/h
  • Seren

    Roseville & online

    5 (46 reviews)
    • $45/h
    • 1st lesson free
  • Matias Ignacio

    Miami & online

    5 (55 reviews)
    • $39/h
  • Yannik

    Richmond & online

    5 (34 reviews)
    • $200/h
  • Jody

    Hollywood & online

    5 (46 reviews)
    • $55/h
    • 1st lesson free
  • Sevan

    San Marcos & online

    5 (20 reviews)
    • $59/h
  • Haider

    Palo Alto & online

    5 (27 reviews)
    • $35/h
    • 1st lesson free
  • Cynthia

    Margate & online

    5 (26 reviews)
    • $45/h
    • 1st lesson free
  • See Mathematics tutors