formulas lacked final semicolon
This commit is contained in:
parent
e593c997cb
commit
681d9215b3
1 changed files with 6 additions and 6 deletions
|
|
@ -11,13 +11,13 @@ Where:
|
||||||
- `g` = Gravitational acceleration (9.81 m/s² on Earth)
|
- `g` = Gravitational acceleration (9.81 m/s² on Earth)
|
||||||
- `t` = Time in free fall (seconds)
|
- `t` = Time in free fall (seconds)
|
||||||
|
|
||||||
''',
|
''',
|
||||||
"input": [
|
"input": [
|
||||||
{"name": "t", "unit": "second"}, // Time in seconds
|
{"name": "t", "unit": "second"}, // Time in seconds
|
||||||
{"name": "g", "unit": "meters per second"} // Gravitational acceleration
|
{"name": "g", "unit": "meters per second"} // Gravitational acceleration
|
||||||
],
|
],
|
||||||
"output": {"name": "h", "unit": "meter"}, // Height in meters
|
"output": {"name": "h", "unit": "meter"}, // Height in meters
|
||||||
"d4rtCode": "h = 0.5 * g * pow(t, 2)",
|
"d4rtCode": "h = 0.5 * g * pow(t, 2);",
|
||||||
"tags": ["physics", "kinematics"]
|
"tags": ["physics", "kinematics"]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -41,7 +41,7 @@ Where:
|
||||||
{"name": "r", "unit": "meter"} // Distance between masses
|
{"name": "r", "unit": "meter"} // Distance between masses
|
||||||
],
|
],
|
||||||
"output": {"name": "F", "unit": "newton"}, // Force in newtons
|
"output": {"name": "F", "unit": "newton"}, // Force in newtons
|
||||||
"d4rtCode": "F = (6.67430e-11 * m1 * m2) / pow(r, 2)",
|
"d4rtCode": "F = (6.67430e-11 * m1 * m2) / pow(r, 2);",
|
||||||
"tags": ["physics", "astronomy", "gravity"]
|
"tags": ["physics", "astronomy", "gravity"]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -63,7 +63,7 @@ Where:
|
||||||
{"name": "v", "unit": "meters per second"} // Velocity
|
{"name": "v", "unit": "meters per second"} // Velocity
|
||||||
],
|
],
|
||||||
"output": {"name": "KE", "unit": "joule"}, // Energy in joules
|
"output": {"name": "KE", "unit": "joule"}, // Energy in joules
|
||||||
"d4rtCode": "KE = 0.5 * m * pow(v, 2)",
|
"d4rtCode": "KE = 0.5 * m * pow(v, 2);",
|
||||||
"tags": ["physics", "energy", "mechanics"]
|
"tags": ["physics", "energy", "mechanics"]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -82,7 +82,7 @@ Where:
|
||||||
{"name": "θ", "unit": "degree"} // Launch angle
|
{"name": "θ", "unit": "degree"} // Launch angle
|
||||||
],
|
],
|
||||||
"output": {"name": "R", "unit": "meter"}, // Horizontal distance
|
"output": {"name": "R", "unit": "meter"}, // Horizontal distance
|
||||||
"d4rtCode": "R = (pow(v, 2) * sin(2 * radians(θ))) / 9.80665",
|
"d4rtCode": "R = (pow(v, 2) * sin(2 * radians(θ))) / 9.80665;",
|
||||||
"tags": ["physics", "kinematics", "projectile"]
|
"tags": ["physics", "kinematics", "projectile"]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -103,7 +103,7 @@ Where:
|
||||||
{"name": "a", "unit": "meters per square second"} // Acceleration
|
{"name": "a", "unit": "meters per square second"} // Acceleration
|
||||||
],
|
],
|
||||||
"output": {"name": "F", "unit": "newton"}, // Force in newtons
|
"output": {"name": "F", "unit": "newton"}, // Force in newtons
|
||||||
"d4rtCode": "F = m * a",
|
"d4rtCode": "F = m * a;",
|
||||||
"tags": ["physics", "mechanics", "newton"]
|
"tags": ["physics", "mechanics", "newton"]
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue