Give a high-level description of what regular expressions are, and how JavaScript uses them.
In: Computer Science
•Try to plot these three equations in the rage of x=0 to 1 using “for” and “if” commands
•Y=2sin(2πx)
•Y=2cos(2πx)
•Y=log(x)
•Y=e(x)
I only know how to plot without if and for command.
no idea about using if and for command to get this figure.
In: Computer Science
A 20kW electric motor, which is running at 43 rev/s, is used to drive a crusher that operates 24 hours per day. An engineer has specified 212 mm and 315 mm pitch diameters for the small pulley and large pulley respectively; and C 3454 V-belt type.
a) What should be the conservative service factor for this belt and pulley system?
b) Calculate the center distance between the pulleys?
c) Calculate allowable power, design power, and required number of belts. (Take design factor nd as 1.)
d) Calculate centrifugal tension, forces at tension side and loose side, initial tension, and factor of safety. (Take friction coefficient including wedge effect as 0.5123.)
In: Mechanical Engineering
Shopping Cart App (C#)
Please create a C# Console (.NET Framework) application which reads from the user, the price of items in their shopping "cart". Be sure to tell the user how to stop (or ask them if they want to stop) entering prices.
Items can be priced any positive number greater than zero.
When the user has entered the prices for all items in their "cart", calculate the subtotal (the sum of all item prices).
Next, check if the user is a member of our Frequent Shopping Club. If so, take 10% off the subtotal price.
Finally, calculate the tax owed (the tax RATE is 4.5%), and then the total (subtotal + tax OWED = total).
Display the subtotal, discount (will be zero if not a member of the Frequent Shopping Club), tax owed, and total.
You should use While loops, IF statements, and TryParse statements to ensure all input is correctly entered.
In: Computer Science
The objective of the question is to test the Hypothesis If the Mean travel time in minutes between Point A to Point B is equal to the mean of the travel time in minutes from Point B to your A. First you must find the mean and standard deviations. Then perform and list the complete required steps for the TWO required Hypothesis tests and use the P-Value as a rejection Rule for both tests.
One Hypothesis test is an F test for the equality of the variances of travel Times and the second test is a T test for the equality of the means of travel times in minutes. The F test must be performed first in order to select either Case1 or Case 2 for the T-test.
Recorded Time values in minutes from point A to point B in minutes: 32, 34, 51, 30, 29, 35, 36, 29, 32, 29, 33, 32, 29, 30, 33, 30, 30, 33, 30, 31, 35, 35, 34, 33, 31, 34, 30, 30, 29, 34, 32, 35, 29, 30, 32, 30, 33, 31
nA=38
Recorded Time values in minutes from point B to point A in minutes: 36, 28, 48, 28, 27, 54, 34, 29, 26, 34, 33, 42, 29, 34, 31, 4, 27, 42, 28, 45, 26, 43, 32, 30, 27, 29, 29, 35, 26, 31, 28, 27, 28, 32, 41, 34, 28, 31
nB=38
In: Math
In: Computer Science
Q1: You are given a responsibility as IT manager to implement knowledge management system for Ajman University (AU) students. How would you design a knowledge management system that will help student during registration process:
a) What issues can a KM system be of help for them (AU students) in registration process? [2]
b) What are the needed infra structure, mechanisms and technologies, and applications that could be used in managing the processes of that system? [2]
c) Give a sequence of sub-processes that could be used in that system [2]
In: Operations Management
HB ltd has been experiencing dwindling sales in its business operations due to competitions from other agents dealing in communication equipment. On 1 January 2006, HB Ltd decided to diversify its operations to the information technology (IT) industry by acquiring SL Ltd, a company dealing in the manufacture of IT equipment and software design.
The summarized financial statements of HB Ltd and SL Ltd were as follows:
Income statement for the year ended 30September 2006
HB Ltd |
SL LTd |
|
Sh"000" |
Sh"000" |
|
Revenue |
60,000 |
24,000 |
Cost of sales |
(42,000.0) |
(20,000.0) |
Gross profit |
18,000 |
4,000 |
Other income: |
||
Interest received |
75 |
- |
Dividend received |
400 |
- |
(18,475) |
(4000) |
|
Expenses: |
||
Distribution costs |
(3,500.0) |
(100.0) |
Administrative expenses |
(2,500.0) |
(100.0) |
Finance costs |
- |
(200.0) |
Profit before tax |
12,475 |
3,600.0 |
Income tax expense |
(3,000.0) |
(600.0) |
Profit after tax |
9,475.0 |
3,000.0 |
Statement of financial position as at 30 September 2006
HB Ltd |
SL LTd |
|
Sh"000" |
Sh"000" |
|
Non current assets: |
||
Property, plant and equipment |
19,320 |
8000 |
Investments |
11,280 |
- |
30,600 |
8000 |
|
Current assets: |
||
Inventories |
5000 |
3000 |
Account receivables |
4200 |
3400 |
Cash at bank |
5800 |
1600 |
15000 |
8000 |
|
Total assets |
45,600 |
16,000 |
Equity and liabilities: |
||
Ordinary shares of sh.10 each |
10000 |
2000 |
Retained earnings |
25600 |
8400 |
35600 |
10400 |
|
Non current liability |
||
10% debentures |
- |
2000 |
Current liabilities |
||
Account payable |
7,500 |
3,200 |
Current tax |
2500 |
400 |
10,000 3,600
Total equity and liabilities 45,600 16,000
Additional information:
Required
In: Accounting
If you were shown three different interference patterns (double slit, single slit, and diffraction grating), how could you tell the difference between them?
Newton thought that light wasn't a wave because he couldn't see diffraction or interference. Imagine you are transported back in time to convince him otherwise. Write a 1-2 paragraph explanation for Newton explaining why he does not see these features despite the wave nature of light.
In: Physics
Describe some of the benefits of using a survey design in quantitative research.
In: Math
In Java,
Programmers do all money calculations using cents, represented as an integer, like 635 cents. A useful method in such an approach might convert cents into separate dollar and cents values. Write a method centsToDollarsCents whose parameter is given cents and returns an array of integers containing numDollars and numCents, respectively. If the first argument is 635, the array would contain [6, 35].
I understand how to solve for numDollars and numCents but I am having trouble returning the array. If anyone could help that would be appreciated.
In: Computer Science
Consider the reaction
Mg(s)+Fe2+(aq)→Mg2+(aq)+Fe(s)
at 63 ∘C , where [Fe2+]= 2.90 M and [Mg2+]= 0.210 M .
Part A
What is the value for the reaction quotient, Q, for the cell?
Express your answer numerically.
Q = |
7.24×10−2 |
SubmitHintsMy AnswersGive UpReview Part
Correct
Part B
What is the value for the temperature, T, in kelvins?
Express your answer to three significant figures and include the appropriate units.
T = |
336 K |
SubmitHintsMy AnswersGive UpReview Part
Correct
Part C
What is the value for n?
Express your answer as an integer and include the appropriate units (i.e. enter mol for moles).
n = |
2 mol |
SubmitHintsMy AnswersGive UpReview Part
Correct
Part D
Calculate the standard cell potential for
Mg(s)+Fe2+(aq)→Mg2+(aq)+Fe(s)
Express your answer to three significant figures and include the appropriate units.
E∘ = |
1.92 V |
SubmitHintsMy AnswersGive UpReview Part
Correct
Part E
What is the cell potential for the reaction
Mg(s)+Fe2+(aq)→Mg2+(aq)+Fe(s)
at 63 ∘C when [Fe2+]= 2.90 M and [Mg2+]= 0.210 M .
In: Chemistry
Describe the ins and outs of Change Management. Address the following issues:
In: Operations Management
Case Application 3: TEAM FUN!
Tony, the new director of human resources, and Edna, the compensation and benefits manager, are hanging employment legislation posters in RETREAT, the TEAM FUN! employee cafeteria. Edna offers, “I remember some woman who applied for a job to advertise men’s baseball gear and sued when she didn’t get the job. The EEOC said she had no case. A couple of years ago, we moved Fred from fitness demos to stock management because he couldn’t do the treadmill or lift the big weights anymore. There was talk about an age discrimination case because he was 57, but that never went anywhere.” Tony asks, “Do you realize that all of the warehouse workers are male and all the RETREAT workers are female?” Edna replies, “What’s your point?” Tony waves his hand at the EEOC information they have displayed. Edna shrugs, “This is the best job I ever had. If you ask anyone else who works here, they will say the same thing.”
Questions: 1. What is the probable defense for the baseball gear job (BFOQ, 4/5ths rule, glass ceiling)? Explain.
2. Why didn’t Fred’s age discrimination case go anywhere?
3. Is TEAM FUN! open to discrimination charges in other areas?
4. What should be done to protect TEAM FUN! from discrimination charges?
In: Operations Management
Ozone gas, O3 decomposes into O2 in presence of NO and gaseous O atoms The following data was obtained Determine the experimental rate law for the reaction given the following data and the value for the rate constant
O 3= 2.3 x 10^-4 atm NO = 1.6 x 10^-4 O = 1.5 x 10^-4 rate1 = 2.6 x 10-3
O3 = 2.3 x 10^-4 NO = .8 x 10^-4 O = 1.5 x 10^-6 rate 2 = 1.3 x 10^-3
O 3 = 4.6 x a0^-4 NO = 1.6 x 10^-4 O = 1.5 x 10^-6 rate 3 = 5.2 x 10^-3
O3 = 4.6 x 10^-4 NO = 1.6 x 10^-4 O = 3.0 x 10^-6 rate 4 = 5.2 x 10^-3
In: Chemistry