ASP Calculations

1. Senior Member
Join Date
Dec 1969
Posts
330

## ASP Calculations

How do you use ASP to calculate derivatives?

2. Senior Member
Join Date
Dec 1969
Posts
1,285

## darn good question

i have a feeling that there aren&#039;t any simple, stand-alone functions in vbscript or javascript to do that sort of thing (i may be wrong though), so i think you&#039;re going to have to get down to the base-level calculations (+ - * / ^) and build some of your own functions<BR><BR>good luck<BR><BR>:)

3. Senior Member
Join Date
Dec 1969
Posts
7,686

## Just wondering

WHAT are derivatives??

4. Senior Member
Join Date
Dec 1969
Posts
1,285

## RE: darn good question

take a look and see what vbscript may have: http://msdn.microsoft.com/library/en-us/script56/html/vbscripttoc.asp?frame=true

5. Senior Member
Join Date
Dec 1969
Posts
2,885

## RE: Just wondering

I think he is talking about differential coefficients.....?

6. Senior Member
Join Date
Dec 1969
Posts
1,285

## in calculus...

...it is the rate of change<BR><BR>http://www.sosmath.com/calculus/diff/der00/der00.html

7. Senior Member
Join Date
Dec 1969
Posts
16,931

## Differentials...

As long as the equations you are working with are relatively simple (no stupid trig functions or bracketed expressions), you could do it yourself.<BR><BR>The basic rules of calculus are quite easy. I mean, I remember a couple:<BR>1) "ax^b" becomes "abx^(b-1)" when differentiated with respect to x.<BR>2) Constants disappear.<BR><BR>There are some simple ones for natural logarithms etc.<BR><BR>Break the given equation into its component parts and obey the rules with each one. You won&#039;t be able to cope with stuff like (x + 3)^6 directly through your code, but finding d/dx(x^3+2x^2+3) and things should be quite easy...<BR><BR>Craig.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•