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

  What features forest or the domain and what about 2008 r2

What are some of the unique features that become available when either the forest or the domain is changed to the 2008 functional level? What about 2008 R2?

  Create class includes instance variables automatic propertie

Create a class called Employee that includes three pieces of information as either instance variables or automatic properties - a firstname (type string), a last name (type string) and a monthly salary (decimal)

  How many register window should be saved to memory as result

Assume two more calls are made after the maximum value from part (a) is reached. How many register windows must be saved to memory as a result?

  A detailed discussion of current technology

Literature Review & State of the Art - A detailed discussion of current technology and practices and how the problems or issues arise, are solved and/or how the technology is utilized.

  Intrusion detection system (ids), and authentication server.

Using the network diagram below, your task is to incorporate the devices on the lower right into the diagram to create a secure corporate network. The devices you need to incorporate into the network diagram include: Web server, ftp server, vulnerabi..

  16-bit 1''s complement numbe

Convert the following numbers to 16-bit 1's complement numbers (display results in hexadecimal)

  Should employees be allowed to text message

Should employees be allowed to text message each other during the meeting? As a manager, are there concerns you might have if employees have digital cameras on their cell phones? Read the responses of a few of your classmates. Do you agree with th..

  Prepare gross pay and net pay functions for valid user name

Prepare gross pay and net pay functions, and give user input validation to check for valid user name. Hours worked is between 0 and 80 hours, and hourly wage is between $8.95 and $50.

  What do you consider the two most important software innovat

identify and describe what you believe to be the two most important hardware innovations.

  Write the recursive function c++

write main program that uses the sumbits function to compute the number of bits in the unsigned long integer, and illustrates the work of the show bits function.

  Non-finitely-describable languages closed underconcatenation

Are the non-finitely-describable languages closed under concatenation? Kleene closure? Complementation? Union?

  Create a comprehensive slideshow

Create a comprehensive slideshow according to the following directions: Explain the following list of components: Hard drive

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