Python Program - Solve a Quadratic Equation

preview_player
Показать описание
Hey Everyone, In this tutorial I will show you, how to Solve any Quadratic Equation using Python 3. We will be using Quadratic Formula to do the same.

• Please Be Sure To Like this video, and Subscribe to my Channel.

===================================================

◘ My other Programming Tutorials →
===================================================

• Some of my How-to Tutorials →
Рекомендации по теме
Комментарии
Автор


• *Please Be Sure To Like this video, and Subscribe to my Channel*

*◘ My other Programming Tutorials →*

*• Some of my How-to Tutorials →*

SharnavTech
Автор

Dude, thank you. Just finished my homework!

pizza
Автор

Thank u bro! I was getting problem in complex no. but now it is solved. Thanks again!!

pralayrana
Автор

I just finished my class work thank you

botgg
Автор

tip: put it in a while statement where r= int(input()) and while r>0 run the code above for homeworks then r=r-1

yagomizuma
Автор

Hello,
Why I don't have the roots' results in the end?
I followed all the steps and when I try to run the program the final line writes: Type of Roots: Two Distinct Real Roots
Thank you in advance!

envtcrw
Автор

Sir, how can i decrese the power of x value? For example, input is 5*x***3 expecting output is 5*x**2

selvaajith
Автор

Hello Sharnav, I dont seem to understand why my program is not running. I believe that I followed your instructions precisely. please let me know what I did wrong.

mominsiddiqui
Автор

Hello, an IITian here, please don't teach students how to cheat during online test as students below 11th grade have their test online ...😇😇

emperorx
Автор

hello man, i have 2 questions
1-does cmath matter? Because i used normal x1= ...d**0.5... and it works!
2- is there a way to make this code faster? i use qpython3l to code most of the time so it would useful for me.
appreciated

yagomizuma
Автор

You are using print(f"results for In this line error exist please help how to remove this error and the error is based on ("") in worded comma's

iqraiqraquyyum
Автор

please try to upload without background music, it's vert distracting. Thank you

azranaz
Автор

is there a way to print only real values? so just to make 0*j=0

bangstar
Автор

what is the use of this formula in softwere world i m new in computer world this is why this question came in my mind

sanjadebbarma
Автор

It's 2:30 am and I got a test from IT class
Hopefully I understand something 💀

LigmaBallz
Автор

Why that 0j is getting printed in the result ?

Shs-fxfi
Автор

how do i make it so that the numbers are fractions and not decimals?

megliotwitch
Автор

I appreciate that you magnify the code so it is easy to read. But I hate the music.

jesuisravi
Автор

File "D:\Visual Studio\Projects\quadratic formula\quadratic formula\quadratic_formula.py", line 12
sol2 = (-b+cmath.sqrt(d)/(2*a)
^
SyntaxError: invalid syntax
Press any key to continue . . .

is the only result I get from this program 😶 where did i f up...

cdemr
Автор

Hello, can you solve this question
Consider the equation Ax2 + B = 0.
 If B/A < 0, this equation has two solutions. The solutions are:

(1) X1 = Sqrt(–B/A)
(2) X2 = −Sqrt(–B/A)

 If B/A = 0, this equation has one solution which is X = 0
 If B/A > 0, this equation has no real number solutions

Draw a flowchart and Write a program to have the user input any numbers for the coefficients, A and B, for this equation. If A = 0, terminate the program. Otherwise, solve the equation.

gill