The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Problem with writing an equation

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
LCG Posted - 06/26/2013 : 4:25:09 PM
Hello,

I'm trying to write the attached equation into origin.


I'm using OriginPro 9, I chose excplicit/labtalk script where
Fsb= dependent variable
Lt= independent variable
Kd1,Lst,Rt are constants
Kd2 is a parameter, should I be putting anything else as a parameter?

d=Kd1+Kd2+Lst+Lt+Rt
e=(Lt-Rt)*Kd1+(Lst-Rt)*Kd2+(Kd1*Kd2)
f=-Kd1*Kd2*Rt
T=acos(((-2*(d^3))+(9*d*e)-(27*f))/((2*((d^2)-(3*e))^0.5)]

Fsb=((2*((((d^2)-3*e)^0.5)*(cos(T/3))))-d)/((3*Kd1)+((2*((((d^2)-3*e)^0.5)*(cos(T/3))))-d))

I get this error when I do the quick check :
"Fsb = - "

Any ideas what I may be doing wrong?
Thanks alot
4   L A T E S T    R E P L I E S    (Newest First)
LCG Posted - 06/26/2013 : 6:30:53 PM
Awesome!

Thank you so much Meili :)

Have a wonderful day!

quote:
Originally posted by meili_yang

Hi,

I use Equations instead of Labtalk, I was able to get value when Quick Check.

Independent: x
Dependent: y
Parameters: Kd2
Constants: Kd1,Lst,Rt
Function Body:
d=Kd1+Kd2+Lst+x+Rt
e=(x-Rt)*Kd1+(Lst-Rt)*Kd2+(Kd1*Kd2)
f=-Kd1*Kd2*Rt
T=acos((-2*d^3+9*d*e-27*f)/(2*(d^2-3*e)^1.5))
y=(2*(((d^2)-3*e)^0.5)*(cos(T/3))-d)/(3*Kd1+2*(((d^2)-3*e)^0.5)*(cos(T/3))-d)



Meili
OriginLab Tech Support

meili_yang Posted - 06/26/2013 : 6:01:41 PM
Hi,

I use Equations instead of Labtalk, I was able to get value when Quick Check.

Independent: x
Dependent: y
Parameters: Kd2
Constants: Kd1,Lst,Rt
Function Body:
d=Kd1+Kd2+Lst+x+Rt
e=(x-Rt)*Kd1+(Lst-Rt)*Kd2+(Kd1*Kd2)
f=-Kd1*Kd2*Rt
T=acos((-2*d^3+9*d*e-27*f)/(2*(d^2-3*e)^1.5))
y=(2*(((d^2)-3*e)^0.5)*(cos(T/3))-d)/(3*Kd1+2*(((d^2)-3*e)^0.5)*(cos(T/3))-d)



Meili
OriginLab Tech Support
LCG Posted - 06/26/2013 : 4:45:06 PM
Nope didn't work :(
quote:
Originally posted by meili_yang

Hi there,

Try this:

Fsb=(2*((d^2)-3*e)^0.5*cos(T/3)-d)/(3*Kd1+2*((d^2)-3*e)^0.5*cos(T/3)-d)

Meili
OriginLab Tech Support

meili_yang Posted - 06/26/2013 : 4:40:53 PM
Hi there,

Try this:

Fsb=(2*((d^2)-3*e)^0.5*cos(T/3)-d)/(3*Kd1+2*((d^2)-3*e)^0.5*cos(T/3)-d)

Meili
OriginLab Tech Support

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000