[solved] – Question 71864

Teachers in most school districts are paid on a schedule that provides a salary based on their number of years of teaching experience. For example, a beginning teacher in the Lexington School District might be paid $30,000 the first year. For each year of experience after this first year, up to 10 years, the teacher receives a 2% increase over the preceding value.

Write a program that displays a salary schedule, in tabular format, for teachers in a school district. The inputs are the starting salary, the percentage increase, and the number of years in the schedule. Each row in the schedule should contain the year number and the salary for that year.

Expert Answer


[solved] – Question 71915

I would just like step to step answers to these questions.

6Use a nested MATCH function within the INDEX function in cell C40 to identify the date for the lowest temperature. Ungroup the worksheets.
8.000

11Enter a nested IF function in cell C6 to determine which city had the highest temperature. Based on the result returned in B6, enter the city name as OKC or Tulsa or Lawton in C6. Remember to enclose city names in double quotation marks in the function. Use Help if needed to help you understand a nested IF statement. Copy the formula down the High-City column.6.000
12Enter a nested IF function in cell E6 to determine which city had the lowest temperature. Based on the result returned in D6, enter the city name as OKC or Tulsa or Lawton in E6. Copy the function down the Low-City column.

Expert Answer


[solved] – Question 71930

How can I open a .class file?

Expert Answer


[solved] – Question 71938

Write a Matlab program using Matlab script le for the estimation of the projectile motion of a ball. The projectile motion equation is given below. Write a script le that prompt the user to enter the input and computes:
a) how long does the ball take before it hits the water;
b) how far is it from the base of the cliff to the point of impact.
c) Plot the impact point against the angle. For the angle (theta) that varies from
5o – 50o with the increment of 5o.
d) Plot the graph for the vertical and horizontal location of the projectile against
the time. For a xed angle of 20o and different initial speed from 5 – 10 m/s with 0.5 m/s speed increment.
Save the results obtained in the external output le containing its input entry and student particular as well.
vOx=vocosθo vOy=vosinθo x−xo=vOx t
y−yo=vO t−1gt2=(vosinθo)t−1gt2 y22
vx=vocosθo vy=vosinθo−gt v2y=(vo sinθo)2−2 g(y−yo)

Expert Answer


[solved] – Question 71969

Use pseudocode to describe an algorithm that displays the last occurrence of each element in an input sequence a_0,a_1,…,a_n. In other words, if an element appears more than once in the sequence, only the last occurrence is displayed.

Example:

4, -5, 3, 2, 3, -1, 4, 3  displays -5, 2, -1, 4, 3

Determine the running time of your algorithm as a function of n (in the worst, best and average case) and then use asymptotic notation to simplify it.

Expert Answer


[solved] – Question 72051

Assuming the ocean’s level is currently rising at about 1.5 millimeters per year, write a program that displays a table showing the number of millimeters that the ocean will have risen each year for the next 25 years.

Expert Answer


[solved] – Question 72072

what is variable- length argument list ?. demonstrate by an example code.
what is copy constructor ?. give an example

Expert Answer


[solved] – Question 72073

Write a C++ code which reads the contents of a text file “first_file.txt”

Expert Answer


[solved] – Question 72074

Design and implement a set of classes that define the employees of a hospital :doctor ,nurse ,administrator, surgeon receptionist ,janitor , and so on. include method in each class that are named according to the services provided by that person (e.g. treats patients..so treats() is a suitable method ) and that print an appropriate message.create a main driver class to instantiate and exercise several of classes .(Hint. Use Inheritance

Expert Answer


[solved] – Question 72075

Write a C++ code which writes the resultant words to the output file, “second_file.txt”.
Example: Content of first_file – “I am going to buy an umbrella”
Output in second_file.txt – I am an umbrella

Expert Answer