Questions
I need to create a web page(JAVASCRIPT) that allows the user to reverse a string. For...

I need to create a web page(JAVASCRIPT) that allows the user to reverse a string. For Example, if the user types Mirror Image, after the button is clicked, the text will say egamI rorriM.You have to implement each button by using a while, do while and for loop.

here is a default code

<html>
<head>
   <title>Mirror</title>
</head>
<body>
   <p id="label1">Original Text: <h1 id="text1">Some text goes here!!!</h1></p>
   <p id="label2">Mirror Text: <h1 id="text2">!!!ereh seog txet emoS</h1>
   <input type="button" value="Reverse (while loop)" /><br />
   <input type="button" value="Reverse (do while loop)" /><br />
   <input type="button" value="Reverse (for loop)" /><br />
  
  
</body>
</html>

In: Computer Science

You want to calculate the location of the center of gravity of a person lying on...

  1. You want to calculate the location of the center of gravity of a person lying on his back. His legs have a mass of 20 kg and the center of gravity of his legs is 0.35 m from the bottom of his feet. His trunk and arms have a mass of 50 kg and the center of gravity of these body parts combined is 1.2 m from the bottom of his feet. His head has mass of 5 kg and the center of gravity of the head is 1.6m from the bottom of his feet.

    1. What is the weight of each body segment and the total body weight?

    2. What is the torque produced by each body segment about an axis through the bottom of his feet?

    3. What is the sum of these torques?

    4. How far from the bottom of the feet is his center of gravity?

In: Physics

Explain how to determine whether a decision is strategic?

Explain how to determine whether a decision is strategic?

In: Operations Management

Boeing 2020 PESTEL analyss

Boeing 2020 PESTEL analyss

In: Operations Management

1) Select the true statement regarding the establishment of successful communications. a. transmission power must only...

1) Select the true statement regarding the establishment of successful communications.

a. transmission power must only be sufficient to overcome signal attenuation since noise cannot be eliminated

b. it is critical to know the signal-to-noise ratio (SNR) at the receiver, i.e., SNR at the transmitter is not as important

c. when determining the capacity of a communications link it is not important to understand the link characteristics of the medium (guided or unguided) in which the signal will propagate

d. the capacity of a transmission link is not dependent upon signal frequency bandwidth

2)

The Shannon-Hartley Theoretical Capacity formula tells you the maximum data rate capacity achievable. By using modern M’ary modulation techniques you can easily reach higher data rate capacities.

a) True

b) False

3)

What is needs to be considered to ensure successful communications over guided or unguided mediums?

a. determining the EM noise environment in which communications will take place

b. understanding the frequency and frequency bandwidth limitations associated with the assigned communication frequencies

c. matching modulation or line coding methods to the characteristics of communications being established

d. all of the above must be considered

4)

Select the correct statement(s) regarding SMF and MMF fiber optic cables.

a. multimode fiber (MMF) has a wider core diameter that supports multiple modes of light; as such, MMF can support higher data capacities compared to single-mode fiber (SMF)

b. MMF suffers from modal delay, which results in digital signal distortion

c. SMF cables are constructed with a small optical core, which means its data capacity is much less than MMF fiber which have a larger diameter core

d. all are correct statements

In: Computer Science

Should Amazon enter additional emerging markets immediately? If so, why and where? If not, why not...

Should Amazon enter additional emerging markets immediately? If so, why and where? If not, why not and where should its focus be? More broadly, how sustainable is Amazon’s simultaneous pursuit of geographic, horizontal, and vertical expansion?

In: Operations Management

i. Assuming you are new engineer working in R & D division at manufacturing company which...

i. Assuming you are new engineer working in R & D division at manufacturing company which has decided to evaluate CAD/CAM system to adopt in your company in order to meet Industrial 4.0. (Select your company such plastic moulding, automotive, aerospace, marine etc). The company are required yourself to outline executive report for them to decided which suitable CAD/CAM system can be selected. Your report must discuss the suitable CAD/CAM system by referring to current trend which available can be accessed in the journals, articles, books, market/industrial report etc.

In: Mechanical Engineering

Explain the Path-Goal Theory of Leadership with pragmatic example.

Explain the Path-Goal Theory of Leadership with pragmatic example.

In: Psychology

why vitamin D critically important for childereb and elderly ?

why vitamin D critically important for childereb and elderly ?

In: Biology

Exercises: Home Work to do : 1) write BNF grammars for the following sententials: lexemes (not...

Exercises: Home Work to do :

  

1)   write BNF grammars for the following sententials: lexemes (not tokens)

-  positive and negative integer numbers

-  floating point numbers

-  variable names in C

------------------------------------

2)   check (recognize) if this code can derive from the given grammar ?



-  swith (tatal)

        {

        case total > 1000 :  cout<<"expensive"; break;

        case total = 1000 :  cout<<"exact";     break;

        case total < 1000 :  cout<<"cheap";     break;

        }

In: Computer Science

Did Amazon succeed in China? What did it learn?

Did Amazon succeed in China? What did it learn?

In: Operations Management

A 6.210 gram sample of an organic compound containing C, H and O is analyzed by...

A 6.210 gram sample of an organic compound containing C, H and O is analyzed by combustion analysis and 10.34 grams of CO2 and 3.388 grams of H2O are produced. In a separate experiment, the molar mass is found to be 132.1 g/mol. Determine the empirical formula and the molecular formula of the organic compound.

In: Chemistry

Discussion: How Mobile Phones Power Disaster Relief Watch the following video, and Provide a critique. Also,...

Discussion: How Mobile Phones Power Disaster Relief

Watch the following video, and Provide a critique. Also, think of other possible scenarios where mobile technology can be used to address humanitarian efforts.

https://youtu.be/L9_c1j9VRwE

In: Computer Science

Sequential Method Jasmine Company manufactures both pesticide and liquid fertilizer, with each product manufactured in separate...

  1. Sequential Method

    Jasmine Company manufactures both pesticide and liquid fertilizer, with each product manufactured in separate departments. Three support departments support the production departments: Power, General Factory, and Purchasing. Budgeted data on the five departments are as follows:


    Support Departments
    Producing Departments
    Power General
    Factory
    Purchasing Pesticide Liquid
    Fertilizer
    Overhead $90,000 $312,000    $165,000    $78,500 $107,700
    Square feet 1,500 —    1,500    4,200 4,800
    Machine hours 1,403    1,345    24,000 8,000
    Purchase orders 20    40    —    120 60

    The company does not break overhead into fixed and variable components. The bases for allocation are power—machine hours; general factory—square feet; and purchasing—purchase orders.

    The company has decided to use the sequential method of allocation instead of the direct method. The support departments are ranked in order of highest cost to lowest cost.

    Required:

    1. Allocate the overhead costs to the producing departments using the sequential method. Carry out allocation ratios to four decimal places. Use these numbers for subsequent calculations. Round allocated costs to the nearest dollar. If an amount is zero, enter "0".

    Allocation ratios:

    Power General Factory Purchasing Pesticide Liquid Fertilizer
    Square feet
    Machine hours
    Purchase orders

    Cost allocation:

    Power General Factory Purchasing Pesticide Liquid Fertilizer
    Direct costs $ $ $ $ $
    General Factory               
    Purchasing            
    Power         
    Total $ $ $ $ $

    2. Using machine hours, compute departmental overhead rates. (Round the overhead rates to the nearest cent.)

    Overhead Rates
    Pesticide $ per machine hour
    Liquid Fertilizer $ per machine hour

In: Accounting

Provide two or three examples of strategic management decisions.

Provide two or three examples of strategic management decisions.

In: Operations Management