2.6. Exprese los vectores siguientes en coordenadas cartesianas:
a) A=ρ(z2+1)ap−ρzcosϕaϕ
b) B=2rsenθcosϕar+rcosθcosθaϑ−rsenϕaϕ
a) $\mathbf{A}=\rho\left(z^2+1\right) \mathbf{a}_p-\rho z \cos \phi \mathbf{a}_\phi$
b) $\mathbf{B}=2 r \operatorname{sen} \theta \cos \phi \mathbf{a}_r+r \cos \theta \cos \theta \mathbf{a}_{\vartheta}-r \operatorname{sen} \phi \mathbf{a}_\phi$