Developing problem-solving skills

Assignment Help Basic Computer Science
Reference no: EM13843669

Goals: Developing problem-solving skills, declaring variables, multi-way branches, data validation.

Problem: Complete Programming Challenge 4.19 in your text book. Do not accept values larger than 10 meters or smaller than 1 x 10-20 meters as input for the wavelength (check with a "simple" or "single-branched" if and ask the user to re-enter if his/her input if it is out of range. In addition to category of the wave also output the frequency and energy of the wave given the formula

λν = c

where λ is the wavelength (m), ν is the frequency, and c is the speed of light in a vacuum (3 x 108 m/sec) and the formula

E = hν

where E is the energy (J), h is Plank's constant (6.626 x 10-34 J s), and ν is the frequency (s-1).

Note to enter values in scientific notation list the value followed by e and the power of 10. For example you could declare a constant for the value of Plank's constant with the C++ statement

const double Plank = 6.626e-034

Reference no: EM13843669

Questions Cloud

Write a c program that will read the required values : Write a C program that will read the required values from the input file, compute the hole to depth ration, the ideal number of sticks, the ideal powder charge, the actual powder charge, and the actual number of sticks.
What is the four period weighted moving average forecast : Using weights of 1/3 for the most recent week, ¼ for the next most recent week, ¼ for the third most recent week, and 1/6 for the fourth most recent week, what is the four period weighted moving average forecast for the first week in January?
Janice smith is an expert in calligraphy : Janice Smith is an expert in calligraphy. However, it is found that a specialized robot can imitate Janice's work perfectly (or at least close enough). Variable costs are 85% of selling price and fixed costs are $300,000 for the robot system. How man..
Amortization schedule for the bond : What are the proceeds from the bond issue if investors require an8% return on investment? Prepare an amortization schedule for the bond issue using the effective interest method.
Developing problem-solving skills : Developing problem-solving skills, declaring variables, multi-way branches, data validation.
A radar unit has five critical components : A radar unit has five critical components. If any one component should fail, the radar unit would be rendered ineffective. The component reliabilities are .994, .991, .915, .990, and .972, respectively. What is the system reliability with redundancy ..
Compute the mad of forecast errors : Compute the MAD of forecast errors. Using RSFE, compute the tracking signal. Based on your answers to parts (a) and (b), comment on Harlen's method of forecasting.
How about a costrich : Suppose you have a class CBird, as follows, that you want to use as a base class for deriving a hierarchy of bird classes
Explain ratios can you calculate based on the data provided : Which meaningful ratios can you calculate based on the data provided. Is there sufficient data to determine which is the better performing graphic. If yes, which is the best performing graphic.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Type of information of microsoft useful inprofessional life

What kind of information on the site do you find to be valuable to you? What kind of information about Microsoft Word do you find to be useful in your personal or professional life? Explain.

  What encryption methods should be used

Each frame in the 802.11 wireless protocol contains the MAC addresses of the sender and receiver. Thus, both sender and receiver are identified in every frame, giving more data to an interceptor who might want to spoof either party. Are both da..

  Compute the cube root

compute the cube root this way: root = -pow(-x, 1./3.);

  What type of system was selected for network administrator

What type of system was selected for your computer administrator. What type of system was selected for your network administrator. What type of system was selected for yourself, as business manager

  How many time is the loop body of the while statement

Assume that all variables are of type int. z = 0; g = 0; s = 0; i = 0; while (i = 0) g = g + 1; else z = z + 1; i = i + 1; } 1.How many time is the loop body of the while statement executed?

  Estimate for risk management in accompanying data

Estimate for risk management as shown in accompanying data, which vulnerability must be evaluated for additional controls first? Which one should be evaluated last?

  Who are the typical system stakeholders

Who are the typical system stakeholders

  Implement and run the skippy algorithm on a disk

Implement and run the Skippy algorithm on a disk

  A static method that takes an array of integers as parameter

Write a static method that takes an array of integers as a parameter and returns back an integer that is the sum of all of the integers in the array.

  Write a java method to five a 10 percent raise to every

write a java method to five a 10 percent raise to every employee who has a student record and whose grade point index is higher than 3.0.

  Write a program that prompts the user

Java: Write a program that prompts the user to enter the number of students and each student's name and score, than display the name of the student with the highest score.

  Different organizational software design projects

With an understanding of the existing requirements review process, expected software design models, the software solution design, expected software specifications, and the requirements for the new software design project selected, you must now add..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd