Question
Sanjay invested Rs. ‘x’ at the rate of 14% simple
interest for 2 years, while Manish invested 50% of x at 12% compound interest per annum for 2 years. If the total interest earned is Rs. 512, then what is the value of ‘x’?Solution
ATQ,
Manish's investment = Rs. 0.5x
According to the question:
(x × 14 × 2)/100 + [0.5x × 1.12 × 1.12 – 0.5x] = 512
⇒ 0.28x + 0.12544x = 512
⇒ 0.40544x = 512
⇒ x = 1262
Which tree traversal is most suitable for finding the shortest path in an unweighted graph represented as a tree?
Which software development methodology emphasizes iterative development and customer feedback?
...Which of the following is correct for a single-line comment in C++?
In Python, which method is used to convert a string to lowercase?
In C, what is the output of printf("%d", 5/2);?
In Python, what does len() function do?
Which Python keyword is used to handle exceptions?
Which of the following algorithms is used for finding Minimum Spanning Tree?
Which of the following is true about C++ destructors?
What is the output of the following code: x = 5; y = 2; print(x ** y)?