How do i execute expanding bracket problems?
显示 更早的评论
Hi
I was wondering if i am able to solve bracket manipulation problems such as:
(a+b)(a+b) = a^2+2ba+b^2
and with additional powers
(3^n+4^n)^2
Thanks Jonathan
回答(1 个)
Andrew Newell
2011-2-22
syms a b
expand((a+b)*(a+b))
syms n
expand((3^n+4^n)^2)
类别
在 帮助中心 和 File Exchange 中查找有关 Common Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!