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

Previous Q& A

  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?

  How is microsoft and other software manufacturers combating

How is Microsoft and other software manufacturers combating the threat of open source software and other free tools that compete with its commercial products? Do you think that this is the best way to handle the situation in the future?

  Determine the number and location of atms neccessary

the bank is interested in determine the number and location of ATMs neccessary to serve the communities so that a machine will be within 20 minutes' travel time of a community.

  Explain structural representation to describe the h-bonding

Draw a structural representation to describe the H-bonding responsible for the high boiling point of ethylamine and the structural representation of the H-bonding present when ethylamine dissolves in water.

  Religious fanaticism and bigotry

What does Voltaire have to say about religious fanaticism and bigotry? What are his feelings about Catholics, Jesuits, Protestants, Jews, and Muslims?

  European union is affecting the countries of europe

Discuss the ways that the European Union is affecting the countries of Europe.

  Determine if the system is a linear and time invariant

Let y[n] = Odd{x[n+1]}, where Odd{f[n]} takes the odd part of f[n]. Determine if this system is a. Linear b. Time invariant c. Causal For each part, either show proof that the property holds or show an example that it does not.

Reviews

Write a Review

 

Similar Q& A

  Determine the source voltage of power transmission system

Determine the source voltage Vs of a 60-Hz power transmission system from the loading conditions described as follows: 1. The load is capacitive and absorbs 12 kW at 240

  What will the current be when the voltage is increased

1. The current in a circuit is 1 amp. What will the current be when the voltage is increased by 50% 2. A 10ohm resistor is connected across a 12 V battery. How much current is there through the resistor

  Estimate the output current of a one square meter panel

The total sunlight at noon on a clear summer day is just over 1KW/m^2. Assuming a solar panel with 20% efficiency, and an output voltage of 20V, estimate the output current of a one square meter panel in full sunlight.

  Modify the state diagram branching conditions

Modify the state diagram branching conditions in the diagrams below as needed to ensure the sum and exclusion rules are obeyed in each case.

  What is the binary code appearing on the inputs

When a HIGH is on the output of the decoding circuit below, what is the binary code appearing on the inputs?

  Find the mass of the saturated liquid and of saturated vapor

the saturated liquid and vapor mixture at t=300c and quality of 75%.the mixture occupies a volume of 0.05 m^3 (a) find the specific volume in m^3/kg (hints: vf= 0.0014 vg=0.02167m^3/kg at t =300c) (b) find the mass of the mixture in kg.

  Develop the datapath under visio for the java code

Develop the Datapath; draw it under VISIO for this java code : input . x - the abscissa at which the linear interpolation is to be evaluated xi[]- the arrays of data abscissas yi[]- the arrays of data ordinates imax- size of the arrays xi[] and yi[]

  Explain power dissipation problems

Power Dissipation Problems, A signal generator outputs a sine wave signal with a frequency of 1000 Hz and an rms voltage of 20.0 V. The output of the spectrum analyzer is connected to a 200 ohm resistor.

  Explain can three of the doublers be interconnected

a) Design the doubler circuit shown in Figure 2, for which:D = d8 d4 d2 d1 and B = b8 b4 b2 b1  are each an 8421 BCD code digit. The circuit must implement the equation: 10C* + B = 2D + C

  Define the winding resistance and leakage reactance

A 415V to 11 kV transformer has a rating of 200 kVA. The winding resistance and leakage reactance when referred to the primary are 0.014 and 0.057 ohms respectively.

  What precentage of sound energy is reflected

If the accoustic impedance of water is 1.49 and for steel is 42.1, what precentage of sound energy is reflected at a water-to-steel interface? 12.5%,86.8%,43.9% or 43.59%.

  Determine the sum of three sinusoids of frequencies

Sometimes audio (or any) signals x(t) are decomposed into a sum of sinusoids. Consider x(t) the sum of three sinusoids of frequencies 518Hz, 730Hz, and 524Hz whose amplitudes are 1/2 of their corresponding frequencies.

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