I. Thực hiện chuyển đổi giữa hai dạng viết của số phức: 1. Chuyển đổi đại số-ơle
---file daisoole1.mlsp---
<html> <head>
<%@ include file="/Scripts/header.inc" %> <title>chuyen doi dai so-ole</title> <style type="text/css">
h3 { color:#CC0000} </style>
</head> </object>
<body leftmargin="0" topmargin="2"> <center>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c ab#version=5,0,0,0" width="111" height="40">
<param name="movie" value="oledaiso1.swf" /> <param name="quality" value="high" />
<embed src="oledaiso1.swf" quality="high"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod _Version=ShockwaveFlash" type="application/x-shockwave-flash" width="111" height="40" ></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c ab#version=5,0,0,0" width="111" height="40">
<param name="BGCOLOR" value="">
<param name="movie" value="daisoole1.swf" /> <param name="quality" value="high" />
<embed src="daisoole1.swf" quality="high"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod _Version=ShockwaveFlash" type="application/x-shockwave-flash" width="111" height="40" ></embed>
</object>
<form action="daisoole_2.mlsp" method="post"> <table border=0 width="25%">
<tr><td bgcolor="#DDDDDD" valign=top width="50%" > <h3> Thuc hien phep chuyen doi dai so ole</h3>
Deleted: ả
Deleted: Luận văn thạc sĩ khoa học
Deleted: Ngành: Đo l−ờng và các hệ thống điều khiển
Formatted: Indent: Left: 0.18",
First line: 0.2"
Deleted: 1
Deleted: HV: Nguyễn Thị Ph−ơng Oanh GVHD: PGS.TSKH. Trần Hoài Linh
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow Formatted: Font: .VnArial Narrow
<img
src="c:\MatlabServerPages\webapps\MatlabServerPages\Pages\daisoole.bmp" width="60%"><br>
<h3> So phuc duoi dang Dai so</h3>
<table><tr><td>a</td><td><input type="text" name="var1" /> </td</tr> <tr><td>b</td><td><input type="text" name="var2" /> </td</tr> </table>
</td></tr> </table><br>
<input type="submit" name="submit" value="Dai so-> Ole"/>
<p><font color="#0000FF" size="2" face="Arial">â2009 by Nguyen Thi Phuong Oanh </font></p> </center> </form> </body> </html> ---file daisoole2.mlsp--- <html> <head> <%@ include file="/Scripts/header.inc" %> <title>chuyen doi dai so-ole</title>
<style type="text/css"> h3 { color:#CC3333} </style>
</head>
<body topmargin="0" leftmargin="0"> <center>
<table border=0 width="70%" cellpadding="0" cellspacing="0"> <tr><td bgcolor="#DDDDDD" valign=top width="35%">
<h3> Thuc hien phep chuyen doi dai so ole</h3> <img src="daisoole.bmp" width=60%><br>
<h3> So phuc duoi dang Dai so</h3> <matlab:Engine>
<matlab:Command cmd="a=${param.var1}"/> <matlab:Command cmd="b=${param.var2}"/> a=<matlab:WriteData name="a"/><br> b=<matlab:WriteData name="b"/><br> <h3> So phuc duoi dang Ole</h3> <matlab:MultiCommand>
sp=a+b*i;V=abs(sp);phi=angle(sp)*180/pi;
sV=sprintf('V = %6.4f',V);sphi=sprintf('phi = %6.4f',phi) </matlab:MultiCommand>
<matlab:WriteData name="sV"/><br>
<matlab:WriteData name="sphi"/> (do) <br></td> <td bgcolor=#DDDDDD valign=top align="center"> <h3> Tin hieu hinh sin </h3>
<matlab:Command cmd="x=linspace(0,2*pi,30)"/>
<matlab:Command cmd="y=V*sqrt(2)*sin(x+phi*pi/180)"/> <matlab:GetVector name="x"/>
<matlab:PlotData cmd="plot(x,y)" filename="hinhsin">
<matlab:Thumbnail imagename="hinhsin" width="600" height="600"/> </matlab:PlotData></td>
</tr>
</table><br>
<p><font color="#0000FF" size="2" face="Arial">â2009 by Nguyen Thi Phuong Oanh </font></p>
</center> </form>
</matlab:Engine> </body>
</html>
2. Chuyển đổi ơle-đại số
---file oledaiso1.mlsp---
<html> <head>
<%@ include file="/Scripts/header.inc" %> <title>chuyen doi ole-dai so</title> </head>
Deleted: Luận văn thạc sĩ khoa học
Deleted: Ngành: Đo l−ờng và các hệ thống điều khiển
Deleted: HV: Nguyễn Thị Ph−ơng Oanh GVHD: PGS.TSKH. Trần Hoài Linh
70 0.18", Relative to: Paragraph
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow Formatted: Font: .VnArial Narrow
<style type="text/css">h3 { color:#CC0000} </style>
</head>
<body topmargin="2" leftmargin="0"> <center>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c
ab#version=5,0,0,0"width="111" height="40"> <param name="movie" value="oledaiso1.swf" /> <param name="quality" value="high" />
<embed src="oledaiso1.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod _Version=ShockwaveFlash" type="application/x-shockwave-flash" width="111" height="40" ></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c
ab#version=5,0,0,0"width="111" height="40"> <param name="BGCOLOR" value="">
<param name="movie" value="daisoole1.swf" /> <param name="quality" value="high" />
<embed src="daisoole1.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod _Version=ShockwaveFlash" type="application/x-shockwave-flash" width="111" height="40" ></embed>
</object>
<form action="ole-daiso2.mlsp" method="post"> <table border=0 width="25%">
<tr><td bgcolor="#DDDDDD" valign=top width="50%" > <h3> Thuc hien phep chuyen doi ole dai so</h3> <img src="oledaiso.bmp" width="60%"><br> <h3> Nhap so phuc duoi dang so mu</h3>
<table><tr><td> V</td><td><input type="text" name="var1"/></td></tr> <tr><td> phi</td><td><input type="text" name="var2"/></td></tr> </table></td>
</tr>
</table><br>
<input type="submit" name="submit" value="Ole--> Dai so"/>
<p><font color="#0000FF" size="2" face="Arial">â2009 by Nguyen Thi Phuong Oanh </font></p>
</center> </body> </html> ---file ole-daiso2.mlsp--- <html> <head> <%@ include file="/Scripts/header.inc" %> <title>Chuyen doi ole-dai so</title> </head>
<body topmargin="0" leftmargine="0"> <center>
<table border=0 width="50%" cellpadding="0" cellspacing="0"> <td bgcolor="#DDDDDD" valign=top width="35%">
<h3> Chuyen doi ole-daiso</h3>
<img src="oledaiso.bmp" width="60%"><br> <h3> So phuc duoi dang ole</h3>
<matlab:Engine>
<matlab:Command cmd="V=${param.var1}"/> V=<matlab:WriteData name="V"/><br>
<matlab:Command cmd="phi=${param.var2}"/> phi=<matlab:WriteData name="phi"/><br> <h3> So phuc duoi dang Dai so</h3> <matlab:MultiCommand> sp=V*exp(i*phi*pi/180); a=real(sp);b=imag(sp); sa=sprintf('a = %6.4f',a);sb=sprintf('b = %6.4f',b); </matlab:MultiCommand> <matlab:WriteData name="sa"/><br> Deleted: ả
Deleted: Luận văn thạc sĩ khoa học
Deleted: Ngành: Đo l−ờng và các hệ thống điều khiển
Deleted: HV: Nguyễn Thị Ph−ơng Oanh GVHD: PGS.TSKH. Trần Hoài Linh
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow Formatted: Font: .VnArial Narrow
<matlab:WriteData name="sb"/><br></td> <td bgcolor="#DDDDDD" valign=top >
<h3 align="center"> Tin hieu hinh sin </h3> <matlab:Command cmd="x=linspace(0,2*pi,30)"/>
<matlab:Command cmd="y=V*sqrt(2)*sin(x+phi*pi/180)"/> <matlab:GetVector name="x"/>
<matlab:PlotData cmd="plot(x,y)" filename="ole-ds">
<matlab:Thumbnail imagename="ole-ds" width="600" height="600"/> </matlab:PlotData>
</matlab:Engine>
<p><font color="#0000FF" size="2" face="Arial">â2009 by Nguyen Thi Phuong Oanh </font></p> </td></tr> </table> </center> </body> </html>
II. Giải mạch điện R-L-C nối tiếp
---file rlcrequest.mlsp---
<html> <head>
<%@ include file="/Scripts/header.inc" %> <title>Giai mach RLC noi tiep</title> </head>
<body>
<form action="rlcresponse.mlsp" method="post"> <center>GIAI MACH DIEN R-L-C NOI TIEP
<table border=0 width="50%">
<tr><td bgcolor=#DDDDDD valign=top align="center"> <h3> So do mach dien</h3>
<img src="rlcnt.jpeg" <br> <h3> Thong so cua mach</h3>
<table><tr><td>R(Ω)</td><td><input type="text" name="r" maxlength="9" size="9"/></td></tr>
<tr><td>L(mH)</td><td><input type="text" name="l" maxlength="9" size="9"/></td></td>
<tr><td>C(µF) </td><td><input type="text" name="c" maxlength="9" size="9"/></td></tr>
</table>
<td bgcolor=#DDDDDD valign=top width="50%"> <center><h3>Thong so cua nguon</h3>
<table><tr><td>U(V)</td><td><input type="text" maxlength="9"name="u" size="9"></td></tr>
<tr><td>phi(do)</td><td><input type="text" maxlength="9" name="phiu" size="9"></td></tr>
<tr><td>f(HZ)</td><td><input type="text" maxlength="9" name="f" size="9"></td></tr>
</table>
<h3> Yeu cau tinh </h3></center> <ul style="color:#FF0099" > <li>Tong tro cua mach</li> <li>Dong dien trong mach </li> <li>Goc lech pha giua u va i</li>
<li> Ve do thi dien ap va dong dien</li>
<li> Tinh cac thanh phan cong suat cua mach</li> </ul></td>
</tr>
</table><br>
<input type="submit" value="-- Tinh --">
</form><p><font color="#0000FF" size="2" face="Arial">â2009 by Nguyen Thi Phuong Oanh </font></p>
</center> </body> </html> ---file rlcresponse.mlsp--- <html> <head>
Deleted: Luận văn thạc sĩ khoa học
Deleted: Ngành: Đo l−ờng và các hệ thống điều khiển
Deleted: HV: Nguyễn Thị Ph−ơng Oanh GVHD: PGS.TSKH. Trần Hoài Linh
72 0.18", Relative to: Paragraph
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow Formatted: Font: .VnArial Narrow
<%@ include file="/Scripts/header.inc" %> <title>MSP Simple Response Test</title> <style type="text/css">h3 { color:#CC0000} </style>
</head> <body>
<center>GIAI MACH DIEN RLC NOI TIEP
<table border=0 width="70%"cellpadding="0" cellspacing="0"> <tr><td bgcolor=#DDDDDD valign=top>
<matlab:Engine>
<h3> cac thong so cua mach</h3> <matlab:Command cmd="R=${param.r}"/>
R=<matlab:WriteData name="R"/>( Ω) <br> <matlab:Command cmd="L=${param.l}"/> L=<matlab:WriteData name="L"/>(mH)<br> <matlab:Command cmd="C=${param.c}"/> C=<matlab:WriteData name="C"/>(µF)<br> <h3> Thong so nguon</h3> <matlab:Command cmd="U=${param.u}"/> U=<matlab:WriteData name="U"/> (V) <br> <matlab:Command cmd="f=${param.f}"/> f=<matlab:WriteData name="f"/>(Hz) <br> <matlab:Command cmd="phi_u=${param.phiu}"/> phi_u=<matlab:WriteData name="phi_u"/>(do)<br> <h3>Tong tro cua mach</h3>
<matlab:MultiCommand>
Xl=2*pi*f*L*10^-3;Xc=1/(2*pi*f*C*10^-6);Z=sqrt(R^2+(Xl-Xc)^2) I=U/Z;P=I^2*R;Q=I^2*(Xl-Xc);S=U*I;phi=atan((Xl-Xc)/R)*180/pi; sZ=sprintf('Z = %6.4f',Z);sI=sprintf('I = %6.4f',I);
sP=sprintf('P = %6.4f',P);sQ=sprintf('Q = %6.4f',Q); sS=sprintf('S = %6.4f',S);sphi=sprintf('phi = %6.4f',phi); </matlab:MultiCommand>
<matlab:WriteData name="sZ"/> ( Ω)<br> <h3>Dong dien trong mach</h3>
<matlab:WriteData name="sI"/> (A)<br> <h3>Cong suat cua mach</h3>
<matlab:WriteData name="sP"/> (W)<br> <matlab:WriteData name="sQ"/> (VAr)<br> <matlab:WriteData name="sS"/> (VA)<br>
<h3>Goc lech pha giua dien ap va dong dien</h3> <matlab:WriteData name="sphi"/> (do)</td> <td bgcolor=#DDDDDD valign=top align="center"> <h3> Tin hieu hinh sin dien ap </h3>
<matlab:MultiCommand> x=linspace(0,2*pi,50);phi_i=phi_u-phi; ap=U*sqrt(2)*sin(x+phi_u*pi/180); dong=I*sqrt(2)*sin(x+phi_i*pi/180); </matlab:MultiCommand> <matlab:GetVector name="x"/> <matlab:GetVector name="ap"/>
<matlab:PlotData cmd="plot(x,ap)" filename="ap">
<matlab:Thumbnail imagename="ap" width="500" height="500"/> </matlab:PlotData>
<h3> Tin hieu hinh sin dong dien </h3> <matlab:GetVector name="dong"/>
<matlab:PlotData cmd="plot(x,dong)" filename="dong">
<matlab:Thumbnail imagename="dong" width="500" height="500"/> </matlab:PlotData>
<p><font color="#0000FF" size="2" face="Arial">â2009 by Nguyen Thi Phuong Oanh </font></p><td> </matlab:Engine> </tr> </table> </center> </body> </html>
III. Giải mạch điện 3 nhánh song song
Deleted: ả
Deleted: Luận văn thạc sĩ khoa học
Deleted: Ngành: Đo l−ờng và các hệ thống điều khiển
Deleted: HV: Nguyễn Thị Ph−ơng Oanh GVHD: PGS.TSKH. Trần Hoài Linh
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow Formatted: Font: .VnArial Narrow
---file m3nh1.mlsp---
<html> <head>
<%@ include file="/Scripts/header.inc" %> <title>Giai mach 3 nhanh song song</title> <style type="text/css"> h3 { color:#CC0000} </style>
</head>
<body topmargin="0" leftmargin="0"> <form action="m3nh2.mlsp" method="post"> <center>
<table border=0 width="50%">
<tr><td colspan="4" align="center" >
<h3>GIAI MACH DIEN 3 NHANH SONG SONG </h3></td> </tr>
<tr><td bgcolor=#DDDDDD valign=top width="50%"align="center" > <h3 align="center"> So do mach dien</h3>
<img src="m3nh.bmp"/><br> <h3> Thong so cua mach</h3>
<table width="200"><tr><td>Z1:</td><td>a1<input type="text" size="5" name="az1" maxlength="5"/></td>
<td>b1<input type="text" size="5" name="bz1" maxlength="5"/></td></tr>
<tr><td>Z2</td><td> a2<input type="text" size="5" name="az2" maxlength="5"/></td>
<td>b2<input type="text" size="5" name="bz2" maxlength="5"/></td></tr>
<tr><td>Z3</td><td> a3<input type="text" size="5" name="az3" maxlength="5"/> </td>
<td>b3<input type="text" size="5" name="bz3" maxlength="5"/></td></tr> </table>
<td bgcolor=#DDDDDD valign=top width="50%"> <center>
<h3>Thong so cua nguon</h3>
<table width="200" align="center"><tr><td colspan="3"
align="center"><h4>Gia tri</h4></td><td align="center"><h4>Chieu</h4></td><tr>
<tr><td>e1:</td><td>a1<input type="text" size="5" name="ae1" maxlength="5"/></td>
<td>b1<input type="text" size="5" name="be1" maxlength="5"/></td> <td>c1<input type="text" size="2" name="ce1" maxlength="2"/></td><tr>
<tr><td>e2:</td><td>a2<input type="text" size="5" name="ae2" maxlength="5"/></td>
<td>b2<input type="text" size="5" name="be2" maxlength="5"/></td> <td>c2<input type="text" size="2" name="ce2" maxlength="2"/></td><tr>
<tr><td>e3:</td><td>a3<input type="text" size="5" name="ae3" maxlength="5"/></td>
<td>b3<input type="text" size="5" name="be3" maxlength="5"/></td> <td>c3<input type="text" size="2" name="ce3" maxlength="2"/></td><tr> </table>
</center>
<h3 align="center"> Yeu cau tinh </h3> <ul style="color:#FF0099">
<li>Dong dien qua cac nhanh</li><br> <li>Cong suat cac nhanh</li><br> <li> Ve do thi dong dien</li><br> </ul>
</td></tr> </table><br>
<input type="submit" value="-- Tinh --"> <input type="reset" name="reset" value="--reset--" />
</form><p><font color="#0000FF" size="2" face="Arial">â2009 by Nguyen Thi Phuong Oanh </font></p>
</center> </body> </html> ---file m3nh2.mlsp--- <html> <head>
Deleted: Luận văn thạc sĩ khoa học
Deleted: Ngành: Đo l−ờng và các hệ thống điều khiển
Deleted: HV: Nguyễn Thị Ph−ơng Oanh GVHD: PGS.TSKH. Trần Hoài Linh
74 0.18", Relative to: Paragraph
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow Formatted: Font: .VnArial Narrow
<%@ include file="/Scripts/header.inc" %> <title>Giai mach 3 nhanh song song</title> <style type="text/css">h3 { color:#CC0000} </style>
</head> <body> <center>
<table border=0 width="70%">
<tr><td colspan="2" align="center" >
<h3> GIAI MACH DIEN 3 NHANH SONG SONG </h3></td> </tr>
<tr><td bgcolor=#DDDDDD valign=top width="40%"> <h3> So do mach dien</h3> <img src="m3nh.bmp"/><br> <matlab:Engine> <matlab:Command cmd="az1=${param.az1}"/> <matlab:Command cmd="bz1=${param.bz1}"/> <matlab:Command cmd="az2=${param.az2}"/> <matlab:Command cmd="bz2=${param.bz2}"/> <matlab:Command cmd="az3=${param.az3}"/> <matlab:Command cmd="bz3=${param.bz3}"/> <matlab:Command cmd="ae1=${param.ae1}"/> <matlab:Command cmd="be1=${param.be1}"/> <matlab:Command cmd="ce1=${param.ce1}"/> <matlab:Command cmd="ae2=${param.ae2}"/> <matlab:Command cmd="be2=${param.be2}"/> <matlab:Command cmd="ce2=${param.ce2}"/> <matlab:Command cmd="ae3=${param.ae3}"/> <matlab:Command cmd="be3=${param.be3}"/> <matlab:Command cmd="ce3=${param.ce3}"/> <matlab:MultiCommand> if (bz1>=0) sz1=sprintf('Z1 = %6.2f + %6.2fi',az1,bz1); else sz1=sprintf('Z1 = %6.2f - %6.2fi',az1,-bz1); end if (bz2>=0) sz2=sprintf('Z2 = %6.2f + %6.2fi',az2,bz2); else sz2=sprintf('Z2 = %6.2f - %6.2fi',az2,-bz2); end if (bz3>=0) sz3=sprintf('Z3 = %6.2f + %6.2fi',az3,bz3); else sz3=sprintf('Z3 = %6.2f - %6.2fi',az3,-bz3); end </matlab:MultiCommand> <h3> Tong tro mach</h3>
<matlab:WriteData name="sz1"/><br> <matlab:WriteData name="sz2"/><br> <matlab:WriteData name="sz3"/><br> <h3> Thong so nguon </h3> <matlab:MultiCommand> if (be1>=0) se1=sprintf('e1 = %6.2f + %6.2fi',ae1,be1); else se1=sprintf('e1 = %6.2f - %6.2fi',ae1,-be1); end if (be2>=0) se2=sprintf('e2 = %6.2f + %6.2fi',ae2,be2); else se2=sprintf('e2 = %6.2f - %6.2fi',ae2,-be2); end if (be3>=0) se3=sprintf('e3 = %6.2f + %6.2fi',ae3,be3); else se3=sprintf('e3 = %6.2f - %6.2fi',ae3,-be3); end Deleted: ả
Deleted: Luận văn thạc sĩ khoa học
Deleted: Ngành: Đo l−ờng và các hệ thống điều khiển
Deleted: HV: Nguyễn Thị Ph−ơng Oanh GVHD: PGS.TSKH. Trần Hoài Linh
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow Formatted: Font: .VnArial Narrow
</matlab:MultiCommand>
<table width="80%"><tr><td><h4>gia tri</h4></td><td><h4>chieu<h4></td><tr> <tr><td><matlab:WriteData name="se1"/></td><td>c1=<matlab:WriteData name="ce1"/></td><tr> <tr><td><matlab:WriteData name="se2"/></td><td>c2=<matlab:WriteData name="ce2"/></td><tr> <tr><td><matlab:WriteData name="se3"/></td><td>c3=<matlab:WriteData name="ce3"/></td><tr> </table> <matlab:MultiCommand> Z1=az1+bz1*i;Z2=az2+bz2*i;Z3=az3+bz3*i; e1=ce1*(ae1+be1*i);e2=ce2*(ae2+be2*i);e3=ce3*(ae3+be3*i); phi=(e1/Z1+e2/Z2+e3/Z3)/(1/Z1+1/Z2+1/Z3); i1=(e1-phi)/Z1;i2=(e2-phi)/Z2;i3=-i1-i2; ir1=real(i1);ii1=imag(i1);ir2=real(i2);ii2=imag(i2); ir3=real(i3);ii3=imag(i3); if ii1>=0 si1=sprintf('i1 = %6.4f + %6.4fi',ir1,ii1); else si1=sprintf('i1 = %6.4f - %6.4fi',ir1,-ii1); end if ii2>=0 si2=sprintf('i2 = %6.4f + %6.4fi',ir2,ii2); else si2=sprintf('i2 = %6.4f - %6.4fi',ir2,-ii2); end if ii3>=0 si3=sprintf('i3 = %6.4f + %6.4fi',ir3,ii3); else si3=sprintf('i3 = %6.4f - %6.4fi',ir3,-ii3); end </matlab:MultiCommand>
<h3> Dong dien qua cac nhanh</h3> <matlab:WriteData name="si1"/><br> <matlab:WriteData name="si2"/><br> <matlab:WriteData name="si3"/><br></td>
<td bgcolor=#DDDDDD bordercolor=#CC3300 valign=top> <h3> Cong suat cac nhanh P(W),Q(VAr),S(VA)</h3> <matlab:MultiCommand> s1=e1*conj(i1);S1=abs(s1);P1=real(s1);Q1=imag(s1); s2=e2*conj(i2);S2=abs(s2);P2=real(s2);Q2=imag(s2); s3=e3*conj(i3);S3=abs(s3);P3=real(s3);Q3=imag(s3); nhanh1=sprintf('P1 = %6.4f; Q1 = %6.4f; S1 = %6.4f',P1,Q1,S1); nhanh2=sprintf('P2 = %6.4f; Q2 = %6.4f; S2 = %6.4f',P2,Q2,S2); nhanh3=sprintf('P3 = %6.4f; Q3 = %6.4f; S3 = %6.4f',P3,Q3,S3); </matlab:MultiCommand> <matlab:WriteData name="nhanh1"/><br> <matlab:WriteData name="nhanh2"/><br> <matlab:WriteData name="nhanh3"/>
<h3> Tin hieu hinh sin dong dien cac nhanh </h3>
<h4> Dong dien i1(*), dong dien i2(X), dong dien i3(s)</h4> <matlab:MultiCommand> x=linspace(0,2*pi,30); ii1=abs(i1)*sqrt(2)*sin(x+angle(i1)); ii2=abs(i2)*sqrt(2)*sin(x+angle(i2)); ii3=abs(i3)*sqrt(2)*sin(x+angle(i3)); </matlab:MultiCommand> <matlab:PlotData cmd="plot(x,ii1,'*',x,ii2,'x',x,ii3,'s')" filename="dtdong">
<matlab:Thumbnail imagename="dtdong" width="600" height="600"/> </matlab:PlotData>
</td></tr> </table>
</matlab:Engine>
<p><font color="#0000FF" size="2" face="Arial">â2009 by Nguyen Thi Phuong Oanh </font></p>
</center> </body>
Deleted: Luận văn thạc sĩ khoa học
Deleted: Ngành: Đo l−ờng và các hệ thống điều khiển
Deleted: HV: Nguyễn Thị Ph−ơng Oanh GVHD: PGS.TSKH. Trần Hoài Linh
76 0.18", Relative to: Paragraph
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow Formatted: Font: .VnArial Narrow
</html>
IV. Tính các thông số Aik và Bik của mạng 2 cửa hình T và pi 1. Mạng hình T
---file manghinht1.mlsp---
<html> <head>
<%@ include file="/Scripts/header.inc" %>
<title>Tinh toan thong so Aik,Bik mang hinh T</title> </head>
<body topmargin="2"> <center>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c
ab#version=5,0,0,0" width="111" height="40"> <param name="BGCOLOR" value="" />
<param name="movie" value="manghinht.swf" /> <param name="quality" value="high" />
<embed src="manghinht.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod _Version=ShockwaveFlash" type="application/x-shockwave-flash" width="111" height="40" ></embed>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c
ab#version=5,0,0,0" width="111" height="40"> <param name="BGCOLOR" value="">
<param name="movie" value="manghinhpi.swf" /> <param name="quality" value="high" />
<embed src="manghinhpi.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod _Version=ShockwaveFlash" type="application/x-shockwave-flash" width="111" height="40" ></embed>
</object>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.c
ab#version=5,0,0,0"width="111" height="40"> <param name="movie" value="oledaiso1.swf" /> <param name="quality" value="high" />
<embed src="oledaiso1.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod _Version=ShockwaveFlash" type="application/x-shockwave-flash" width="111" height="40" ></embed>
</object>
<form action="manghinht2.mlsp" method="post"> <table border=0 width="35%" bgcolor=#DDDDDD> <tr><td colspan="2" align="center">
<h3>So do mang 2 cua hinh T</h3>
<center><img src="manghinht.jpeg"/> </center></td> </tr>
<tr>
<td><h3> He phuong trinh dang A</h3><img src="ptdanga.bmp"/></td> <td width="46%"><h3> He phuong trinh dang B</h3>
<img src="ptdangb.bmp"/></td> </tr>
<tr><td colspan="2" valign=top align="center"> <h3>Cac thong so cua mang 2 cua</h3></td></tr> <tr><td colspan="2" align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td align="center"> Zd1 <input type="text" name="a1" size="3" /> <input type="text" name="b1" size="3" /> </td>
<td align="center">Zd2 <input type="text" name="a2" size="3"/> <input type="text" name="b2" size="3"/></td>
<td align="center">Zn <input type="text" name="a3" size="3"/> <input type="text" name="b3" size="3"/></td>
</tr> </table></td> </tr>
<tr><td colspan="2" align="center">
Deleted: ả
Deleted: Luận văn thạc sĩ khoa học
Deleted: Ngành: Đo l−ờng và các hệ thống điều khiển
Deleted: HV: Nguyễn Thị Ph−ơng Oanh GVHD: PGS.TSKH. Trần Hoài Linh
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow
Formatted: Font: .VnArial Narrow Formatted: Font: .VnArial Narrow
<h3> Yeu cau tinh </h3> <ul style="color:#FF0099">
<li>Cac thong so Aik cua mang</li> <li>Cac thong so Bik cua mang</li> </ul>
<input type="submit" value="-- Tinh --"> <input type="reset" name="reset" value="--reset--" />