Skip to content

The International System of Units (SI) is the modern form of the metric system. I create a bot that will skillfully use this system and help users to convert units.

Notifications You must be signed in to change notification settings

Dmytrenko-Roman/system-si-bot

Repository files navigation

system-si-bot

Description:

The International System of Units (SI) is the modern form of the metric system. I create a bot that will skillfully use this system and help users to convert units.

Usage:

Find the bot in the telegram by username: system_si_bot. Start working with the bot by looking at the list of its commands. The /instructions command will introduce you to a brief manual on using the bot. The /constants command allows you to get data on all physical constants. And finally, the /systemsi command allows you to use the system of the same name.

Code:

The SI system is powered by code written in the SIsystem.js file. The implementation of constants is in the constants.js file. I also wrote tests for these two functions. They are in the tests.js file. The bot implementation is in the index.js file.

Application examples:

Instructions:

SI system:

Constants:

Motivation:

I wanted to create a project in which I could apply my knowledge not only in programming, but also in physics, since it is also interesting to me. The idea to create a bot that will work effectively with the SI system came to me recently. Often at school I had difficulty with tasks that required using this system and made stupid mistakes. But now I can be calm, because I have such a bot at hand. If we talk about the constants, which I also decided to add to the bot, then everything is pretty simple. Often, solving a problem, I came across an unknown constant in the formula. I did not know either its name or its value. I think such problems arose not only for me. The bot is designed to fix this problem. After all, now it’s enough just to know the letter, which designates a constant. In short, I wanted to help people solve physical problems by applying my programming knowledge.

About

The International System of Units (SI) is the modern form of the metric system. I create a bot that will skillfully use this system and help users to convert units.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published