Develope problem-solving skills and declaring variables

Assignment Help C/C++ Programming
Reference no: EM131321637

Assignment

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; Remember to introductory comments including your name and section number, the purpose of the program (with enough detail so someone reading your comments would not need to look for any information elsewhere), input, output, and processing specified. Attach your source code file to the appropriate drop box on ANGEL and take the time to confirm your submission.

Reference no: EM131321637

Questions Cloud

Identify the needs and basic elements in data warehousing : From your research, identify the needs, basic elements, and trends in data warehousing. Discuss how approaches to collecting data warehouse requirements can help the chosen organization in the decision-making process
Acceleration of a modified at wood machine : What is the magnitude of the acceleration of a modified Atwood machine if the mass of the cart is8kgand the hanging mass is15kg? (Useg= 9.8 m/s2.Express your answer to one decimal point.)
What are the differences in plant assets : What are the differences among valuation, depreciation, amortization, and depletion? Is it appropriate to calculate depreciation using two different methods? Why - What is the straight-line method of amortizing discount and premium on bonds payable..
Find the torque acting on the beam : Astudent builds a11.0m long beam that rotates about an axis at one end (see figure below). Its moment of inertia is 3540 kg.m2. When the studentapplies a forceFto the other end of the beam,the beam's angular acceleration is 3.10 rad/s2(ignore grav..
Develope problem-solving skills and declaring variables : Developing problem-solving skills, declaring variables, multi-way branches, data validation. Do not accept values larger than 10 meters or smaller than 1 x 10-20 meters as input for the wavelength.
Discussion on ethical considerations : Find one additional article related to the week's topic on your own - Address why you trust or distrust all or a part of each article. If you distrust all or a part of an article, discuss how it affected your thinking on a topic.
Use it for future capital budgeting projects : Assume today is December 31, 2013. Barrington Industries expects that its 2014 after-tax operating income [EBIT(1 – T)] will be $440 million and its 2014 depreciation expense will be $70 million. The firm has no preferred stock on its balance sheet a..
How queries can be used as a data source : You have been asked to provide training for the newly hired staff of the oncology department. Prepare a PowerPoint presentation that you will use in your training. The presentation must cover the following: Creating, appending, updating, and deleti..
Period of motion for small angles theta : A uniform disc of radius R=10 and mass M=0.5 kg is attached to the end of a uniform rigid rod of length L=1.0 m and mass m=0.5 kg. When the disc is suspended from a pivot as shown in fig, what will be the period of motion for small angles theta?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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