Math & Numbers
Compute the back-EMF and electromagnetic torque of a DC motor from its machine constant: E=k·ω, T=k·I. In SI units the back-EMF constant equals the torque constant (k_e=k_t=k, V·s/rad=N·m/A). Also returns the mechanical (air-gap) power P=T·ω=E·I. Speed accepted in rad/s or RPM.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/dc-motor-back-emf' \
-H 'Content-Type: application/json' \
-d '{"k":0.1,"speed":100,"speedUnit":"rad_s","current":5,"decimalPlaces":4}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/dc-motor-back-emf| Name | Type | Required | Description |
|---|---|---|---|
| k | number | Yes | Machine constant k. In SI units k_e (V·s/rad) = k_t (N·m/A) = k. |
| speed | number | Yes | Rotor angular speed in the selected unit (rad/s or RPM). |
| speedUnit | select | No | — |
| current | number | Yes | Armature current I (A). May be 0 (then torque and power are 0). |
| decimalPlaces | number | No |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-dc-motor-back-emf": {
"name": "dc-motor-back-emf",
"description": "Compute the back-EMF and electromagnetic torque of a DC motor from its machine constant: E=k·ω, T=k·I. In SI units the back-EMF constant equals the torque constant (k_e=k_t=k, V·s/rad=N·m/A). Also returns the mechanical (air-gap) power P=T·ω=E·I. Speed accepted in rad/s or RPM.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=dc-motor-back-emf",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "dc-motor-back-emf",
"arguments": {
"k": 0.1,
"speed": 100,
"speedUnit": "rad_s",
"current": 5,
"decimalPlaces": 4
}
}
}Questions or issues? Contact [email protected]
| — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}