Enable contrast version

Tutor profile: Ananna B.

Inactive
Ananna B.
Undergraduate Computer Technology Student with an excellent academic track record and industrial experience.
Tutor Satisfaction Guarantee

Questions

Subject: Trigonometry

TutorMe
Question:

Consider a right-angled triangle right angled at A with angles A, B, C. Find angles B and C such that sin(B) = cos(B).

Inactive
Ananna B.
Answer:

Draw out the right angled triangle as mentioned in the question in your imagination. Use a pen and paper if necessary. Assume that the length of the side opposite to angle B is denoted by 'b' and that opposite to angle C is denoted by 'c'. Let the length of the hypotenuse be denoted by 'h'. We know that sin(B) = b/h and cos(B) = c/h. sin(B) = cos(B) means b/h = c/h which gives b = c. There you go! The other two sides are equal in length which means the other two angles are 45 degrees each.

Subject: Basic Math

TutorMe
Question:

What is the number of 3-digit numbers divisible by 6?

Inactive
Ananna B.
Answer:

The answer is 150. There are 900 three digit numbers from 100 to 999 (subtract 100 from 900 and add 1 to include the number 100 itself). The very first number divisible by 6 will be 102 and the last will be 996. Using AP(Arithmetic Progression) where the common difference is 6(every 6th number from 102 will be divisible by 6) we find the number of terms 'n' - 996 = 102 + (n-1)*6 Solving the above equation, n comes out to be 150.

Subject: C Programming

TutorMe
Question:

Given a code fragment as follows: void main() { printf("%d\n",sizeof(printf("Hello World\n"))); } What is the output of the above code, assuming there are no errors in compilation and execution?

Inactive
Ananna B.
Answer:

What do you think can be the output? It may look like either of these- Hello World 4 or 4 Hello World Well, it is neither! The answer is 4. Why? Anything that is written inside the braces of sizeof() does not matter because it will not get evaluated or executed.Hence Hello World will not be printed anywhere. Now printf() does the job of returning an integer (int) value regarding the number of characters it has printed. The sizeof() expression only evaluated the size of int and the answer is 4.

Contact tutor

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

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.
BEST IN CLASS SINCE 2015
TutorMe homepage
Made in California by Zovio
© 2020 TutorMe, LLC
High Contrast Mode
On
Off