Skip to content

Commit 65d88e5

Browse files
authored
chore(curriculum): change to US spelling maximize (freeCodeCamp#60911)
1 parent 170df37 commit 65d88e5

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

curriculum/challenges/_meta/project-euler-problems-101-to-200/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@
366366
},
367367
{
368368
"id": "5900f42b1000cf542c50ff3d",
369-
"title": "Problem 190: Maximising a weighted product"
369+
"title": "Problem 190: Maximizing a weighted product"
370370
},
371371
{
372372
"id": "5900f42b1000cf542c50ff3e",

curriculum/challenges/english/18-project-euler/project-euler-problems-101-to-200/problem-190-maximising-a-weighted-product.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
---
22
id: 5900f42b1000cf542c50ff3d
3-
title: 'Problem 190: Maximising a weighted product'
3+
title: 'Problem 190: Maximizing a weighted product'
44
challengeType: 1
55
forumTopicId: 301828
66
dashedName: problem-190-maximising-a-weighted-product
77
---
88

99
# --description--
1010

11-
Let $S_m = (x_1, x_2, \ldots, x_m)$ be the $m$-tuple of positive real numbers with $x_1 + x_2 + \cdots + x_m = m$ for which $P_m = x_1 \times {x_2}^2 \times \cdots \times {x_m}^m$ is maximised.
11+
Let $S_m = (x_1, x_2, \ldots, x_m)$ be the $m$-tuple of positive real numbers with $x_1 + x_2 + \cdots + x_m = m$ for which $P_m = x_1 \times {x_2}^2 \times \cdots \times {x_m}^m$ is maximized.
1212

1313
For example, it can be verified that $[P_{10}] = 4112$ ([ ] is the integer part function).
1414

1515
Find $\sum {[P_m]}$ for $2 ≤ m ≤ 15$.
1616

1717
# --hints--
1818

19-
`maximisingWeightedProduct()` should return `371048281`.
19+
`maximizingWeightedProduct()` should return `371048281`.
2020

2121
```js
22-
assert.strictEqual(maximisingWeightedProduct(), 371048281);
22+
assert.strictEqual(maximizingWeightedProduct(), 371048281);
2323
```
2424

2525
# --seed--
2626

2727
## --seed-contents--
2828

2929
```js
30-
function maximisingWeightedProduct() {
30+
function maximizingWeightedProduct() {
3131

3232
return true;
3333
}
3434

35-
maximisingWeightedProduct();
35+
maximizingWeightedProduct();
3636
```
3737

3838
# --solutions--

curriculum/challenges/english/18-project-euler/project-euler-problems-201-to-300/problem-232-the-race.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ On Player 2's turn, she chooses a positive integer $T$ and tosses the coin $T$ t
1616

1717
Player 1 goes first. The winner is the first to 100 or more points.
1818

19-
On each turn Player 2 selects the number, $T$, of coin tosses that maximises the probability of her winning.
19+
On each turn Player 2 selects the number, $T$, of coin tosses that maximizes the probability of her winning.
2020

2121
What is the probability that Player 2 wins?
2222

0 commit comments

Comments
 (0)