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

  Explain what would be the final elevation in m

an object hose mass is 200 kg moves at a velocity of 50m/sec and altitude of 200m,both measuredc relative to the surface of the earth. the acceleration of gravity can be taken as constant at g=9.8 m/sq.sec.

  Calculate what is the effective voltage in vrms

Calculate the following. a) What is the magnitude of the voltage in a wall socket if the effective voltage is 240 Vrms b) What is the magnitude of the current if the effective current is 360 mArms

  Find the output for the different inputs

Consider an LTI(linear,time-invariant) system with input x(t) and output y(t). Suppose you know(measure) the step response, tha is , for x(t) =u(t), you know that y(t) = 2e^(-0.5t)*u(t). Find the output for the following different inputs

  How to use semi-infinite medium assumption to solve problem

Consider unsteady diffusion across a membrane of thickness L. Initially, the concentration of solute in the membrane is zero. At time zero, the concentration at x=0 is raised to C0 and the concentration at x=L is maintained at zero.

  What is the rotor pole shift in electrical degrees

a) If the excitation voltage E0 is equal to the terminla voltage ( 4kV ), what is the maximum real power which the motor can deliver without losing synchronism  b) What is the rotor pole shift in electrical degrees, corresponding to the nominal loa..

  Determine the energy in the signals odd part

A signal x(t) can be represented as x(t)=xe(t)+xo(t) where xe(t)=(1/2){x(t)+x(-t)} is the even part, and xo(t)=(1/2){x(t)-x(-t)} is the odd part of the signal. Let x(t) be an energy signal with an energy of 20 Joules. Suppose the even part of x(t) is..

  Write an assembly-language program to add

Write an assembly-language program to add $40 to each element of list1 and store it to the corresponding element of list2. Use a loop. ORG $2000 LIST1 DC.W $21, $442, 3, 4, 5

  What is the inverse laplace transform

What is the inverse Laplace transform of 32/s(s^2+64). Please show all work.

  Determine the electric field at all points in space

Point charges of 5nC and -2nC are located at (2,0,4) and (-3,0,5), respectively. A. Determine the electric field at all points in space. B. Determine the force on a 1nC point charge located at (1,-3,7).

  Future generation telecommunication technology

Write a report on Future Generation Telecommunication Technology.

  Calculate the annual saving in electrical usage in us

induction cooking based on power electronic is estimated to be 80 percent efficient compared to 55 percent for conventional electric cooking . if an average home consumes 2 kw-hrs daily using conventional electric cooking.

  How far does the sled go before stopping

A sled is traveling at 4 m/s along a horizontal stretch of snow. The coefficient of kinetic friction is 0.05 . How far does the sled go before stopping ?

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