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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Problem with code builder
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AdamCrain

5 Posts

Posted - 07/09/2012 :  6:18:04 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I am trying to make a user defined quadratic equation for protein ligand binding. The compile always fails for some unknown reason. Here is the equation, parameters, and test data. Please can anyone help me?

y = Vmax * (((Et + x + KD) - sqrt((Et + x + KD)^2 - 4*Et*x))/(2*Et)


Parameters:
Vmax = 1.1
KD = 0.000003
Et = 0.00003

Et is a constant and can be fixed. KD is known from another technique so it should be very close. Vmax is an approximation and could be off a little.

Test data:
x space y
0.00006 space 1
0.00003 space 0.84
0.0000225 space 0.7
0.000015 space 0.54
0.0000075 space 0.29
0 space 0

Thank you,
Adam

Hideo Fujii

USA
1582 Posts

Posted - 07/09/2012 :  7:25:19 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Adam,

Utilizing "Edit: Go To Matching Brace" menu in CodeBuilder, I found a mismatched parenthesis of the first '(' as extra.

--Hideo Fujii
OriginLab

Go to Top of Page

AdamCrain

5 Posts

Posted - 07/16/2012 :  6:51:05 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks! It works great now!
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000