Design an algorithm in pseudocode to solve the problem

Assignment Help Electrical Engineering
Reference no: EM13263539

Bob enters a pizza shop and notices there are three different sizes of pizzas available. Sizes are given as the diameter of the pizza in inches. The cost of a pizza is based on the size. Bob would like to know which size of pizza has the lowest cost per square inch.

a. Identify the inputs and outputs for this problem.

b. Identify the processing needed to convert the inputs to the outputs.

c. Design an algorithm in pseudocode to solve this problem. Make sure to include steps to get each input and generate each output.

Reference no: EM13263539

Questions Cloud

Find the magnification of the lens : An object is placed 64.5 cm from a screen. Find the magnification of the lens
Explain the role that women played to help win world war ii : Identify at least two major historical turning points in the period under discussion and analyze the impact of the two or more major historical turning points selected on America's current society, economy, politics, and culture.
What is the expected return on the portfolio : You own a portfolio that is 34 percent invested in Stock X, 22 percent in Stock Y, and 44 percent in Stock Z. The expected returns on these three stocks are 11 percent, 18 percent, and 14 percent, respectively. What is the expected return on the po..
What is the value per share of your firm stock : after which growth should be at a constant rate of 6%. The last dividend paid was $1.00. What is the value Per share of your firm's stock?
Design an algorithm in pseudocode to solve the problem : Sizes are given as the diameter of the pizza in inches. The cost of a pizza is based on the size. Bob would like to know which size of pizza has the lowest cost per square inch. a. Identify the inputs and outputs for this problem.
Determine the self-induced emf in the solenoid : A 100 m long solenoid has a radius of 0.050 m and 1.5 x 10^4 turns. Determine the self-induced emf in the solenoid due to the changing environment
What was the most recent dividends per share paid : What was the most recent dividends per share paid on the stock(hint: you are looking for DO)?
What is the cost of retained earnings : A firm's stock is selling for $85. The next annual dividend is expected to be $2.00. The growth rate is 9%. The flotation cost is $5. What is the cost of retained earnings?
Estimate the shear stress : Estimate the shear stress if this force is ex- erted on a 0.412 cm -thick pine board that is 13.7 cm wide

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Complete the design of implementation of the second version

Complete the design, including a schematic, of the implementation of the second version of the Gumball Vending Machine Example using D Flip Flops AND JK Flip Flops. Which of the two is the better design

  Determine the intial and final values of the waveforms

find the Laplace transformation to find the v(t) that satisfies the following firs-order differential equation : a) 500 dv(t)/d(t) +2500 v(t)= 0 , v(-0)= 100V b) dv(t)/d(t) +200v(t)= 400u(t)V , v(-0)= -100V

  How to clock pipeline with a clock period of 7 units of time

How to decide the shortest possible clock period for a synchronous circuit with the flop-based clocking. What is the hold time of a register. How does the hold time constrain the circuit delays for a synchronous circuit.

  Find thethevenin equivalent voltage for the circuit

A somewhat discharged automotive battery has an open-circuit voltage of 12.5 V and supplies 50 A when a 0.1-? resistance is connected across the battery terminals.

  Explain logic high level

Three two-input "AND" gates have their outputs connected to an "OR" gate. The first "AND" gate has each of its inputs at logic HIGH level. The second "AND" gate has each of it's inputs at logic LOW level.

  How should expected huge cost of smart grid infrastructure

Since smart grid application is expected to have a substantial societal benefit in addition to the direct benefit to electric power customers and utility companies, how should the expected huge cost of smart grid infrastructure installation paid

  How to generate the transmitter level frequency

Frequency multiplers are used at the transmitter to bring up the frequency level to the transmitter level frequency. Why don't we use the crystal oscillator to generate the transmitter level frequency

  Determine the speed and developed torque

A 10 kW, 220 V, dc shunt motor has field and armature reistance of 110 ohms and .20 ohms, respectively. At no-load the motor runs at 1200 rpm and has an armature current of 5 A.

  How many ways are there to assign the 9 employees

An engineering firm consisting of 3 programmers and 6 circuit engineers. The employees are randomly assign to 3 teams of 3, labeled Group 1, Group 2, and Group 3. a) How many ways are there to assign the 9 employees to Groups 1, 2 & 3

  Write a program to genrate a square wave

assuming XTAL=11.0592 MHz,write a program to genrate a square wave of 20 Hz frequency on pin2.3?

  What are implications of the second law of thermodynamics

Consider the best possible heat engine working in air at 25°C. The engine continuously converts heat from a source at 300°C to work, and heat is continuously transferred into the engine at a rate of 100 kJ/s.

  Calculate the daily energy coast if 2000 kw of power is used

a particular electric utility charges customers different rates depending on their daily rate of energy consuption 0.05khw up to 20 kwh and 0.1 kwh for all energy usage above 20 kwh in any 24 hour period.

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