Answer:
public class MovieRental
{
public static void main(String[] args)
{
Scanner in = new Scanner(System.in);
System.out.print("Enter the number of movie rentals: ");
int movieRentals = in.nextInt();
System.out.print("Enter the number of members referred to the video club: ");
int memberReferral = in.nextInt();
in.close();
double discountVal = Math.min(movieRentals + memberReferral, 75);
System.out.println("The discount is equal to: " + discountVal);
}
}
-2x < = 3x + 1 < = 10
split them
-2x < = 3x + 1 3x + 1 < = 10
-2x - 3x < = 1 3x < = 10 - 1
-5x < = 1 3x < = 9
x > = -1/5 x < = 3
solution is : -1/5 < = x < = 3 <==
3x - 5y = 18 over
-10x + 5y = 10
Add them because the 5y's have the right symbols for us to add
-7x = 28
Divide
x = -4
Now you can plug in -4 for x in one equation, I would use the first equation!
3(-4) - 5y = 18
-12 - 5y = 18
Add 12
-5y = 30
Divide
y = -6
Your solutions are going to be:
x = -4
y = -6
To check your work plug x and y into one equation:
3(-4) - 5(-6) = 18
-12 + 30 = 18
18 = 18
Since 18 does equal 18 you know that your solution's work!
Answer:
2nd option
Step-by-step explanation:
Repeatedly divide by 2 until the value 1 is reached
32 ÷ 2 = 16
16 ÷ 2 = 8
8 ÷ 2 = 4
4 ÷ 2 = 2
2 ÷ 2 = 1 ← finish here
Then
32 = 2 × 2 × 2 × 2 × 2
Given tan(x)=25
we need to find tan(π-x)=cot(x) = 1/tan(x) = 1/25
Answer: tan(π-x)=1/25.