What commands should I add to get these flux lines?

8 ビュー (過去 30 日間)
merey
merey 2016 年 3 月 13 日
編集済み: Geoff Hayes 2016 年 3 月 13 日
%a and b are the dimensions of the trough.
clear all;
close all;
clc;
P=[];
Vo=100.0;
a=1.0;
b=2.*a;
x=b/4;
y=3.*a/4;
c=4.*Vo/pi
sum=0.0;
for k=1:10
n=2*k-1
a1=sin(n*pi*x/b);
a2=sinh(n*pi*y/b);
a3=n*sinh(n*pi*a/b);
sum=sum+c*a1*a2/a3;
P=[n, sum]
end
diary test.out
P
diary off
  3 件のコメント
merey
merey 2016 年 3 月 13 日
this is the starting point:
here is the general equation and then the solution of the problem,
merey
merey 2016 年 3 月 13 日
and this is the problem from the beginning:

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by