This commit is contained in:
Ibrahima G. Coulibaly
2025-07-14 14:51:46 +01:00
parent c64c29878e
commit 6c9898f2d3
13 changed files with 129 additions and 12 deletions

View File

@@ -21,6 +21,12 @@ const ohmsLawCalc: GenericCalcType = {
longDescription:
"This calculator applies Ohm's Law (V = I × R) to determine any of the three electrical parameters when the other two are known. Ohm's Law is a fundamental principle in electrical engineering that describes the relationship between voltage (V), current (I), and resistance (R). This tool is essential for electronics hobbyists, electrical engineers, and students working with circuits to quickly solve for unknown values in their electrical designs.",
formula: 'V = I * R',
i18n: {
name: 'number:ohmsLaw.title',
description: 'number:ohmsLaw.description',
shortDescription: 'number:ohmsLaw.shortDescription',
longDescription: 'number:ohmsLaw.longDescription'
},
presets: [],
variables: [
{

View File

@@ -19,6 +19,12 @@ const slackline: GenericCalcType = {
longDescription: 'This calculator assumes a load in the center of the rope',
formula: 'T = (W * sqrt((S**2) + ((L/2)**2)) )/ (2S)',
presets: [],
i18n: {
name: 'number:slackline.title',
description: 'number:slackline.description',
shortDescription: 'number:slackline.shortDescription',
longDescription: 'number:slackline.longDescription'
},
variables: [
{
name: 'L',

View File

@@ -22,6 +22,12 @@ const areaSphere: GenericCalcType = {
'This calculator determines the surface area of a sphere using the formula A = 4πr². You can either input the radius to find the surface area or enter the surface area to calculate the required radius. This tool is useful for students studying geometry, engineers working with spherical objects, and anyone needing to perform calculations involving spherical surfaces.',
formula: 'A = 4 * pi * r**2',
presets: [],
i18n: {
name: 'number:sphereArea.title',
description: 'number:sphereArea.description',
shortDescription: 'number:sphereArea.shortDescription',
longDescription: 'number:sphereArea.longDescription'
},
variables: [
{
name: 'A',

View File

@@ -16,6 +16,12 @@ const volumeSphere: GenericCalcType = {
],
shortDescription: 'Calculate the volume of a sphere using radius or diameter',
name: 'Volume of a Sphere',
i18n: {
name: 'number:sphereVolume.title',
description: 'number:sphereVolume.description',
shortDescription: 'number:sphereVolume.shortDescription',
longDescription: 'number:sphereVolume.longDescription'
},
path: 'volume-sphere',
description: 'Volume of a Sphere',
longDescription:

View File

@@ -21,6 +21,12 @@ const voltageDropInWire: GenericCalcType = {
name: 'Round trip voltage drop in cable',
path: 'cable-voltage-drop',
formula: 'x = (((p * L) / (A/10**6) ) *2) * I',
i18n: {
name: 'number:voltageDropInWire.title',
description: 'number:voltageDropInWire.description',
shortDescription: 'number:voltageDropInWire.shortDescription',
longDescription: 'number:voltageDropInWire.longDescription'
},
description:
'Calculates round trip voltage and power loss in a 2 conductor cable',
longDescription:

View File

@@ -57,5 +57,35 @@
"title": "Sum",
"description": "Calculate the sum of a list of numbers. Enter numbers separated by commas or newlines to get their total sum.",
"shortDescription": "Calculate sum of numbers"
},
"ohmsLaw": {
"title": "Ohm's Law",
"description": "Calculates voltage, current and resistance",
"shortDescription": "Calculate voltage, current, or resistance in electrical circuits using Ohm's Law",
"longDescription": "This calculator applies Ohm's Law (V = I × R) to determine any of the three electrical parameters when the other two are known. Ohm's Law is a fundamental principle in electrical engineering that describes the relationship between voltage (V), current (I), and resistance (R). This tool is essential for electronics hobbyists, electrical engineers, and students working with circuits to quickly solve for unknown values in their electrical designs."
},
"slackline": {
"title": "Slackline Tension",
"description": "Calculates tension in a slackline",
"shortDescription": "Calculate the approximate tension of a slackline or clothesline. Do not rely on this for safety.",
"longDescription": "This calculator assumes a load in the center of the rope"
},
"sphereArea": {
"title": "Area of a Sphere",
"description": "Area of a Sphere",
"shortDescription": "Calculate the surface area of a sphere based on its radius",
"longDescription": "This calculator determines the surface area of a sphere using the formula A = 4πr². You can either input the radius to find the surface area or enter the surface area to calculate the required radius. This tool is useful for students studying geometry, engineers working with spherical objects, and anyone needing to perform calculations involving spherical surfaces."
},
"sphereVolume": {
"title": "Volume of a Sphere",
"description": "Volume of a Sphere",
"shortDescription": "Calculate the volume of a sphere using radius or diameter",
"longDescription": "This calculator computes the volume of a sphere using the formula V = (4/3)πr³. You can input either the radius or diameter to find the volume, or enter the volume to determine the required radius. The tool is valuable for students, engineers, and professionals working with spherical objects in fields such as physics, engineering, and manufacturing."
},
"voltageDropInWire": {
"title": "Round trip voltage drop in cable",
"description": "Calculates round trip voltage and power loss in a 2 conductor cable",
"shortDescription": "Calculate voltage drop and power loss in electrical cables based on length, material, and current",
"longDescription": "This calculator helps determine the voltage drop and power loss in a two-conductor electrical cable. It takes into account the cable length, wire gauge (cross-sectional area), material resistivity, and current flow. The tool calculates the round-trip voltage drop, total resistance of the cable, and the power dissipated as heat. This is particularly useful for electrical engineers, electricians, and hobbyists when designing electrical systems to ensure voltage levels remain within acceptable limits at the load."
}
}