Google Groups Home
Help | Sign in
Message from discussion "Goal Seek" from Excel in Javascript
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Michal  
View profile
 More options May 16, 5:31 am
Newsgroups: comp.lang.javascript
From: Michal <ret...@gmail.com>
Date: Fri, 16 May 2008 02:31:12 -0700 (PDT)
Local: Fri, May 16 2008 5:31 am
Subject: "Goal Seek" from Excel in Javascript
Does any one know how to create a function that works similar as "Goal
Seek" in Excel?

For example:
var a=8;
var b=6;
function c(a,b) {
 return a*b;

}

And now I want that "c" will return me 56 and I want to do that only
by changing "b" and this "goal seek" function will return me solution
that "b" must be equal 7

I hope I didn't explain too chaotic.

I tried to find that on google but without any results.
Thanks in advance
Michael


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google