Enable contrast version

Tutor profile: Yathansh A.

Inactive
Yathansh A.
Electronics Engineer, Programming geek. A journey from diode to code.
Tutor Satisfaction Guarantee

Questions

Subject: Python Programming

TutorMe
Question:

What does the *args does in Python?

Inactive
Yathansh A.
Answer:

We use *args as a parameter in the function header. It gives us the ability to pass N (variable) number of arguments in the function. For example - def Func(*args): for arg in args: print (arg) Func( 'Hello' , 'Friend' , 'Welcome' , 'to' , 'TutorMe' ) The above code will print: Hello Friend Welcome to TutorMe

Subject: C Programming

TutorMe
Question:

What is pointer to a pointer in C programming?

Inactive
Yathansh A.
Answer:

When we define a pointer to a pointer, the first pointer contains the address of the second pointer, which points to the location that contains the actual value. This is declared by putting another asterisk in front like this int **ptr; Let us understand by this code: int a = 5; int *ptr1 ; int **ptr2; ptr1 = &a; //ptr1 stores the address of a. ptr2 = &ptr1; //ptr2 stores the address of ptr1. printf("%d",*ptr1); //will print value at the address of ptr1 that is 5. printf("%d",**ptr2); //will print value at the address of ptr2 that is 5.

Subject: Algebra

TutorMe
Question:

If $$x^{1/3} + y^{1/3} - z^{1/3} = 0 $$ then find the value of $$(x + y - z)^{3} + 27xyz $$ .

Inactive
Yathansh A.
Answer:

Take the third term that is z on right hand side, we get $$ x^{1/3} + y^{1/3} = z^{1/3} $$ #eq. 1 Now cubing both sides $$ (x^{1/3} + y^{1/3})^{3} = (z^{1/3})^{3} $$. By using identity $$ (a+b)^{3} = a^{3} + b^{3} + 3ab(a+b) $$. we'll get $$ x+y + 3x^{1/3}y^{1/3}(x^{1/3} + y^{1/3}) = z $$ On shifting sides, we'll get $$ x+y-z = -3x^{1/3}y^{1/3}(x^{1/3} + y^{1/3}) $$ Again cubing both sides and putting value form #eq. 1, we get $$(x+y-z)^{3} = -27xyz$$. Shifting again we'll get our answer as $$(x+y-z)^{3} +27xyz=0$$. Hence, the answer is zero.

Contact tutor

Send a message explaining your
needs and Yathansh will reply soon.
Contact Yathansh

Request lesson

Ready now? Request a lesson.
Start Lesson

FAQs

What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Lesson" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.