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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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