Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 科學常識 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 科學常識 - 發問中
MATLAB做雙重指示劑 (20點)急~
Jun 10th 2013, 06:42

請問一下我想用MATLAB做雙重指示劑滴定

可是我中間的一段曲線跑不出來 有人可以幫個忙嗎?
以下是我的CODE
Mna2co3=0.1
Mhcl=0.1
Vna2co3=7.5
Vhcl=linspace(0,15,1000)
Vhcl1=linspace(15,30,1000)
Vhcl2=linspace(30,45,1000)
OH=(Mna2co3.*Vna2co3*2-Mhcl*Vhcl)./(Vhcl+Vna2co3)
poH=-log10(OH)
pH=14-poH
if OH.*(Vhcl+Vna2co3)-Mhcl*Vhcl1>0
OH1=(OH.*(Vhcl+Vna2co3)-Mhcl*Vhcl1)./(Vhcl1+Vna2co3)
pH1=14+log10(OH1)
elseif OH.*(Vhcl+Vna2co3)-Mhcl*Vhcl1==0
OH1=Mhcl
pH1=14+log10(OH1)
else
OH1=(Mhcl*Vhcl1-OH.*(Vhcl+Vna2co3))./(Vhcl1+Vna2co3)
pH1=-log10(OH1)
end
pH1
H1=(Mhcl*Vhcl2+(Mhcl*Vhcl1-OH.*(Vhcl+Vna2co3)))./(Vhcl2+Vna2co3)
pH2=-log10(H1)
plot(Vhcl,pH,Vhcl1,pH1,Vhcl2,pH2)
xlabel(' The volume of HCl ')
ylabel('PH')

This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers. Five Filters recommends: 'You Say What You Like, Because They Like What You Say' - http://www.medialens.org/index.php/alerts/alert-archive/alerts-2013/731-you-say-what-you-like-because-they-like-what-you-say.html

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 candycrush 的頭像
    candycrush

    聶小倩電視劇 , 聶小倩 陳庭妮 , 聶小倩 中視 , 聶小倩線上看 , 聶小倩 陳庭妮線上看 , 聶小倩電視劇線上看 , 搶救21克的愛情 , 莫子儀 , 聶小倩 陳庭妮第一集 , 陳庭妮 , 聶小倩 中視線上看

    candycrush 發表在 痞客邦 留言(0) 人氣()