Python Program to Find algebra formulas (a+b)2 =a2 + b2 + 2ab

preview_player
Показать описание
#simplesnipcode #pythonprograms #algebricformulas
Write a Python Program to Find algebra formulas (a+b)2 =a2 + b2 + 2ab | Python program to find algebra formulas (a+b)2 =a2 + b2 + 2ab

Python expression for a² + b² + 2ab is - a*a + b*b + 2*a*b. We can also write - a* *2 + b* *2 + 2*a*b. Explanation: * (asterisk) is used for multiplication. To get the value of a² and b², we can easily multiply a with a i.e., a*a and b*b. Similarly, for 2ab part, we can find its value by writing - 2*a*b. We can also find the value of a² and b² by raising its value to the power to. For that,* * operator is used. x * *y returns x raised to the powe y.

Your Query:
# ( a+b )² = a²+b²+2ab and ( a-b)² = a²+b² - 2ab formula proof
Write a program to find (A + B)2 and (A + B)3 using Python
Python PROGRAM TO SHOW (a+b)2=a2+b2+2ab
(a+b)^2 and (a-b)^2 python programming
Рекомендации по теме
Комментарии
Автор

Really thank u
Mai aapko srsly batana chahta hoon..maine 2-3 din ho gaye python class join Kiya hai...aur yeah same sum Hume krne Diya tha...bt luckily mere class ke sare students ne yeah run kr diya... expect me ..aur mam ne muze krke diya fir bhi nhi samja muze...aaj tumhari vajah se mere basic concept clear hua yeah sum ke regarding...really thank u ♥️♥️

जय श्री राम ♥️

kiranmore
welcome to shbcf.ru