How do i execute expanding bracket problems?

4 visualizaciones (últimos 30 días)
Jonathan Dunne
Jonathan Dunne el 22 de Feb. de 2011
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

Respuestas (1)

Andrew Newell
Andrew Newell el 22 de Feb. de 2011
If you have the Symbolic Toolbox, you can do this:
syms a b
expand((a+b)*(a+b))
syms n
expand((3^n+4^n)^2)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by