Calculator of metal mass
It is necessary to write a mass calculator of the metallopracate, which after receiving from the user the form of the metallopracate (e.g. "sweeler"), the form of the metal (e.g. "carbon steel") and the parameters of the product ("height", "width", "weight of the wall") depends on the mass of 1 meter of the product.Necessary knowledge:
HTML, JavaScript and CSS
React
The Webpack
by Git
Functional requirements:
- Localization (support of Ukrainian and Russian languages)
- Support of the following types of lease: tube (round, square, straight-to-country), corner (level, non-level), armature, ball (round, two-level), sweller (level, non-level), strip, leaf, square, circle.- Support of the following types of metal: (Carbon steel, 17X18H9, 06XH28MDT, 12X17, 12X18H10T, 08X17H15M3T, 15X25T, 10X17H13M2T, dyraluminum, titanium, methane, latte, swine, gold)
- Each type of lounge must have its own shape to set the parameters (e.g. the radius of the tube, and the thickness of the wall).The forms of the parameters must have a validation.
- The user by choosing the type of lease, the type of metal and filling in the form of parameters must obtain information about the mass of 1 meter of the product.Technical Requirements :
The result of the project should be a .js file and a .css file that can be easily integrated into any site.The desired but not binding is the functional unit test coverage.
Additionally :
- An example of the existing more complex calculator can be found here: https://sbk.ltd.ua/uk/sortament-vaga-metaloprokatu/238-calkuljator-metalla-onlajn-raschet-massy-metalloprokata.html
Необхідно написати калькулятор маси металопрокату, який отримавши від користувача вид металопрокату (наприклад "швелер"), вид металу (наприклад "вуглецева сталь") та параметри виробу ("висота", "ширина", "товщина стінки") обрахує масу 1 метра виробу.
Цей компонент частво повторює функціонал існуючого калькулятора: https://sbk.ltd.ua/uk/sortament-vaga-metaloprokatu/238-kalkuljator-metalla-onlajn-raschet-massy-metalloprokata.html . Не обовязково повторювати вигляд існуючого калькулятора.
Функціональні вимоги:
- Локалізація (підтримка української та російської мов)
- Підтримка наступних видів прокату: труба (кругла, кваджратна, прямокутна), кутник (рівнополичний, нерівнополичний), арматура, балка (таврова, двотаврова), швелер(рівнополичний, нерівнополичний), полоса, лист, квадрат, круг.
- Підтримка наступних видів металу: (Вуглецева сталь, 17X18H9, 06XH28MДT, 12X17, 12X18H10T, 08X17H15M3T, 15X25T, 10X17H13M2T, дюралюміній, титан, мідь, латунь, свинець, золото)
- Кожен вид прокату має мати власну форму для задання параметрів (наприклад дя труби це радіус, та товщтина стінки).
- Форми параметрів мають мати валіфдацію
- Користувач обравши вид прокату, вид металу та заповнивши форму параметрів мусить отримати інформацію про масу 1 метра виробу.
- Навпроти форми параметрів має бути розміщений малюнок з вказівками щодо параметрів форми
Техічні вимоги:
- Результатом проекту має бути .js, .css та файли малюнків які можна легко інтегрувати віснуючий сайт.
- Малюнки мають бути у форматі .svg
Розрахунки:
В процесі розробки доведеться визначити формулу для розрахунку маси 1 метру прокату. Єдина різниця між формулами для різних видів прокату - формула площі розрізу.
Як приклад, розглянемо розрахунок маси 1 метра круглої труби діаметром (D) 500мм (0.5м) з товщиною стінки (T) 10мм (0.01м) виробленої з вуглецевої сталі (густиною (Ro) 7850 кг/м^3)
Загальна формула розрахунку маси:
Маса (m кг) прокату дорівнює площі розрізу (S м^2) помноженого на довжину (L м) помноженого на густину матеріалу (Ro кг/м^3).
m = S * L * Ro
Площа круга:
Формула площі круга S = Pi * r^2 = Pi * (D/2)^2 = Pi * D^2 / 4
Площа розрізу круглої труби:
Площа всього розрізу труби мінус площа отвору. Площа отвору це площа груга з діаметром (D - 2*T)
S = (Pi * D^2 / 4) - (Pi * (D - 2*T)^2 / 4) = Pi/4 * (D^2 - (D - 2*T)^2)
Підставимо значення в формулу m = S * L * Ro:
m = 3.14/4 * (0.5^2 - (0.5 - 2*0.01)^2) * 1 * 7850 = 0.785 * (0.25 - 0.2304) * 1 * 7850 = 120 кг.
Client's review of cooperation with freelancer
Calculator of metal massHe quickly and efficiently completed the project. The quality of the code exceeded all expectations. Communication was short and efficient.
Freelancer's review of cooperation with Vitalii Kravets
Calculator of metal massI liked to work with the client. Immediate communication, immediate communication. I recommend it.
![]()
-
Ready to Work
Ready to Work
Ready to Work
Ready to Work
Ready to Work
-
427 9 0 1 Hello, I can do the task on react.js.
We can discuss more in detail at L.S.
-
1482 28 0 I don’t know how to do it, I can do it on view.js. I don’t work with the design, so you’ll need a design.
-
143 2 1 Ready to take into work, you need the formulas by which the calculation is made
-
533 28 7 1 Ready to perform. Experience on the web over 7 years. Examples of work http://html-css.pp.ua
-
3698 111 3 5 Welcome to Vitaly!
Ready to implement this calculator, the algorithm of the calculator's work will be described in detail in the personal letter.
With respect, Yuri
-
12426 600 0 Hi, I will do it.
Is there a design? Formulas of calculations?
by: [email protected]
Telegram: https://t.me/EvgeniyVorobev
-
Щоб не писати всім окремо, спитаю тут: Хто готовий реалізувати завдання за допомогою React?
-
Current freelance projects in the category Javascript and Typescript
Optimization of Core Web Vitals (OpenCart) for Google PageSpeed — Mobile and PC versionsOrder description: We are looking for an experienced frontend developer/OpenCart specialist to optimize the loading speed of the website (categories and product cards) according to Google Core Web Vitals requirements. About the project: * CMS: OpenCart. * Specifics: The site… Content Management Systems, Javascript and Typescript ∙ 13 hours 58 minutes back ∙ 14 proposals |
Optimization of WordPress site speed
113 USD
We will send full details in private messages Goal Maximize website loading speed, especially on mobile devices. KPI (mandatory) After the work is completed, the following metrics must be achieved. Mobile Performance 90+ LCP less than 2.2 sec INP less than 200 ms CLS less than… HTML & CSS, Javascript and Typescript ∙ 1 day 9 hours back ∙ 62 proposals |
Integration of a service cost calculator on the Webflow site
330 USD
We are looking for a developer to integrate a ready-made service cost calculator into our website, created on Webflow. About the company We are engaged in: furniture assembly; TV mounting; mounting shelves, pictures, mirrors, and other items; moving help; heavy lifting; handyman… Javascript and Typescript, Web Programming ∙ 1 day 10 hours back ∙ 58 proposals |
Looking for an Odoo Developer — a solo developer with experience in Odoo 19 Community Edition.There is a working, well-designed project on Odoo 19 Community — CRM for a Ukrainian hotel, already in production-grade infrastructure. We do not plan to rewrite from scratch. We are looking for one person who will take over the project, maintain the working state, and lead it… Javascript and Typescript, Web Programming ∙ 3 days 11 hours back ∙ 2 proposals |
I am looking for an experienced Full Stack developer to create a SaaS service for online stores.Service idea: The client uploads a link to their product feed (XML or CSV). The service automatically retrieves the products, takes their photos, and creates new advertising images based on ready-made templates: price, discount, logo, promotional tags, etc. There should also be… Javascript and Typescript, Web Programming ∙ 4 days 16 hours back ∙ 87 proposals |