Exploring Kinetic Energy - Types, Examples, Formula Derivation (2024)

As water falls from a higher elevation in a waterfall, its potential energy is gradually transformed into kinetic energy. The flowing water gains speed and kinetic energy due to gravity, which can then be used to generate hydroelectric power.

Yo-Yo Transformation

A yo-yo provides an interesting demonstration of the transformation of kinetic energy. When a person holds a yo-yo in their hand, the yo-yo is at rest, and all the energy is stored in the ball in the form of potential energy. As the person releases the yo-yo, gravity pulls it downward, converting the potential energy into kinetic energy. The yo-yo ball accelerates as it descends, gaining speed and kinetic energy. At the bottom of the yo-yo’s path, the energy is entirely in the form of kinetic energy.

However, the transformation doesn’t end there. As the yo-yo reaches the end of its descent, it starts to climb back up due to the string’s tension. The kinetic energy of the yo-yo ball begins to transform back into potential energy as it gains height. The process repeats as the yo-yo moves up and down, with continuous conversions between potential and kinetic energy.

Kinetic Energy Formula

The formula of kinetic energy is an essential tool in understanding the energy associated with an object’s motion. The equation for kinetic energy is given by:

\(\begin{array}{l}KE=\frac{1}{2}mv^{2}\end{array} \)

In this equation, KE represents the kinetic energy of the object. The symbol “m” refers to the mass of the object, while “v” represents its velocity.

The equation reveals that kinetic energy is directly proportional to both the mass and the square of the velocity of the object. This means that as either the mass or the velocity increases, the kinetic energy will increase as well. Moreover, the relationship between kinetic energy and velocity is particularly noteworthy because the velocity is squared in the formula. This implies that even small changes in velocity can have a significant impact on the kinetic energy of an object.

To calculate the kinetic energy of an object using this formula, you need to know the mass of the object and its velocity. First, square the velocity of the object, then multiply it by half of the object’s mass. The resulting value will give you the object’s kinetic energy.

Why is Kinetic Energy a Scalar Quantity?

Kinetic energy is a scalar quantity with no associated direction. It represents the magnitude of energy possessed by an object. While velocity, which is a vector quantity, has both magnitude and direction, the calculation of kinetic energy only considers the magnitude of velocity. The kinetic energy depends on the mass and the square of the magnitude of velocity. The squaring of the velocity term ensures that kinetic energy is always positive, regardless of the direction of motion. Therefore, even though velocity is a vector quantity, the calculation of kinetic energy focuses on magnitude, making it a scalar quantity.

Deriving Kinetic Energy Formula

The formula for calculating kinetic energy is an essential tool in understanding the energy associated with an object’s motion. The equation for kinetic energy is given by:

\(\begin{array}{l} KE = \frac{1}{2} mv^2 \end{array} \)

To begin, let’s consider a particle of mass “m” moving with a velocity “v.” The kinetic energy of this particle can be defined as the work done to accelerate the particle from rest to its current velocity. According to the work-energy theorem, the work done on an object is equal to the change in its kinetic energy.

The work done on the particle is given by the equation:

\(\begin{array}{l} Work = Force\times Distance \end{array} \)


(i) In the case of constant force, the work done can be calculated as:

\(\begin{array}{l} Work = Force\times Distance \end{array} \)

Now, let’s express the force in terms of mass and acceleration. According to Newton’s second law of motion, force (F) is equal to mass (m) multiplied by acceleration (a). Since the particle is moving with a constant velocity, its acceleration is zero. Therefore, the force acting on the particle is zero.
Substituting the force into the work equation, we have:

\(\begin{array}{l} Work =0\times Displacement \end{array} \)

\(\begin{array}{l}Work= 0 \end{array} \)

This means that no work is done on the particle as it moves with a constant velocity. Consequently, there is no change in its kinetic energy.

(ii) In the case when the particle is initially at rest and then accelerated to a final velocity “v” by an external force.

In this case, work is done on the particle to change its velocity.

The work done on the particle is equal to the change in its kinetic energy. So, we can write:

\(\begin{array}{l}Work= Change\,in\,Kinetic\,Energy\end{array} \)

Using the work formula:

\(\begin{array}{l}Work = Force \times Displacement\end{array} \)

The force acting on the particle is equal to the mass of the particle (m) multiplied by its acceleration (a). Since the initial velocity is zero, the final velocity is “v,” and the displacement is “d,” we have:

\(\begin{array}{l}Work = (m \times a) \times d\end{array} \)

Now, recall that the formula for acceleration (a) is given by:

\(\begin{array}{l}a = \frac{Change\,in\,Velocity}{Time}\end{array} \)

Since the initial velocity is zero, the change in velocity is “v” and the time taken is “t,” we can rewrite the equation as:

\(\begin{array}{l}a =\frac{ v}{ t}\end{array} \)

Substituting this back into the work equation, we have:

\(\begin{array}{l}Work = (m × (v / t)) × d\end{array} \)

\(\begin{array}{l}Work =(m \times v ) \frac{d}{t}\end{array} \)

The quantity (d / t) represents the average velocity (vavg) of the particle. So, we can rewrite the equation as:

\(\begin{array}{l}Work = m \times v \times v_{avg}\end{array} \)

Now, the average velocity (vavg) is equal to half of the final velocity (v), as the particle starts from rest and reaches a final velocity “v.” Therefore, we can further simplify the equation as:

\(\begin{array}{l}Work = m \times v \times (\frac{v}{2})\end{array} \)

\(\begin{array}{l}Work = \frac{1}{2} \times m \times v^2\end{array} \)

Finally, we equate the work done to the change in kinetic energy:

\(\begin{array}{l}(\frac{1}{2}) \times m \times v^2 = Change\, in\,Kinetic\,Energy\end{array} \)

Hence, we have derived the equation for kinetic energy:

\(\begin{array}{l}K.E = (1/2) \times m \times v^2\end{array} \)

This equation relates the kinetic energy (K.E) of an object to its mass (m) and velocity (v). It demonstrates that the kinetic energy is directly proportional to the square of the velocity and the mass of the object.

Kinetic Energy Calculation

1. Calculate the kinetic energy of a 200 kg object that is moving at a speed of 15 m/s.
Solution:

The kinetic energy of the body can be calculated using the following equation:

\(\begin{array}{l}KE=\frac{1}{2}mv^2\end{array} \)

Substituting the values in the above equation, we get

\(\begin{array}{l}KE=\frac{1}{2}(200\,kg)(15\,m/s)^2\end{array} \)

\(\begin{array}{l}KE=45000\,J\,or\,45\,KJ\end{array} \)

2. Calculate the mass of the object moving at a speed of 40 m/s and having a kinetic energy of 1500 J.
Solution:

Rearranging the kinetic energy equation, we get

\(\begin{array}{l}m=\frac{2KE}{v^2}\end{array} \)

Substituting the values in the above equation, we get,

\(\begin{array}{l}m=\frac{2\times 1500}{40^2}=1.87\,kg\end{array} \)

Types of Kinetic Energry

There are several types of kinetic energy that can be observed in different contexts. Some of the common types include:

Translational Kinetic Energy

This refers to the energy associated with the linear motion of an object. It is the most familiar type of kinetic energy and is observed when objects move in a straight line.

Rotational Kinetic Energy

This type of kinetic energy is exhibited by objects that are rotating or spinning around an axis. Examples include spinning tops, wheels, or rotating machinery.

Vibrational Kinetic Energy

Vibrational kinetic energy is related to the oscillatory motion of particles within a system. It is observed in vibrating strings, molecules, or atoms that are in a state of vibration.

Thermal Kinetic Energy

Thermal kinetic energy is associated with the random motion of particles within a substance. It is responsible for the temperature and heat transfer in a material. The faster the particles move, the higher the thermal kinetic energy.

Electrical Kinetic Energy

Electrical kinetic energy is related to the movement of charged particles, such as electrons, in an electric current. It is utilised in various electrical devices and is a form of energy transfer.

These different types of kinetic energy demonstrate the wide range of phenomena where energy is associated with the motion of objects or particles. Each type of kinetic energy has unique characteristics and plays a role in different areas of physics and everyday life.

Related Articles

  • Elastic Collision
  • Potential Energy
  • Work Energy Theorem
  • Rotational Kinetic Energy

Overview of Kinetic Energy

Kinetic Energy DefinitionKinetic energy is the measure of the work an object can do by the virtue of its motion.
Kinetic Energy Equation

\(\begin{array}{l}KE=\frac{1}{2}mv^{2}\end{array} \)

Kinetic Energy UnitsThe SI unit of kinetic energy is Joules which is equal to kg-m2s-2
Kinetic Energy ExamplesA river flowing at a certain speed exhibits kinetic energy as the water possesses both velocity and mass.
Kinetic Energy TypesTranslational Kinetic Energy, Rotational Kinetic Energy, Vibrational Kinetic Energy, Thermal Kinetic Energy, Electrical Kinetic Energy

Difference Between Kinetic Energy and Potential Energy

Kinetic energyPotential energy
Kinetic energy is a form of energy possessed by an object due to its motion.Potential energy is the form of energy possessed by an object due to its position or state.
The formula used to calculate kinetic energy is

\(\begin{array}{l}KE=\frac{1}{2}mv^{2}\end{array} \)

The formula used to calculate potential energy is

\(\begin{array}{l}mgh\end{array} \)

Vibrational energy is an example of kinetic energyGravitational potential energy is an example of potential energy

Difference between Kinetic and Potential Energy

For a more captivating exploration of kinetic energy and potential energy, we encourage you to watch the videos below. These videos delve into the concepts of kinetic energy and potential energy, unravelling their intricacies and showcasing their real-world applications.

Frequently Asked Questions – FAQs

Q1

What is the definition of kinetic energy?

The kinetic energy is the measure of the work an object can do by virtue of its motion.

Q2

Can the kinetic energy be negative?

The kinetic energy cannot be negative because the square of the speed gives a non-negative number, and the mass cannot be negative.

Q3

When is the kinetic energy maximum?

The kinetic energy is maximum when the potential energy is minimum, and this occurs when the velocity is maximum and the mass is at the equilibrium position.

Q4

What happens to the kinetic energy when the speed decreases?

When the speed decreases, the kinetic energy will be transformed into potential energy, thermal energy or other forms of energy.

Q5

How is the kinetic energy different from the potential energy?

The energy possessed by the body by virtue of its position is known as potential energy. The energy possessed by the body by virtue of its motion is known as kinetic energy.

Enhance your understanding of Work and Energy in Class 9 Physics with this engaging video episode. Join us as we explore insightful Mind Maps and participate in a stimulating Menti Quiz, designed to enhance your preparation for the final exam.

Exploring Kinetic Energy - Types, Examples, Formula Derivation (1)

Stay tuned to BYJU’S and Fall in Love with Learning!

Test your knowledge on Kinetic energy

Q5

Exploring Kinetic Energy - Types, Examples, Formula Derivation (2)

Put your understanding of this concept to test by answering a few MCQs. Click ‘Start Quiz’ to begin!

Select the correct answer and click on the “Finish” button
Check your score and answers at the end of the quiz

Congrats!

Visit BYJU’S for all Physics related queries and study materials

Your result is as below

0 out of 0 arewrong

0 out of 0 are correct

0 out of 0 are Unattempted

Login To View Results

Did not receive OTP?

Request OTP on

Login To View Results

PHYSICS Related Links
About Hydrosphere Derivation Of Young's Double Slits Equation
Class 11 Physics Practical Manual Properties Of Magnet
Electromagnetic Radiation Definition What Is Conservation Of Natural Resources
What Is The Scientific Method How To Save Environment From Pollution
Measurement Size Of Molecule Oleic Acid Difference Between Meteor And Meteorite

Comments

Leave a Comment

  1. Exploring Kinetic Energy - Types, Examples, Formula Derivation (4)
    rura February 20, 2021 at 11:43 pm

    Great help provided by teachers

    Reply

Exploring Kinetic Energy - Types, Examples, Formula Derivation (5)

",i.after(m)}}else{i.find('button[type="submit"]').attr("disabled",!0).html("Submitting..");var p=i.serialize();p+="&current_url="+escape(C_URL),jQuery.post(CONFIG.apis.db.popup_form_api,p,function(e,t){if(e)if(e=JSON.parse(e),e.success){if(CS_UTILITIES.removeToastMessage("page-form-popup-and-widget-0"),i.addClass("hidden"),i.find(".register-form-widget-success-block").length)i.find(".register-form-widget-success-block").removeClass("hidden");else{var r='

';"Popup"==s?(r+='

',r+="
"):(r+='

',jQuery(".join-byjus-form-widget").find(".widget-content").children(":first-child").addClass("text-center")),jQuery("#register-modal-widget").addClass("submitted-successfully"),r+="

Thank you for connecting with BYJU'S!

",r+="
",r+=" Communications regarding lectures & crash courses will be shared with you soon.",r+="

",i.after(r)}"register-popup-form-widget"==i.attr("id")&&MAIN_UTILITIES.setCookie("pagebformypopupj",1,15),GA_FLAG&&ga("send","event",INSTANCE_NAME+" "+s+" Data Form Successful","Form Submission Data Stored","URL: "+C_URL)}else i.find('button[type="submit"]').attr("disabled",!1).html(d),CS_UTILITIES.addToastMessage("page-form-popup-and-widget-0",e.message),GA_FLAG&&ga("send","event",INSTANCE_NAME+" "+s+" Data Form Failed","Form Submission Data Failed","URL: "+C_URL);else i.find('button[type="submit"]').attr("disabled",!1).html(d),CS_UTILITIES.addToastMessage("page-form-popup-and-widget-0","Please try after sometime!")})}}else e.preventDefault(),a.each(function(e,t){jQuery(t).blur()});GA_FLAG&&ga("send","event","Form Data "+s+" Button Click: "+FORM_NAME,"On Submitting Form","Form Values: "+jQuery(t).serialize())}};

',t=document.getElementsByTagName("HEAD")[0],r=document.createElement("link");r.rel="stylesheet",r.type="text/css",r.href="/wp-content/themes/html5blank-stable/styles/learn-portal-modal.min.css",t.appendChild(r),jQuery("body").append(o),jQuery("[learn-login-modal]").modal()}return!1}n=LP_LOGIN_POPUP_URL+`/byjus-classes?referrer=${encodeURIComponent(e.toString())}`;window.open(n,"_self")})),jQuery("[data-dropdown-more]").click((function(){-1!==jQuery("[data-dropdown-more]").text().indexOf("More")?(jQuery("[data-dropdown-less]").slideDown(),jQuery("[data-dropdown-more]").text("Less")):(jQuery("[data-dropdown-less]").slideUp(),jQuery("[data-dropdown-more]").text("More"))}))}})),document.querySelectorAll('[data-toggle="class"]').forEach((function(e,a){e.addEventListener("click",(function(e){e.preventDefault();var a=this.getAttribute("data-class-name"),n=document.querySelector(this.getAttribute("data-class-target"));if(n.className){var o=n.className.split(" ");if(-1!=o.indexOf(a)){var t=o.indexOf(a);o.splice(t,1)}else o.push(a);n.className=o.join(" ")}}))}));var isMobileTablet=navigator.isMobileTablet;function getParamValueByName(e,a){e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^]*)|&|#|$)").exec(a);return n&&n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):""}function replaceAll(e,a,n){return n.split(e).join(a)}function getParameterByName(e,a){a=a?"?"+a:window.location.search;var n=new RegExp("[?&]"+e.replace(/\[/g,"\\[").replace(/\]/g,"\\]")+"(?:=([^]*))?(?:[]|$)").exec(a);return n?n[1]?decodeURIComponent(n[1].replace(/\+/g," ")):"":null}isMobileTablet&&(document.querySelectorAll(".big-menu").forEach((function(e,a){const n=e.getElementsByClassName("primary-dropdown-menu-icon");e.addEventListener("click",(function(e){if(window.matchMedia("(min-width: 768px)").matches||0===n.length){this.classList.toggle("menu-open"),$(this).siblings().removeClass("menu-open")}}));for(const a of n)a.addEventListener("click",(function(a){a.stopPropagation(),e.classList.toggle("menu-open"),$(e).siblings().removeClass("menu-open")}))})),document.querySelectorAll(".sub").forEach((function(e,a){e.addEventListener("click",(function(e){jQuery(this).siblings().removeClass("menu-open-sub"),this.classList.toggle("menu-open-sub"),jQuery(this).parent().siblings().children("ul").toggle(!1),e.stopPropagation()}))}))),$(".sub").mouseenter((function(){$(this).find("ul").height()<340&&$(this).find("ul").addClass("right-popopen")})),$(".primary-dropdown-menu>ul>.sub>ul>.sub").mouseenter((function(){$(this).find("span").length&&$(this).find("ul").addClass("more-less-open")}));var isOpenDesktop={isOpen:!1,className:"data-header-search"},isOpenMobile={isOpen:!1,className:"data-header-search-mobile"};function disableSearch(e){return jQuery("["+e+"]").empty(),jQuery("["+e+"]").addClass("hidden"),jQuery("["+e+"]").removeClass("header-form-content-enable"),jQuery(".primary-top-navbar").removeClass("primary-top-navbar-search"),!1}function enableSearch(e,a){if(!1===a)return jQuery("["+e+"]").removeClass("hidden"),jQuery("["+e+"]").addClass("header-form-content-enable"),jQuery(".primary-top-navbar").addClass("primary-top-navbar-search"),jQuery("["+e+"]").append('

'),jQuery("input[name='s']").focus(),!0;var n=$(".header-searchbox"),o=$("[data-header-search-input]").val();return 0===(o=jQuery.trim(o).length)?(jQuery("["+e+"]").empty(),jQuery("["+e+"]").addClass("hidden"),jQuery("["+e+"]").removeClass("header-form-content-enable"),jQuery(".primary-top-navbar").removeClass("primary-top-navbar-search"),!1):(n.submit(),!0)}if(jQuery(document).ready((function(){var e=jQuery(".search-icon"),a=jQuery(".search-icon-mobile");e.click((function(){isOpenDesktop.isOpen=enableSearch(isOpenDesktop.className,isOpenDesktop.isOpen)})),a.click((function(){isOpenMobile.isOpen=enableSearch(isOpenMobile.className,isOpenMobile.isOpen)})),jQuery(".header-form-content").click((function(e){e.stopPropagation()}))})),jQuery(document).on("click",(function(e){jQuery(e.target).closest(".search-icon").length||jQuery(e.target).closest(".search-icon-mobile").length||(1==isOpenDesktop.isOpen?isOpenDesktop.isOpen=disableSearch(isOpenDesktop.className):1==isOpenMobile.isOpen&&(isOpenMobile.isOpen=disableSearch(isOpenMobile.className)))})),"jee"==INSTANCE_NAME||"neet"==INSTANCE_NAME){jQuery(".primary-top-navbar .navbar-brand img").attr("src","https://cdn1.byjus.com/byjusweb/img/akash-byjus-jee-neet-assets/akash_byjus_logo_22_6_21.jpg"),jQuery(".primary-navbar-header-collapse .primary-top-navbar-collapse-icon img.primary-mbl-logo").attr("src","https://cdn1.byjus.com/byjusweb/img/akash-byjus-jee-neet-assets/akash_byjus_logo_22_6_21.jpg"),jQuery(".primary-top-navbar .navbar-brand img").addClass("ak-bj-logo");var byjusHomeRedirectBtnDesktop=jQuery(".primary-tooltip"),byjusHomeRedirectBtnMobile=jQuery(".call-icon-mobile").parent();jQuery(".navbar-brand").attr("href","https://byjus.com"),jQuery(".primary-navbar-header .navbar-brand img").attr("src","https://cdn1.byjus.com/byjusweb/img/akash-byjus-jee-neet-assets/akash_byjus_logo_22_6_21.jpg"),jQuery(".primary-top-navbar .navbar-brand img").addClass("ak-bj-logo")}

  • Share
  • ShareShare
  • Call Us

Register with BYJU'S & Download Free PDFs

Register with BYJU'S & Watch Live Videos

"),!1):(a.removeClass("input-error"),a.addClass("input-valid"),!0)}function phoneNumberValidation(e,r,s,a,i,n,o=""){MOBILE_OTP_VALIDATER.isPhoneNumberVerified=!1,phoneNumberFromSendOtpResponse="";var t,d,l,p,_,T=jQuery(e),m=T.find("[data-phone-number-input]"),u=T.find("[data-otp-number-input]"),f=T.find("[data-otp-input-field-voice-call-option]"),E=T.find("[data-send-otp]"),A=T.attr("name"),O=jQuery(e).find("[data-otp-validated-img]"),v=jQuery("[data-remaining-fields-container]"),c="",g={};E.click(function(){if("undefined"!=typeof USER_DETAILS_INPUT_VALIDATORS?USER_DETAILS_INPUT_VALIDATORS.phoneValidation(m):UTILITIES.phoneValidation(m)){var e=m.val(),p={phoneNumber:e};if(""==o){if("IAS_QUESTIONS"==n?(c="DEFAULT_IAS_USER_LOCALSTORAGE",g=DEFAULT_IAS_USER_DETAILS):"blc-form"===n||"job-posting-form"===n||"sales-acknowledgement-form"===n||"service-counsel"===n||"blc-popup-form"===n?g.verifyKey=generateRandomID():"open-close-rank-jee-main"==n||"jee-neet-talk-to-counselor-form"==n||"sidebar-join-byjus-form"==n||"cat-rank-predictor"===n||"ias-register-now-pop-up-form"==n||"cat-register-now-pop-up-form"==n||(c="DEFAULT_COMMENT_BOX_LOCALSTORAGE",g=DEFAULT_USER_DETAILS),null!==getStorage(c))if(userFromStorage=JSON.parse(getStorage(c)),userFromStorage.verifyKey){var _=new Date,T=("0"+_.getFullYear()).slice(-2)+""+("0"+(_.getMonth()+1)).slice(-2)+("0"+_.getDate()).slice(-2);userFromStorage.verifyKey.substring(17,23)==T?g.verifyKey=userFromStorage.verifyKey:g.verifyKey=generateRandomID()}else g.verifyKey=generateRandomID();else"blc-form"===n||"job-posting-form"===n||"sales-acknowledgement-form"===n||"service-counsel"===n||"blc-popup-form"===n||("open-close-rank-jee-main"==n?(g.verifyKey=generateRandomID(),MOBILE_OTP_VALIDATER.storageSessionId=g.verifyKey):g.verifyKey=generateRandomID());"IAS_QUESTIONS"==n?DEFAULT_IAS_USER_DETAILS.verifyKey=g.verifyKey:"blc-form"===n||"job-posting-form"===n||"sales-acknowledgement-form"===n||"service-counsel"===n||"blc-popup-form"===n||"open-close-rank-jee-main"==n||"open-close-rank-neet-main"==n||"jee-neet-talk-to-counselor-form"==n||"sidebar-join-byjus-form"==n||"ias-register-now-pop-up-form"==n||"cat-register-now-pop-up-form"==n||(DEFAULT_USER_DETAILS.verifyKey=g.verifyKey),p.verifyKey=g.verifyKey}o?p.page=A:p.type=A,m.addClass("sending");var I=30;E.attr("disabled",!0),E.html('

Resend in '+I+"sec.

"),t=setInterval(function(){--I,I<=0&&(clearInterval(t),E.attr("disabled",!1),E.html("Resend OTP"),m.siblings(".input-error-msg").remove()),E.find("[data-otp-active-timer] span").html(I)},1e3),u.attr("disabled",!1).focus();var D=o?MOBILE_OTP_VALIDATER.apis.bcasSendOtp:MOBILE_OTP_VALIDATER.apis.sendOtp,L=o?0:"undefined"==typeof WT_OTP_ENCRYPTION_ENABLED_VAL||"undefined"==typeof WT_OTP_ENCRYPTED_DATA_AUTH_TOKEN_VAL||"undefined"==typeof WT_OTP_ENCRYPTED_DATA_KEY_VAL||"undefined"==typeof OTP_ENCRYPT_PAYLOAD_WT||0==WT_OTP_ENCRYPTION_ENABLED_VAL||""==WT_OTP_ENCRYPTED_DATA_AUTH_TOKEN_VAL||""==WT_OTP_ENCRYPTED_DATA_KEY_VAL?0:WT_OTP_ENCRYPTION_ENABLED_VAL;0==L||1==L&&OTP_ENCRYPT_PAYLOAD_WT.isTokenValid(OTP_ENCRYPT_PAYLOAD_WT.getToken())?jQuery.ajax({type:"POST",url:D,data:1==L?JSON.parse(OTP_ENCRYPT_PAYLOAD_WT.sendEncryptedData(JSON.stringify(p))):p,success:function(o,p,_){d=_.getResponseHeader("isverified"),l=_.getResponseHeader("reference-id"),MOBILE_OTP_VALIDATER.verifyToken="Bearer "+_.getResponseHeader("reference-id"),MOBILE_OTP_VALIDATER.verifyReference=_.getResponseHeader("reference-id"),MOBILE_OTP_VALIDATER.mobileNumber=e,o&&"error"===o.status?CS_UTILITIES.addToastMessage(0,"Something went wrong. Please try after some time"):o?"true"===d?(m.after('

'+o.message+"

"),E.addClass("d-none").addClass("hidden"),f.addClass("d-none").addClass("hidden"),m.attr("disabled",!0),m.addClass("otp-verified"),u.attr("disabled",!0),m.siblings(".input-error-msg").remove(),MOBILE_OTP_VALIDATER.isPhoneNumberVerified=!0,O.removeClass("hidden"),clearInterval(t),E.html("Send OTP"),E.attr("disabled",!1),"PDF_DOWNLOAD"===n&&v.length>0?(GA_FLAG&&ga("send","event","PDF downloaded successfully","PDF downloaded successfully","PDF downloaded successfully"),inputFieldManaged(e,r,s,a,i,n),v.removeClass("hidden")):"COMMENT"==n?inputFieldManaged(e,r,s,a,i,n):"alliance-form"===n?enableSliderInAllianceForm():"COMMENT"==n?inputFieldManaged(e,r,s,a,i,n):"open-close-rank-jee-main"===n?userCheckIfAlreadyExist(e,r,s,a,i,n):"IAS_QUESTIONS"==n&&void 0!==r&&void 0!==s?inputFieldManaged(e,r,s,a="",i="",n):"YOUTUBE_LIVE_VIDEO_REDIRECTION"===n&&v.length>0?(GA_FLAG&&ga("send","event","YouTube live video redirection is successful","YouTube live video redirection is successful","YouTube live video redirection is successful"),inputFieldManaged(e,r,s,a,i,n),v.removeClass("hidden")):"PDF_DOWNLOAD_LEAD_FORM_MODAL"===n&&v.length>0&&v.removeClass("hidden")):(f.removeClass("d-none").removeClass("hidden"),phoneNumberFromSendOtpResponse=o.number,E.addClass("resend"),MOBILE_OTP_VALIDATER.isPhoneNumberVerified=!1,m.after('

OTP has been Sent to '+e+"

"),"PDF_DOWNLOAD"===n&&v.length>0||"COMMENT"==n||"VIDEO"==n||"alliance-form"==n||"open-close-rank-jee-main"===n||"YOUTUBE_LIVE_VIDEO_REDIRECTION"===n&&v.length>0||"PDF_DOWNLOAD_LEAD_FORM_MODAL"===n&&v.length):CS_UTILITIES.addToastMessage(0,"Something went wrong. Please try after some time")},error:function(e,r,s){m.removeClass("sending"),m.siblings(".input-error-msg").remove(),m.after('

'+e.responseJSON.message+"

")}}):CS_UTILITIES.addToastMessage(0,"Session Expired")}else phoneNumberValidation(m)}),u.on("input",function(){if(!MOBILE_OTP_VALIDATER.isPhoneNumberVerified&&(u.siblings(".input-error-msg").remove(),this.isValid=otpValidation(u),this.isValid)){params={phoneNumber:phoneNumberFromSendOtpResponse,otp:u.val()},o?params.page=A:(params.type=A,params.Authorization="Bearer "+l),m.siblings(".input-error-msg").remove(),u.siblings(".input-error-msg").remove(),u.removeClass("input-error");var e=o?MOBILE_OTP_VALIDATER.apis.bcasVerifyOtp:MOBILE_OTP_VALIDATER.apis.verifyOtp,d=o?0:"undefined"==typeof WT_OTP_ENCRYPTION_ENABLED_VAL||"undefined"==typeof WT_OTP_ENCRYPTED_DATA_AUTH_TOKEN_VAL||"undefined"==typeof WT_OTP_ENCRYPTED_DATA_KEY_VAL||"undefined"==typeof OTP_ENCRYPT_PAYLOAD_WT||0==WT_OTP_ENCRYPTION_ENABLED_VAL||""==WT_OTP_ENCRYPTED_DATA_AUTH_TOKEN_VAL||""==WT_OTP_ENCRYPTED_DATA_KEY_VAL?0:WT_OTP_ENCRYPTION_ENABLED_VAL;0==d||1==d&&OTP_ENCRYPT_PAYLOAD_WT.isTokenValid(OTP_ENCRYPT_PAYLOAD_WT.getToken())?jQuery.ajax({type:"POST",url:e,data:1==d?JSON.parse(OTP_ENCRYPT_PAYLOAD_WT.sendEncryptedData(JSON.stringify(params))):params,beforeSend:function(e){o&&e.setRequestHeader("Authorization","Bearer "+l)},success:function(e,d,l){if(o)E.addClass("d-none").addClass("hidden"),f.addClass("d-none").addClass("hidden"),m.attr("disabled",!0),m.addClass("otp-verified"),u.attr("disabled",!0),m.siblings(".input-error-msg").remove(),O.removeClass("hidden"),MOBILE_OTP_VALIDATER.isPhoneNumberVerified=!0,clearInterval(t),E.html("Send OTP"),E.attr("disabled",!1),"alliance-form"===n&&enableSliderInAllianceForm();else if(p=l.getResponseHeader("otpverified"),"true"===p)if(E.addClass("d-none").addClass("hidden"),f.addClass("d-none").addClass("hidden"),m.attr("disabled",!0),m.addClass("otp-verified"),u.attr("disabled",!0),m.siblings(".input-error-msg").remove(),O.removeClass("hidden"),MOBILE_OTP_VALIDATER.isPhoneNumberVerified=!0,clearInterval(t),"blc-form"!=n&&"job-posting-form"!==n&&"service-counsel"!==n||setTimeout(function(){automateApplyNow()},1e3),E.html("Send OTP"),E.attr("disabled",!1),"PDF_DOWNLOAD"===n&&v.length>0)v.removeClass("hidden"),inputFieldManaged(m.val(),r,s,a,i,n);else if("COMMENT"==n)inputFieldManaged(m.val(),r,s,a,i,n);else if("VIDEO"==n)inputFieldManaged(m.val(),r,s,a,i,n);else if("IAS_QUESTIONS"===n)inputFieldManaged(m.val(),r,s,a="",i="",n);else if("COMMENT"==n)r.removeClass("hidden"),s.removeClass("hidden"),a.removeClass("hidden"),i.removeClass("hidden");else if("open-close-rank-jee-main"===n)userCheckIfAlreadyExist(m.val(),r,s,a,i,n);else if("YOUTUBE_LIVE_VIDEO_REDIRECTION"===n&&v.length>0)v.removeClass("hidden"),inputFieldManaged(m.val(),r,s,a,i,n);else if("PDF_DOWNLOAD_LEAD_FORM_MODAL"===n&&v.length>0)v.removeClass("hidden");else if("jee-neet-talk-to-counselor-form"==n)jQuery("[data-phone-number-input]").removeClass("input-error"),jQuery("[data-otp-validated-img]").removeClass("hidden");else if("sidebar-join-byjus-form"==n){let e=jQuery("#join-byjus-form-widget");e.find("[data-phone-number-input]").removeClass("input-error"),e.find("[data-phone-number-input]").addClass("input-valid"),e.find("[data-otp-validated-img]").removeClass("hidden")}else"ias-register-now-pop-up-form"==n?(jQuery("[data-phone-number-input]").removeClass("input-error"),jQuery("[data-otp-validated-img]").removeClass("hidden")):"cat-register-now-pop-up-form"==n&&(jQuery("[data-phone-number-input]").removeClass("input-error"),jQuery("[data-otp-validated-img]").removeClass("hidden"));else u.removeClass("input-error"),u.siblings(".input-error-msg").remove(),u.addClass("input-error"),u.after('

'+e.message+"

");"INTERACTIVE_QUIZ"==n&&checkexistinguser(params.phoneNumber,"","","","","INTERACTIVE_QUIZ")},error:function(e,r,s){var a;a=void 0!==e.responseJSON?e.responseJSON.message:e.statusText,u.removeClass("input-error"),u.siblings(".input-error-msg").remove(),u.addClass("input-error"),u.after('

'+a+"

")}}):CS_UTILITIES.addToastMessage(0,"Session Expired")}});var I=T.find("[data-otp-voice-call-cta]");I.on("click",function(){var e=jQuery(this),r=30;e.find("span").html(" "+r+"sec."),e.attr("disabled",!0),u.attr("disabled",!1).focus(),_=setInterval(function(){--r,r<=0?(clearInterval(_),e.find("span").html("Voice Call"),e.attr("disabled",!1)):e.find("span").html(" "+r+"sec.")},1e3)})}var MOBILE_OTP_VALIDATER={isPhoneNumberVerified:!1,isUserAlreadyExist:!1,mobileNumber:"",verifyToken:"",verifyReference:"",apis:{register:BCAS_API_BASE_URL+"api/acs/v1/register",sendOtp:COMMON_UTILS_ENDPOINT_KEY+"otp",pageInstanse:"ask-question-popup",verifyOtp:COMMON_UTILS_ENDPOINT_KEY+"otp-verify",bcasSendOtp:BCAS_API_BASE_URL+"api/acs/v2/send-otp",bcasVerifyOtp:BCAS_API_BASE_URL+"api/acs/v2/verify-otp",voiceOtp:BCAS_API_BASE_URL+"api/acs/voice"},storageSessionId:""};

')))}):d.click(function(e){e.preventDefault();var a=USER_DETAILS_INPUT_VALIDATORS.phoneValidation(t)&&USER_DETAILS_INPUT_VALIDATORS.nameValiadation(r)&&USER_DETAILS_INPUT_VALIDATORS.emailValidation(i)&&USER_DETAILS_INPUT_VALIDATORS.requiredValidation(o,"","Comment")&&USER_DETAILS_INPUT_VALIDATORS.cityValidation(n,"","City")&&USER_DETAILS_INPUT_VALIDATORS.requiredValidation(s,"","Grade");if(a&&MOBILE_OTP_VALIDATER.isPhoneNumberVerified){jQuery(".cb-error-msg, .cb-success-msg").remove(),jQuery(d).attr("disabled",!0).text("Posting..."),DEFAULT_USER_DETAILS.isUserAlreadyLoggedIn=!0,DEFAULT_USER_DETAILS.isMobileAlreadyVerified=!0,MOBILE_OTP_VALIDATER.verifyToken?DEFAULT_USER_DETAILS.authorization=MOBILE_OTP_VALIDATER.verifyToken:(userFromStorage=JSON.parse(getStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE")),authToken=userFromStorage.authorization,DEFAULT_USER_DETAILS.authorization=authToken),DEFAULT_USER_DETAILS.verifyKey||(userFromStorage=JSON.parse(getStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE")),DEFAULT_USER_DETAILS.verifyKey=userFromStorage.verifyKey),void 0===SESSION_ID&&(DEFAULT_USER_DETAILS.sessionId=generateRandomID()),void 0===SESSION_ID_SECONDARY&&(DEFAULT_USER_DETAILS.sessionIdSecondary=generateRandomID());var l={first_name:r.val(),mobile_number:t.val(),email_address:i.val(),category_type:"COMMENT",session_id:DEFAULT_USER_DETAILS.sessionId,session_id_secondary:DEFAULT_USER_DETAILS.sessionIdSecondary,grade:s.val(),city:n.val(),authorization:DEFAULT_USER_DETAILS.authorization,currentUrl:C_URL,Website_URL:C_URL,Platform:void 0!==navigator.isMobile?navigator.isMobile?"website_mobile":"website_desktop":"",Lead_Magnet_Type:"LEAVE_A_COMMENT_FORM",Device_Details:void 0!==navigator.detectDeviceAgent?navigator.detectDeviceAgent:"",Device_UserAgent:void 0!==navigator.userAgent?navigator.userAgent:""},m=author_submit_form=email_submit_form=captcha_submit_form=!1;u.find('button[name="submit"]').attr("disabled","disabled").val("Posting...").addClass("post-class"),u.find('textarea[name="comment"]').removeClass("cb-error");var _=u.find('textarea[name="comment"]').val().trim(),S=_.replace(/(<([^>]+)>)/gi,"_HTML_").trim(),A=S.split(" ").join("\n");A=A.replace(/^\s*(\[\s*url\s*=\s*)?(https?:\/\/)?(www\.|\S+?\.)(\S+?\.)?\S+\s*$\s*/gm,"_URL_").trim(),""===_||null==_?u.find('textarea[name="comment"]').after('Please enter comment.').addClass("cb-error"):""===S||-1!==S.indexOf("_HTML_")?u.find('textarea[name="comment"]').after('HTML tags are not allowed for comment.').addClass("cb-error"):""===A||-1!==A.indexOf("_URL_")?u.find('textarea[name="comment"]').after('Any external links or urls are not allowed.').addClass("cb-error"):m=!0;var E={},p=jQuery("#data-comment-form"),v=p.serializeArray();if(jQuery.each(v,function(e,a){E[a.name]=a.value,"_wp_unfiltered_html_comment"===a.name&&null!==a.value&&(c=!0)}),!1===c)if(u.find('input[name="author"]').removeClass("cb-error"),u.find('input[name="email"]').removeClass("cb-error"),0!==u.find('textarea[name="g-recaptcha-response"]').length){var I=u.find('textarea[name="g-recaptcha-response"]').val().trim();""===I||null==I?u.find(".g-recaptcha").append('Please check the captcha form.'):captcha_submit_form=!0}else captcha_submit_form=!0;else author_submit_form=!0,email_submit_form=!0,captcha_submit_form=!0;m&&captcha_submit_form?(MOBILE_OTP_VALIDATER.verifyToken?E.authorization=MOBILE_OTP_VALIDATER.verifyToken:(userFromStorage=JSON.parse(getStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE")),authToken=userFromStorage.authorization,E.authorization=authToken),E.comment=S,E.author=r.val(),E.email=i.val(),E.mobileNumber=l.mobile_number,delete E.city,delete E.grade,E.ajax_comment_request=1,jQuery.post(BASE_URL+"wp-comments-post.php",E,function(e){if(u.find('button[name="submit"]').attr("disabled",!1).val("Post Comment").removeClass("post-class"),null!=e){var a=JSON.parse(e);"success"===a.status&&a.response?(c?addGAEvent(USER_DETAILS_CONFIG.isUserAlreadyExist,"created Successfully"):(o.val(""),addGAEvent(USER_DETAILS_CONFIG.isUserAlreadyExist,"created Successfully"),0!==u.find('textarea[name="g-recaptcha-response"]').length&&grecaptcha.reset(),jQuery(d).attr("disabled",!1).text("Post Comment"),jQuery("#cancel-comment-reply-link").click(),jQuery(".form-submit").after('Thanks! Your comment has been submitted successfully. It will take some time to appear on the page.')),r.attr("disabled",!1).parent().removeClass("hidden"),i.attr("disabled",!1).parent().removeClass("hidden"),s.attr("disabled",!1).parent().removeClass("hidden"),n.attr("disabled",!1).parent().removeClass("hidden"),c||jQuery.ajax({type:"POST",url:USER_DETAILS_CONFIG.apis.userCreateUpdateUrl,data:l,success:function(e){setStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE",JSON.stringify(DEFAULT_USER_DETAILS)),USER_DETAILS_CONFIG.isUserAlreadyExist=!0},error:function(e){console.log(e)}})):"invalid"===a.status&&a.response?(jQuery(d).text("Post Comment"),jQuery(".form-submit").after('Invalid Comment or User posted too many Comments')):"failed"===a.status&&a.response?(jQuery(d).text("Post Comment"),jQuery(".form-submit").after('Something went wrong, please refresh the page and try again')):(jQuery(d).attr("disabled",!1).text("Post Comment"),jQuery(".form-submit").after('Invalid Comment or User posted too many Comments'))}else jQuery(d).attr("disabled",!1).text("Post Comment"),jQuery(".form-submit").after('Something went wrong. Please try again after sometime.'),addGAEvent(USER_DETAILS_CONFIG.isUserAlreadyExist,"creation Failed")})):u.find('button[name="submit"]').attr("disabled",!1).val("Post Comment").removeClass("post-class")}else USER_DETAILS_INPUT_VALIDATORS.phoneValidation(t),USER_DETAILS_INPUT_VALIDATORS.nameValiadation(r),USER_DETAILS_INPUT_VALIDATORS.requiredValidation(o,"","Comment "),USER_DETAILS_INPUT_VALIDATORS.cityValidation(n,"","City"),USER_DETAILS_INPUT_VALIDATORS.requiredValidation(s,"","Grade"),USER_DETAILS_INPUT_VALIDATORS.emailValidation(i),USER_DETAILS_INPUT_VALIDATORS.phoneValidation(t)&&!MOBILE_OTP_VALIDATER.isPhoneNumberVerified&&(a=!1,r.removeClass("input-valid").addClass("input-error"),r.siblings(".input-error-msg").remove(),t.removeClass("input-valid").addClass("input-error"),t.siblings(".input-error-msg").remove(),t.after('

Validate your Mobile Number

'))})),getInputAccordingSessionID(e,t,l,m,r,i,n,s),t.on("input",function(){USER_DETAILS_INPUT_VALIDATORS.phoneValidation(this)}),o.on("input",function(){USER_DETAILS_INPUT_VALIDATORS.requiredValidation(this,"","Comment ")}),r.on("input",function(){USER_DETAILS_INPUT_VALIDATORS.nameValiadation(this)}),i.on("input",function(){USER_DETAILS_INPUT_VALIDATORS.emailValidation(this)}),s.on("input",function(){USER_DETAILS_INPUT_VALIDATORS.requiredValidation(this,"","Grade")}),n.on("input",function(){this.isValidInput=USER_DETAILS_INPUT_VALIDATORS.cityValidation,this.requiredName="City";var e=jQuery(this);USER_DETAILS_INPUT_VALIDATORS.cityValidation(e,"","City")}),n.on("change",function(){this.isValidInput=USER_DETAILS_INPUT_VALIDATORS.cityValidation,this.requiredName="City";var e=jQuery(this);USER_DETAILS_INPUT_VALIDATORS.cityValidation(e,"","City")})}}function addGAEvent(e,a){e?GA_FLAG&&ga("send","event","Post Comment Successful","Post Comment activity "+a+" By Existed User","URL: "+C_URL):GA_FLAG&&ga("send","event","Post Comment Successful","Post Comment activity "+a+" By New User","URL: "+C_URL)}function getInputAccordingSessionID(e,a,t,r,i,s,n,o){var d,l;if(null!==getStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE")&&(d=JSON.parse(getStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE")),l=d.sessionId,sessionIDSec=d.sessionIdSecondary,void 0!==l&&"undefined"!=typeof sessionIDSec)){var m={session_id:l,session_id_secondary:sessionIDSec};jQuery.ajax({type:"POST",url:USER_DETAILS_CONFIG.apis.userChecBySessionIDUrl,data:m,success:function(e){e.success&&(a.val(e.data.mobile).attr("disabled",!0),t.addClass("hidden"),r.removeClass("hidden"),i.val(e.data.name).attr("disabled",!1).parent().removeClass("hidden"),s.val(e.data.email).attr("disabled",!1).parent().removeClass("hidden"),n.val(e.data.city).attr("disabled",!1).parent().removeClass("hidden"),o.val(e.data.grade).attr("disabled",!1).parent().removeClass("hidden"),MOBILE_OTP_VALIDATER.isPhoneNumberVerified=d.isMobileAlreadyVerified,USER_DETAILS_CONFIG.isUserAlreadyExist=!0,USER_DETAILS_CONFIG.userDetails=e.data)},error:function(e){console.log(e)}})}}var SESSION_ID,SESSION_ID_SECONDARY,DEFAULT_USER_DETAILS={author:"",email:"",mobile:"",isUserAlreadyLoggedIn:!1,isMobileAlreadyVerified:!1,sessionId:"",sessionIdSecondary:"",authorization:"",verifyKey:""},USER_DETAILS_CONFIG={isUserAlreadyExist:!1,apis:{userChecBySessionIDUrl:BASE_URL+"wp-json/spidy/v1/get_user_by_session_id_api/",userCheckUrl:BASE_URL+"wp-json/spidy/v1/user_check_api/?wp-json_allow",userCreateUpdateUrl:BASE_URL+"wp-json/spidy/v1/user_create_update_api/?wp-json_allow",city:{url:BCAP_API_BASE_URL+"api/geo_dimensions/india_state_city_list/?limit="+INDIA_STATE_CITY_LIST_LIMIT_VAL,method:"GET"}},userDetails:""},USER_DETAILS_INPUT_VALIDATORS={getParameterByName:function(e,a){a=a?"?"+a:window.location.search;var t=new RegExp("[?&]"+e.replace(/\[/g,"\\[").replace(/\]/g,"\\]")+"(?:=([^]*))?(?:[]|$)").exec(a);return t?t[1]?decodeURIComponent(t[1].replace(/\+/g," ")):"":null},requiredValidation:function(e,a,t){var r=jQuery(e),i=r.val(),s="";return r.siblings(".input-error-msg").remove(),i&&null!==i||(s=t+" is required."),s?(r.addClass("input-error").removeClass("input-valid"),r.after('

'+s+"

"),!1):(r.removeClass("input-error"),r.addClass("input-valid"),!0)},emailValidation:function(e,a){var t=jQuery(e),r=t.val(),i="",s=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,13}))$/;return t.siblings(".input-error-msg").remove(),r&&null!==r?r.match(s)||(i="Email-id is not valid."):i="Email-id is required.",i?(t.addClass("input-error").removeClass("input-valid"),t.after('

'+i+"

"),!1):(t.removeClass("input-error"),t.addClass("input-valid"),!0)},nameValiadation:function(e,a,t){var r=jQuery(e),i=r.val(),s=t||"Name",n="",o=/^[a-zA-Z][a-zA-Z\-\ \.]{2,}$/i;return r.siblings(".input-error-msg").remove(),n=i&&null!==i?i.length<=2?"Name should be minimum 3 characters.":i.match(o)?"":"Accepts alphabets only.":s+" is required.",n?(r.addClass("input-error").removeClass("input-valid"),r.after('

'+n+"

"),!1):(r.removeClass("input-error"),r.addClass("input-valid"),!0)},phoneValidation:function(e,a){var t=jQuery(e),r=t.val(),i="",s=/^\d{10}$/,n=/^\d{1,10}$/;if(t.siblings(".input-error-msg").remove(),r&&null!==r)if(r.match(n))r.match(s)||(i="Mobile No. should be 10 digits.");else{let e=t.val().replace(/[^0-9]+/g,"");t.val(e),i=t.val()?"Mobile No. should be 10 digits.":"Mobile No. is required."}else i="Mobile No. is required.";return i?(t.addClass("input-error").removeClass("input-valid"),t.after('

'+i+"

"),!1):(t.removeClass("input-error"),t.addClass("input-valid"),!0)},ajaxCall:function(e,a,t,r){jQuery.ajax({type:e,url:a,crossDomain:!0,data:t,headers:{"content-type":"application/x-www-form-urlencoded"},success:function(e){r&&r(e)},error:function(e){r&&r(e)}})},cities:[],cityAutoSuggestions:function(e){var a;USER_DETAILS_INPUT_VALIDATORS.ajaxCall(USER_DETAILS_CONFIG.apis.city.method,USER_DETAILS_CONFIG.apis.city.url,"",function(e){e.results.length&&(a=e.results,USER_DETAILS_INPUT_VALIDATORS.cities=e.results)});var t=jQuery("["+e+"]"),r=t.find("input");r.on("input",function(){0;var e=jQuery(this).val().toLowerCase(),i="";if(t.find("ul").remove(),e.length>=1){var s=jQuery.grep(a,function(a,t){return 0===a.city.toLowerCase().indexOf(e)});s.length&&(s.every(function(a,t){return i+='

  • '+a.city.toLowerCase().replace(e,""+e+"")+"
  • ",6!==t}),t.append("

      "+i+"

    "))}t.find("ul>li>a").on("click",function(e){e.stopPropagation(),r.val(jQuery(this).text()),t.find("ul").remove(),0,r[0].isValidInput(r)})}),jQuery("body").on("click",function(){t.find("ul").remove(),0})},cityValidation:function(e,a,t){if(USER_DETAILS_INPUT_VALIDATORS.requiredValidation(e,a,t)){if(!USER_DETAILS_INPUT_VALIDATORS.cities.length)return!0;if(USER_DETAILS_INPUT_VALIDATORS.cities.filter(function(a){return a.city.toLocaleLowerCase()==e.val()}).length)return e.siblings(".input-error-msg").remove(),e.removeClass("input-error"),e.addClass("input-valid"),!0;e.addClass("input-error").removeClass("input-valid"),e.after('

    Should be selected from the list

    ')}return!1}};(function(){if(jQuery("#data-comment-form").length>0){commentForm("COMMENT");var e=jQuery("[data-name-field]"),a=jQuery("[data-email-field]"),t=jQuery("[data-grade-fg]"),r=jQuery("[data-city-fg]");e.length>0&&a.length>0&&phoneNumberValidation("#data-comment-form",e,a,t,r,"COMMENT"),USER_DETAILS_INPUT_VALIDATORS.cityAutoSuggestions("data-city-auto-suggestions-comment")}})(),window.onbeforeunload=function(){null!==getStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE")&&clearLocalStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE"),null!==getStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE_expiresIn")&&clearLocalStorage("DEFAULT_COMMENT_BOX_LOCALSTORAGE_expiresIn")};

    Exploring Kinetic Energy - Types, Examples, Formula Derivation (2024)
    Top Articles
    Latest Posts
    Article information

    Author: Lakeisha Bayer VM

    Last Updated:

    Views: 5987

    Rating: 4.9 / 5 (49 voted)

    Reviews: 88% of readers found this page helpful

    Author information

    Name: Lakeisha Bayer VM

    Birthday: 1997-10-17

    Address: Suite 835 34136 Adrian Mountains, Floydton, UT 81036

    Phone: +3571527672278

    Job: Manufacturing Agent

    Hobby: Skimboarding, Photography, Roller skating, Knife making, Paintball, Embroidery, Gunsmithing

    Introduction: My name is Lakeisha Bayer VM, I am a brainy, kind, enchanting, healthy, lovely, clean, witty person who loves writing and wants to share my knowledge and understanding with you.