Python 分析电磁学

使用矢量优先方法,涵盖了静电学、静磁学、场、波以及传输线、波导和天线等应用。 还平衡地介绍了时变和静态领域。

为了便于理解,提供了有效的例子,解释了如何使用文中介绍的理论来解决不同类型的问题。 它还涵盖数值方法,包括 MATLAB 和向量分析。

Python分析示例

矢量分析


import scipy
from numpy import *

#Variable Declaration

A=array([10,-4,6])            
B=array([2,1,0])
ax=array([1,0,0])                #Unit vector along x direction
ay=array([0,1,0])                #Unit vector along y direction
az=array([0,0,1])                #Unit vector along z direction

#Calculations

Ay=dot(A,ay)                     #Component of A along y direction
l=scipy.sqrt(dot(3*A-B,3*A-B))   #Magnitude of the vector 3A-B

 #Defining the x,y and z components of the unit vector along A+2B
 
ux=round(dot(A+2*B,ax)/scipy.sqrt(dot(A+2*B,A+2*B)),4)
uy=round(dot(A+2*B,ay)/scipy.sqrt(dot(A+2*B,A+2*B)),4)
uz=round(dot(A+2*B,az)/scipy.sqrt(dot(A+2*B,A+2*B)),4)

u=array([ux,uy,uz])

#Results

print 'The component of A along y direction is',Ay
print 'Magnitude of 3A-B =',round(l,2)
print 'Unit vector along A+2B is',u

坐标系和变换

矢量微积分

静电场

物质空间中的电场

静电边值问题

静磁场

磁力、材料和器件

麦克斯韦方程

电磁波传播

传输线

波导

天线

详情参阅 亚图跨际

  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值