# Calculating the direction and magnitude of the magnetic field in a 3D plane

## Homework Statement

Two long, straight wires cross each other at right angles, as shown in Figure P19.49. (a) Find the direction and magnitude of the magnetic field at point P, which is in the same plane as the two wires. (b) Find the magnetic field at a point 30.0 cm above the point of intersection (30.0 cm out of the page, toward you).

## Homework Equations

B = uo*I/(2*pi*r)
Second Right Hand Rule - thumb in direction of current, fingers curl in direction of magnetic field

## The Attempt at a Solution

I got part (a) right.

For part (b), I can determine the magnitude of the two magnetic fields.

B_left = uo*3/(2*pi*sqrt(.3^2 + .3^2))

B_right = uo*5/(2*pi*sqrt(.3^2 + .4^2))

B_left makes an angle of 45 degrees above the plane. B_right makes an angle of 36.9 degrees above the plane.

Now, I am thinking that the magnetic field for each one would have to be perpendicular to these angles. That would give a component of the magnetic field along the x-y plane and a component perpendicular to the x-y plane (along the z axis). I'm not really sure what to do next or if I am even approaching the problem correctly. Can anybody please help?

#### Attachments

• 7.3 KB Views: 851