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

  How did the variable packet sizes affect the time required

Consider the router diagram in Figure 3. Consider that the packets shown are uniformly 500kB in size and that they are all stored in the input buffers of ports W, X and Y. These packets marked with the output buffer they are destined for.

  Design simple bjt amplifier ckt for receiving hdtv signals

Design a simple BJT amplifier circuit for receiving the over-the-air HDTV signals. The circuit should have a voltage gain of 10-100, assuming your signal source (antenna) is connected to amp through a cable with an impedance of 75

  Determine the snr needed for bpsk from the error rate curves

Suppose the FCC allocates 300 kHz channels for a high quality video conference service. A service provider decides that this service requires 720 kbps (not including overhead and error control) for each channel.

  Express the sum of products expression for the minimal cover

Consider the function f(A,B,C,D) = fm(0,1,4,5,8,9,13,14,15) 1. Map the function, and obtain a minimal sum of products cover.  2. Express the sum of products expression for the minimal cover. F (SOP)

  Compute the velocity of the water jet

A hydroelectric power plant has a synchronous generator who's speed must be fixed at 180 r/min. The turbine is Pelton type with 10 m runner diameter. When the flow rate at the nozzle of the penstock is 10m^3/s, the generated electricity.

  What is the maximum allowable resistor size

Design a DC current source to meet the following specifications: - Current source value: 100 u-amps +/- 1% (over all possible load and supply voltage conditions). - Output resistance: >20 Mohms. - Available DC voltage sources are bipolar and range fr..

  Design a binary counter capable of counting

The counter should increment on the rising edge of an input signal we'll call COUNT. Another input called CLEAR should have the effect of setting the counter to zero if CLEAR = 1 when COUNT is asserted.

  Determine the allowable shaft load in horsepower

A three-phase, 125-hp, 60Hz, eight-pole, 575-V, design B induction motor is to be operated from a 50-Hz system. Determine (a) allowable voltage at 50 Hz; (b) allowable shaft load in horsepower; (c) new synchronous speed

  Principles of the super-heterodyne receiver

Write a brief explanation of the principles of the super-heterodyne receiver.  It may help to use a simple block diagram to express the process.  Explain the purpose of the Intermediate Frequency amplifiers,

  Design the controller and estimator for closed-loop system

design the controller and estimator so that the closed-loop unit step response to a command input has a rise time tr

  What is spectral density at 200 khz from carrier frequency

Calculate the Fourier Transform of f(t) = 5 sinc(-2t/100), and graph the magnitude and phase as a function of f. If the signal of problem 1 is delayed by 0.1 ms. What is the new Fourier Transform.

  Determine the maximum load resistance

Develop a voltage-to-current converter that satisfies the requirement I = 0.0021Vin. If the op amp saturation voltage is ±12 V and the maximum current delivery is 5 mA, find the maximum load resistance.

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