Use Pythagorean theorem:
9i-j = sqrt (9^2 - 1^2) = sqrt(81-1) = sqrt80
now divide both terms in V by that:
u = 9/sqrt(80)i - 1/sqrt(80)j
see attached picture:
I will be using the language C++. Given the problem specification, there are an large variety of solving the problem, ranging from simple addition, to more complicated bit testing and selection. But since the problem isn't exactly high performance or practical, I'll use simple addition. For a recursive function, you need to create a condition that will prevent further recursion, I'll use the condition of multiplying by 0. Also, you need to define what your recursion is.
To wit, consider the following math expression
f(m,k) = 0 if m = 0, otherwise f(m-1,k) + k
If you calculate f(0,k), you'll get 0 which is exactly what 0 * k is.
If you calculate f(1,k), you'll get 0 + k, which is exactly what 1 * k is.
So here's the function
int product(int m, int k)
{
if (m == 0) return 0;
return product(m-1,k) + k;
}
Answer:
11 weeks
Step-by-step explanation:
First we need to check what variables we have.
Beginning Balance = $1000
Goal = $350
Withdrawal = $55 per week
Now let's declare a variable as the number of weeks.
Let x = number of weeks
1000 - 55x = 350
-55x = 350-1000
-55x = -650
Then we divide both sides by -55 to find the value of x.
x = 11.81 or 11 since we're looking for how many weeks in total
Now let's see if we still have 350 if we have a total of 11 as the value of x.
1000 - 55(11) = 350
1000 - 605 = 350
395 = 350
We can see that Kendall will have $395 compared to the $350 goal.
So Kendall can withdraw $55 a week for 11 weeks to still be within her goal of having $350 in her savings account.
Answer:
Experimental units, factors & treatments in experiment.
Step-by-step explanation:
Experimental Units are the 60 restaurants.
Factors are the : Menu description & price
Treatments in experimental design : Healthy Low Price, Healthy Medium Price, Healthy High price & Value low price, Value medium price, Value high price.
Ms alvadaro 2:1 mr lowry 3:2
3+2=5 2+1=3
5:3
45/5=9 27/3=9
2·9=18 1·9=9