docs(physics): improve subject

- clarify the scope of the function
- fix a small grammar error
This commit is contained in:
nprimo 2023-02-28 11:39:55 +01:00 committed by Niccolò Primo
parent b4e291ec7c
commit 6e6f16432b
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ So he wants to know what the acceleration of that object is, depending on its pr
- distance xx
- time xx
Create a function named `getAcceleration` that calculates the velocity of a given object. For example:
Create a function named `getAcceleration` that calculates the acceleration of a given object. For example:
```js
{
f: 10,
@ -28,7 +28,7 @@ Create a function named `getAcceleration` that calculates the velocity of a give
d: 10
}
```
If its not possible to calculate it, it must return the string `"impossible"`.
If it is not possible to calculate it, it must return the string `"impossible"`.
### Formulas