Register to reply

Calculating Multiple Integrals on Mathematica (Electric fields)

by GriffinHeart
Tags: electric, fields, integrals, mathematica, multiple
Share this thread:
Oct11-10, 02:37 PM
P: 3
I'm trying to calculate several stuff about the electric field generated by 2 "plaques"

My main problem being that in mathematica it calculates fast for a point of the electric field generated in the Y component, but if i try to make the median of all the points in the plaque it takes way to much time.

And after that i'll have to plot for all the points.

PHP Code:
ax := 0.09
:= 0.03
:= 0.052
:= 3000
:= 8.85 10^(-12)
Ke := 8.9 10^9

[x_y_0] := 
Ke E0 * (V/d) * 
Integrate[((d/2) / (((x0)^+ (d/2)^z0^2)^(3/2))), 
x0, -ax/2ax/2}, {z0, -az/2az/2}]

Ey2[x_y_0] := 
Ke E0 * (V/d) * 
Integrate[-((d/2) / (((x0)^+ (d/2)^z0^2)^(3/2))), 
x0, -ax/2ax/2}, {z0, -az/2az/2}]

Ey[x_y_0] := Ey1[xy0] + Ey2[xy0]

Eymedio[y_] := (1/ax) * Integrate[Ey[xy0], {x, -ax/2ax/2}]

And the output, without Eymedio[0]

PHP Code:


so calculating Ey[0,0,0] is fast, but when i try to calculate the "median" it takes like huge time.

Anything obvious i'm doing wrong with mathematica? i think the formulas are all correct.

Thanks for help
Phys.Org News Partner Science news on
Pilot sites in energy from coffee waste show good results
Startups offer banking for smartphone users
Factor in naked mole rat's cells enhances protein integrity
Oct12-10, 06:07 AM
P: 1,411
That's probably because Ey[0, 0, 0] involves calculating a couple of integrals, while Eymedio[0] involves calculating integrals of integrals.

Register to reply

Related Discussions
Calculating electric fields through integration General Physics 3
Electric fields caused by multiple charges Introductory Physics Homework 3
Electric fields caused by multiple charges Introductory Physics Homework 1
Calculating electric fields Introductory Physics Homework 1
Calculating the electric field, multiple point charges Introductory Physics Homework 10