close
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
    全站熱搜
    創作者介紹
    創作者 candycrush2 的頭像
    candycrush2

    pokopang外掛下載點, pokopang外掛程式教學, pokopang外掛程式下載點, pokopang外掛教學影片, line pokopang外掛程式下載, ios pokopang外掛教學, pokopang外掛聯合國

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