Write a program that calculates the quadratic equation

Assignment Help Electrical Engineering
Reference no: EM13229856

write a program that calculates the quadratic equation. the program should be able to compute imaginary numbers (i.e. sqrt(-1)). finally, output the tow result. hint: the computer cannot directly compute imaginary numbers, but once transformed to a positive number the computer cancompute the answer. to emulate the imaginary number, print the lietral i at end of the result using cout. the quadratic equation is given below x= -b+- root b^2 -4ac/ 2a

Reference no: EM13229856

Questions Cloud

Analyze the case study and develop the conclusions : Analyze the Case Study, and develop the conclusions, recommendations, and implications and what do Yao Ming, LeBron James, and Earl R. Dean have in common? The first two are professional basketball stars, of course, but who's Earl R.Dean
Discuss the meaning of mrp such as planned order release : Discuss the meaning of MRP such as planned order release and scheduled order receipts?
Evaluate required received power that achieves a bit error : Data at a rate of 2 Mbps is to be transmitted via a pass-band communication system whose carrier frequency is 500MHz. A binary antipodal system with roll-off factor of 0.2 is used for this communication.
Utilizing the formula for writing training objective : Utilizing the formula for writing training objective, write a training objectives for the following: Please include all 3 of the elements components. Please Management, Customer Service and Stress Management.
Write a program that calculates the quadratic equation : write a program that calculates the quadratic equation. the program should be able to compute imaginary numbers (i.e. sqrt(-1)). finally, output the tow result. hint: the computer cannot directly compute imaginary numbers
How does the use of music in political play a role : How does the use of music in political play a role in establishing a canadidate's brand?
Find fb and the open-loop gain in db at fb : An internally compensated op amp is specified to have an open-loop gain of 106dB and a unity-gain bandwidth of 3MHz. Find fb and the open-loop gain in dB at fb.
How could the promotional budget be improved : What are the pricing objectives, policies, strategies and procedures? To what extent are prices set on sound cost, demand and competitive criteria and what are the distribution objectives and strategies. How can these be improved?
How is production leveling related to 5s and value stream : How is production leveling related to 5S and Value Stream Mapping?

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Define the voltage and current in the laplace domain

The voltage and current in the Laplace domain for a certain system is given by V (s) = 1/12 1/s^2 +3, I(s) = s/s^2+3. Is this system best described as resistive, capacitive, or inductive?

  Calculate the power in each resistor

If R2 = 2R1, R3 = 3R1 and the total power taken by the circuit is 480 watts. Calculate the power in each resistor

  Need for radical future plans

Need for radical future plans to alleviate the very real problem we are faced with in New Zealand and address this problem, by providing an answer to Transpower

  Find the expression for the induced emf as function of time

A circular loop of radius a is located in the y-z plane center at the origin in the presence of a uniform B field pointed in the +x direction. At t=0 the loop is rotated counter clockwise with radial frequency about the z-axis.

  What is probability distribution of equivalent construction

a road between fairbanks and nome, alaska, will have a most likely construction cost of $4 million per mile. doubling this cost is considered to have a probability of 30%, and cutting it by 25% is considered to have a probability of 10%.

  Find the total real and reactive power delivered to load

A 345-kV, 3-phase transmission line delivers 100 MVA, 0.866 lagging, to a wye connected load. Calculate the following: a. The total real and reactive power delivered to the load. b. The real and reactive power per phase.

  What role does im/it enablement play

By that I mean, how does IM/IT help KL carry out day-to-day operations and transacting, how does it aid management processes, and does it enable KL product and service innovation?

  Find what would the sensor output voltage be

A potentiometer with a total range of 350° is supplied with a voltage of 12 Vdc. Find the output voltage for an angle of 135°. An absolute optical rotary encoder has five tracks. How many bits is the output

  Why colorado should or should not shut down its coal power

How does this cost compare with the current cost of new coal figured generation at 3.5¢/kWh? Write a brief (400 words or less) argument on why Colorado should or should not shut down its coal power plants and replace them with wind farms?

  Evaluate required received power that achieves a bit error

Data at a rate of 2 Mbps is to be transmitted via a pass-band communication system whose carrier frequency is 500MHz. A binary antipodal system with roll-off factor of 0.2 is used for this communication. The AWGN single-sided power spectral densit..

  Calculate the power converted to mechanical power

A 480 V permanent magnet ac motor is consuming 10 kW at power factor 0.80 lagging. Its speed is 1800 rpm. The winding resistance is 0.5 ohms per phase. Core losses are 100 W. Mechanical losses are 250 W. Stray losses are 1.5% of the input power

  Digital systems and microprocessors

Design a sequential system to continuously output your set of eight different digits (01275438) in binary at the rate of one digit per clock pulse.

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