Answer:
20 fish.
Step-by-step explanation:
Convert ratio to fraction:
There were 5 / (5 + 2) = 5/7 of fish.
So number of fish = 5/7 * 28
= 20.
a) (f+g)(x) = f(x) + g(x) = -4x + 5x = x
b) -9(x) = -9x? I have no idea what this means.
c) (f o g)(x) = (f(g(x)) = f(5x) = -4 (5x) = -20x
Since the rate of the other store is not given, let us just get the sales price of the skirt Dima bought from the discount store.
Original price : $54
Discount rate : 30%
$54 x 30% = $16.20 value of the discount
$54 - 16.20 = $37.80 discounted price.
Since Dima's friend told her she could have had a better deal at a different store, this means that the discount rate is higher than 30%. Let us assume that the discount is 35%
$54 x 35% = $18.90 value of the discount
$54 - 18.90 = $35.10 discounted price.
Discount store: $37.80
Different store: $35.10
Different store sales price is cheaper by $2.70
Answer:
A:
You do 65 divided by 25 = 2.6
52 divided by 2.6 = 20
Ryan has 20, so the answer is Ryan.
Hope this helps!
// Input value is usernum.
// This code snippet sums 1 + 3 + 5 + ... + usernum
// The answer is stored in the variable summedvalue.
N = (int) (usernum+1)/2; // maximum number of integers to be summed
int *v = malloc(N*sizeof(int)); // allocate storage for array v
// Calculate the number of loop counts and assign array v..
count = 0;
k = 1;
while (1) {
if (k>usernum) { // do not extend v beyond usernum
break;
}
v(count) = k; // assign an odd integer to v, including usenum
count++;
k += 2; // k is an odd number
if k>usernum { // handle usernum as odd or even
k = usernum;
}
}
n = count; // the size of array v.
// Calculate the sum in a for loop
summedvalue = 0; // initialize summedvalue
for (i=0; i<=n; i++) {
summedvalue += v(i);
}