Question
The sum of length, breadth and height of cuboid is
20cm.If the length of the diagonal is 12 cm, then find the total surface area of the cuboid( in cm 2 )Solution
l+ b+ h = 20 Diagonal =12 Diagonal = √ l2+b2+h2 (l+ b+ h)2 = l2+b2+h2+ 2(l b+ b h +h l) (20)2 = (12)2 +2(l b+ b h +h l) 400 = 144 +2(l b+ b h +h l) 2(l b+ b h +h l) = 400-144=256 Total surface area of cuboid =256
Output of below code
public class Prg {
public static void main(String args[]){
System.out.print("A" + "B" + 'A');
}
...The Master Theorem gives time complexity for recurrences of the form:
Which of the following is true for the time complexity of binary search?
Which is not true about minimum spanning tree?
Which sorting algorithm divides the array into halves recursively?
Which command is TCL command
Which of the following is substring of “IXAMBEE”?
Which data structure is used in BFS (Breadth-First Search)?
Which of the following is considered the strongest type of encryption method in modern cyber security practices?
In a binary search tree (BST), what is true about the left child of a node?