Hey guys! New guy here so bear with me on my first post:)(adsbygoogle = window.adsbygoogle || []).push({});

I'm trying to calculate the B field in the center of a finite solenoid for different outer radius sizes. I was able to find a formula online that gave the B field in the center of a solenoid given its length, inner radius, outer radius, number of loops, and current.

(sorry guys but I cant include links until I reach 10 posts - add "www" to each link)

Formula: .netdenizen.com/emagnet/solenoids/solenoidonaxis.htm

Using matlab, I plotted a graph of the B field with the outer radius as the input variable and all other variables constant. Here's the graph I created:

L = 0.0254m

Inner Radius = 0.008m

I = 100A

N = 100

Outer Radius varies from 0.008m to 1 m

IMAGE: .image-share.com/ijpg-1492-27.htm

Shouldn't the B field increase with increasing outer radius due to there being more turns per unit length?

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Calculating magnetic field of finite solenoid

**Physics Forums | Science Articles, Homework Help, Discussion**