Area of parallelogram is p cm^2 and its height is q cm. A second parallelogram has equal area but its base is r cm more than that of the first.
Answers
Answered by
41
Step-by-step explanation:
Solution :
Area of 1st parallelogram = p cm²
b × h = p
b × q = p
b = p/q cm
Base = (r + p/q)
= rq + p/q
Area of 2nd parallelogram = p cm²
b × h = p
rq + p/q × h = p
h = pq/rq + p cm.
Answered by
0
Step-by-step explanation:
import java.util.Scanner;
public class KboatHypotenuse
{
public static void main(String args[]) {
Scanner in = new Scanner(System.in);
System.out.print("Enter Perpendicular: ");
double p = in.nextDouble();
System.out.print("Enter Base: ");
double b = in.nextDouble();
double h = Math.sqrt(Math.pow(p, 2) + Math.pow(b, 2));
System.out.println("Hypotenuse = " + h);
}
}
Similar questions