Create a program that will prompt the user to enter a number in the range 1-100 to find my favorite number. If the number is less than favorite number, print “Too low...guess again: ”. If the number is greater than favorite number, print “Too high...guess again: ”. Otherwise, indicate that the number entered is the correct favorite number. (use a constant)
Write an if-else statement that if userTickets is greater than 5, executes award Points = 15 Else, execute award Points = user Tickets. Ex: If user Tickets is 14, then award Points = 15.
Find (a) magnitude of the electric field 0.5 m from a 2.5 -μC point charge and (b) the magnitude and direction of the electrostatic force
acting on an electron placed at that point.
A questionnaire asks shareholders of a company to state whether they consider the chairman’s salary to be too high, about right, or too low. Excluding shareholders who have no opinion, the probabilities of answers from randomly selected shareholders are as follows:</span><span lang="EN-US"><o:p></o:p></span>
Too High 0.80
About Right 0.25
Too Low 0.05
What are the probabilities that if three shareholders are selected at random,
a. They will all answer, ‘too high’?
b. Exactly two will answer ‘too low’?
c. Exactly two will give the same answer?
two point charges are located on the positive x axis of a coordinate system charge q1=1.0nC is 2.0cm from the origin, another charge q2=-3.0nC os 4.0cm from the origin .what is the total force exerted by these two charges on charge q3=5.0nC located at The origin
a machine starts production of matchboxes at the rate of 12000 per hour. The rate of production decreases by 40% every hour. Calculate the total nimber of matchboxes produced in first 2 hours
Assume the total cost of a tertiary education will be R75 000 when your child enters university in 18 years. You presently have R7 000 to invest. What rate of interest must you earn on your investment to cover the cost of your child’s tertiary education?
Develop a C++ program that will compute the values of six trigonometric functions (sine, cosine, tangent, cotangent, secant, and cosecant) at any angle without using cmath/math.h library. (Hint : Transform Maclaurin Series of sine and cosine function into C++ codes)
A moon rock has 3 % of its original Al-26 mass. K/U T/I C
(a) Determine the age of the moon rock.
(b) Discuss any assumptions that must be made when
using this method of dating.
Aluminum-26, which decays into magnesium-26, has a half-life
of approximately 720 000 years. Use this information to answer
Questions 6 and 7.
6. (a) What type of decay does Al-26 undergo?
(b) Does Al-26 decay in the same way as C-14?
Explain.