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

  Implementation of the project:

Implementation of the project with the analog and digital modulation techniques

  What would the relative sensitivity of the ir detector

what would the relative sensitivity of the IR detector be if you use FREQOUT to send a 35 kHz harmonic? What is the relative sensitivity with a 36 kHz harmonic?

  Determine the peak-to-peak current ripple in the output

1. Determine the peak-to-peak current ripple in the output inductor for a forward converter and determine the output voltage ripple of the converter. We know the following parameters: duty cycle d, input voltage Vin, turn ratio.

  Explain a transformer has a primary voltage

A transformer has a primary voltage of 115v and a secondary voltage of 24v. If the number of turns in the primary is 345, how many turns are in the secondary?

  Design a phase shift circuit at a frquency

1- Draw a circuit whose output goes to + V sat . When the input signal is below -4V. the output should be -V sat, when the input is above - 4V  2- Design a - 90 phase shift circuit at 1590 Hz , Then for your design calculate 0 at 15 Hz, & 15 KHz

  Explain power factor correction

Power factor correction, Three parallel impedances in rectangular form as follows

  Contrast cdma techniques with frequency hopping

CDMA is a multiple access technique to allow multiple users to share the same bandwidth, based on the orthogonality of their spreading codes. CDMA is a descendent of the direct sequence spread spectrum (DSSS) technology designed for antijam (AJ).

  Compute the number of clock cycles required to execute

1- Describe the function of the program. DO NOT WRITE THE OPERATION OF EACH INSTRUCTION 2- Assuming that the branch instruction is executed (the branch is taken), comput the number of clock cycles required to execute the loop (DECA or BNE AGAIN)

  Determine a suitable sampling frequency

Determine a suitable sampling frequency. Design a notch filter to remove the 50Hz component, paying particular attention to any assumptions you have made in the design.

  Why does the instruction set include an inc instruction

why does the instruction set include an INC (DEC) instruction to increment (decrement) a memory byte when the same function could be accomplishe using an ADD (SUB) instruction

  What fraction of the widths of the strip should be added

A 78oham lossless planar line was designed but did not meet a requirement. What fraction of the widths of the strip should be added or removed to get the characteristic impedance of 75oham

  Determine what is the order of the system

Compute y(nT) iteratively for n=0, 1, 2, when, y(-T)=2, and x(nT) = u(n) Hint: the initial conditions are given for negative n. Shift the equation to the right to express x() and y() to eliminate all advances and end up with x(n), y(n)

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