TutorMe homepage
Subjects
PRICING
COURSES
Start Free Trial
Sahila A.
Senior Software Developer
Tutor Satisfaction Guarantee
Python Programming
TutorMe
Question:

Python Program to add two numbers and print the result

Sahila A.

# This program adds two numbers num1 = 1.5 num2 = 6.3 # Add two numbers sum = float(num1) + float(num2) # Display the sum print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))

Trigonometry
TutorMe
Question:

In a right triangle ABC with angle A equal to 90 degrees, find angle B and C so that sin(B) = cos(B).

Sahila A.

Let b be the length of the side opposite angle B and c the length of the side opposite angle C and h the length of the hypotenuse. sin(B) = b/h and cos(B) = c/h sin(B) = cos(B) means b/h = c/h which gives c = b The two sides are equal in length means that the triangle is isosceles and angles B and C are equal: A + B + C = 180 degrees ( sum of angles of a triangle is 180 degrees ) A + 2B = 180 degrees 2B = 90 degrees ( as A = 90 degrees is given in question ) B = 45 degrees = C

GMAT
TutorMe
Question:

Based on records from ancient Athens, each year young Athenian women collaborated to weave a new woolen robe that they used to dress a statue of the goddess Athena and that this robe depicted scenes of a battle between Zeus, Athena's father, and giants. (A) Based on records from ancient Athens, each year young Athenian women collaborated to weave a new woolen robe that they used to dress (B) Based on records from ancient Athens, young Athenian women had collaborated to weave a new woolen robe with which to dress (C) According to records from ancient Athens, each year young Athenian women collaborated to weave a new woolen robe that they used to dress (D) Records from ancient Athens indicate that each year young Athenian women collaborated to weave a new woolen robe with which they dressed (E) Records from ancient Athens indicate each year young Athenian women had collaborated to weave a new woolen robe for dressing

Sahila A.

"Based" is an adjective and adjectives modify nouns. Any modifier introduced with an adjective must be a noun modifier. The problem in this case is that the modifier "Based on records" is not placed next to any valid target. A & B are incorrect. E is incorrect because we need "that" (used here as a conjunction) after 'indicate' to introduce the subordinate clause that tells us what the records indicate. D is better than C because as others have pointed out, we need a parallel structure to explain list the two things that records show: "that each year women collaborated...and that this robe depicted scenes" Correct answer: D

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