{"id":905,"date":"2025-10-09T18:52:55","date_gmt":"2025-10-09T13:22:55","guid":{"rendered":"https:\/\/hbtech.co.in\/hi\/?page_id=905"},"modified":"2025-12-06T12:22:52","modified_gmt":"2025-12-06T06:52:52","slug":"eduguide-chatbot","status":"publish","type":"page","link":"https:\/\/hbtech.co.in\/hi\/eduguide-chatbot\/","title":{"rendered":"EduGuide Chatbot"},"content":{"rendered":"<p>[eduguide_chatbot]<\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"calculator\">\n    <h1>Power Calculator<\/h1>\n    <form id=\"powerCalculator\">\n        <div class=\"form-group\">\n            <label for=\"type\">Type<\/label>\n            <select id=\"type\" name=\"type\">\n                <option value=\"single\">Single-Phase<\/option>\n                <option value=\"three\">Three-Phase<\/option>\n            <\/select>\n        <\/div>\n        <div class=\"form-group\">\n            <label for=\"voltage\">Voltage (V)<\/label>\n            <input type=\"number\" id=\"voltage\" name=\"voltage\" required>\n        <\/div>\n        <div class=\"form-group\">\n            <label for=\"current\">Current (I)<\/label>\n            <input type=\"number\" id=\"current\" name=\"current\" required>\n        <\/div>\n        <div class=\"form-group\">\n            <label for=\"powerFactor\">Power Factor (PF)<\/label>\n            <input type=\"number\" step=\"0.01\" id=\"powerFactor\" name=\"powerFactor\" required>\n        <\/div>\n        <div class=\"form-group\">\n            <button type=\"button\" id=\"calculateButton\">Calculate<\/button>\n        <\/div>\n    <\/form>\n    <div id=\"result\" class=\"result\"><\/div>\n<\/div>\n\n<script>\n    document.addEventListener('DOMContentLoaded', function() {\n        document.getElementById('calculateButton').addEventListener('click', function() {\n            const type = document.getElementById('type').value;\n            const voltage = parseFloat(document.getElementById('voltage').value);\n            const current = parseFloat(document.getElementById('current').value);\n            const powerFactor = parseFloat(document.getElementById('powerFactor').value);\n\n            \/\/ Validate inputs\n            if (isNaN(voltage) || voltage <= 0) {\n                document.getElementById('result').textContent = 'Please enter a valid positive voltage.';\n                return;\n            }\n\n            if (isNaN(current) || current <= 0) {\n                document.getElementById('result').textContent = 'Please enter a valid positive current.';\n                return;\n            }\n\n            if (isNaN(powerFactor) || powerFactor <= 0 || powerFactor > 1) {\n                document.getElementById('result').textContent = 'Please enter a valid power factor between 0 and 1.';\n                return;\n            }\n\n            let apparentPower, activePower, reactivePower;\n\n            if (type === 'single') {\n                apparentPower = voltage * current \/ 1000; \/\/ Apparent Power in kVA\n                activePower = apparentPower * powerFactor; \/\/ Active Power in kW\n                reactivePower = Math.sqrt(apparentPower ** 2 - activePower ** 2); \/\/ Reactive Power in kVar\n            } else if (type === 'three') {\n                apparentPower = Math.sqrt(3) * voltage * current \/ 1000; \/\/ Apparent Power in kVA\n                activePower = apparentPower * powerFactor; \/\/ Active Power in kW\n                reactivePower = Math.sqrt(apparentPower ** 2 - activePower ** 2); \/\/ Reactive Power in kVar\n            }\n\n            const wattPower = activePower * 1000; \/\/ Convert kW to Watts\n\n            document.getElementById('result').innerHTML = `\n                <p><strong>Calculated Power:<\/strong><\/p>\n                <ul>\n                    <li><strong>Watt Power:<\/strong> ${wattPower.toFixed(2)} W<\/li>\n                    <li><strong>Apparent Power:<\/strong> ${apparentPower.toFixed(2)} kVA<\/li>\n                    <li><strong>Active Power:<\/strong> ${activePower.toFixed(2)} kW<\/li>\n                    <li><strong>Reactive Power:<\/strong> ${reactivePower.toFixed(2)} kVar<\/li>\n                <\/ul>`;\n        });\n    });\n<\/script>\n\n<style>\n    .calculator {\n        background: #fff;\n        padding: 20px;\n        border-radius: 10px;\n        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);\n        max-width: 400px;\n        margin: 20px auto;\n    }\n    .calculator h1 {\n        font-size: 24px;\n        margin-bottom: 20px;\n        text-align: center;\n    }\n    .form-group {\n        margin-bottom: 15px;\n    }\n    .form-group label {\n        display: block;\n        font-weight: bold;\n        margin-bottom: 5px;\n    }\n    .form-group input, .form-group select {\n        width: 100%;\n        padding: 10px;\n        border: 1px solid #ccc;\n        border-radius: 5px;\n    }\n    .form-group button {\n        width: 100%;\n        padding: 10px;\n        background: #ff5733;\n        color: white;\n        border: none;\n        border-radius: 5px;\n        font-size: 16px;\n        cursor: pointer;\n    }\n    .form-group button:hover {\n        background: #0056b3;\n    }\n    .result {\n        margin-top: 20px;\n        font-size: 18px;\n        font-weight: bold;\n        text-align: center;\n    }\n    .result ul {\n        list-style: none;\n        padding: 0;\n    }\n    .result li {\n        margin: 5px 0;\n    }\n<\/style>\n","protected":false},"excerpt":{"rendered":"<p>Power Calculator Type Single-PhaseThree-Phase Voltage (V) Current (I) Power Factor (PF) Calculate<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-905","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>EduGuide Chatbot - HB Tech Hindi<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hbtech.co.in\/hi\/eduguide-chatbot\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"EduGuide Chatbot - HB Tech Hindi\" \/>\n<meta property=\"og:description\" content=\"Power Calculator Type Single-PhaseThree-Phase Voltage (V) Current (I) Power Factor (PF) Calculate\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hbtech.co.in\/hi\/eduguide-chatbot\/\" \/>\n<meta property=\"og:site_name\" content=\"HB Tech Hindi\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-06T06:52:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hbtech.co.in\/hi\/wp-content\/uploads\/2025\/03\/HB-Tech-Logo-512-x-512-px.png\" \/>\n\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hbtech.co.in\\\/hi\\\/eduguide-chatbot\\\/\",\"url\":\"https:\\\/\\\/hbtech.co.in\\\/hi\\\/eduguide-chatbot\\\/\",\"name\":\"EduGuide Chatbot - HB Tech Hindi\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hbtech.co.in\\\/hi\\\/#website\"},\"datePublished\":\"2025-10-09T13:22:55+00:00\",\"dateModified\":\"2025-12-06T06:52:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hbtech.co.in\\\/hi\\\/eduguide-chatbot\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hbtech.co.in\\\/hi\\\/eduguide-chatbot\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hbtech.co.in\\\/hi\\\/eduguide-chatbot\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hbtech.co.in\\\/hi\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"EduGuide Chatbot\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hbtech.co.in\\\/hi\\\/#website\",\"url\":\"https:\\\/\\\/hbtech.co.in\\\/hi\\\/\",\"name\":\"HB Tech\",\"description\":\"HB Tech: The Power Behind Progress\",\"publisher\":{\"@id\":\"https:\\\/\\\/hbtech.co.in\\\/hi\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hbtech.co.in\\\/hi\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hbtech.co.in\\\/hi\\\/#organization\",\"name\":\"HB Tech Hindi\",\"url\":\"https:\\\/\\\/hbtech.co.in\\\/hi\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hbtech.co.in\\\/hi\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hbtech.co.in\\\/hi\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/HB-Tech-Logo-512-x-512-px.png\",\"contentUrl\":\"https:\\\/\\\/hbtech.co.in\\\/hi\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/HB-Tech-Logo-512-x-512-px.png\",\"width\":512,\"height\":512,\"caption\":\"HB Tech Hindi\"},\"image\":{\"@id\":\"https:\\\/\\\/hbtech.co.in\\\/hi\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"EduGuide Chatbot - HB Tech Hindi","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hbtech.co.in\/hi\/eduguide-chatbot\/","og_locale":"en_US","og_type":"article","og_title":"EduGuide Chatbot - HB Tech Hindi","og_description":"Power Calculator Type Single-PhaseThree-Phase Voltage (V) Current (I) Power Factor (PF) Calculate","og_url":"https:\/\/hbtech.co.in\/hi\/eduguide-chatbot\/","og_site_name":"HB Tech Hindi","article_modified_time":"2025-12-06T06:52:52+00:00","og_image":[{"width":512,"height":512,"url":"https:\/\/hbtech.co.in\/hi\/wp-content\/uploads\/2025\/03\/HB-Tech-Logo-512-x-512-px.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/hbtech.co.in\/hi\/eduguide-chatbot\/","url":"https:\/\/hbtech.co.in\/hi\/eduguide-chatbot\/","name":"EduGuide Chatbot - HB Tech Hindi","isPartOf":{"@id":"https:\/\/hbtech.co.in\/hi\/#website"},"datePublished":"2025-10-09T13:22:55+00:00","dateModified":"2025-12-06T06:52:52+00:00","breadcrumb":{"@id":"https:\/\/hbtech.co.in\/hi\/eduguide-chatbot\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hbtech.co.in\/hi\/eduguide-chatbot\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/hbtech.co.in\/hi\/eduguide-chatbot\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hbtech.co.in\/hi\/"},{"@type":"ListItem","position":2,"name":"EduGuide Chatbot"}]},{"@type":"WebSite","@id":"https:\/\/hbtech.co.in\/hi\/#website","url":"https:\/\/hbtech.co.in\/hi\/","name":"HB Tech","description":"HB Tech: The Power Behind Progress","publisher":{"@id":"https:\/\/hbtech.co.in\/hi\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hbtech.co.in\/hi\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hbtech.co.in\/hi\/#organization","name":"HB Tech Hindi","url":"https:\/\/hbtech.co.in\/hi\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hbtech.co.in\/hi\/#\/schema\/logo\/image\/","url":"https:\/\/hbtech.co.in\/hi\/wp-content\/uploads\/2025\/03\/HB-Tech-Logo-512-x-512-px.png","contentUrl":"https:\/\/hbtech.co.in\/hi\/wp-content\/uploads\/2025\/03\/HB-Tech-Logo-512-x-512-px.png","width":512,"height":512,"caption":"HB Tech Hindi"},"image":{"@id":"https:\/\/hbtech.co.in\/hi\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/hbtech.co.in\/hi\/wp-json\/wp\/v2\/pages\/905","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hbtech.co.in\/hi\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/hbtech.co.in\/hi\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/hbtech.co.in\/hi\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hbtech.co.in\/hi\/wp-json\/wp\/v2\/comments?post=905"}],"version-history":[{"count":2,"href":"https:\/\/hbtech.co.in\/hi\/wp-json\/wp\/v2\/pages\/905\/revisions"}],"predecessor-version":[{"id":930,"href":"https:\/\/hbtech.co.in\/hi\/wp-json\/wp\/v2\/pages\/905\/revisions\/930"}],"wp:attachment":[{"href":"https:\/\/hbtech.co.in\/hi\/wp-json\/wp\/v2\/media?parent=905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}