In the picture in the figure, three coils are tightly wrapped around a non-magnetic cylinder of diameter Dcyl. Each coil is defined through the diameter of each wire comprising the coil, dcoil1-dcoil3, the current going through each coil, I1-I3, and the number of turns in each coil, N1 – N3. In addition, each coil extends a length equal to a 1/3 the length of the cylinder. Write a program that defines the magnetic field in the centerline of the cylinder (on the z axis) and plots it against z (from –l to l, where l is the length of the cylinder). Note that the cylinder extends from –l/2 to l/2.
The difference in this problem is that I1, I2, and I3 are now time varying (sinusoidal), with magnitudes I1m, I2m, and I3m and frequency w.
The program outputs a graph of Bz and Ez vs t and z from –l to l for:
1. All coils identical – same current I, same diameter, same number of coils. This should give you an answer identical to the case of one coil with current I and number of coils equal to 3N.
B=B0 * cos(wt) ?
B field of solenoid (constant field) = uNI/L
The Attempt at a Solution
not really sure about the equation for B or E. i know if I is sinusoidal then B must be too. I think it is something like B0*cos(wt), from what I understand in my book.