[PD] the nth rootsolution and the exponential problem

cormac mccann cormacmccann at hotmail.com
Mon Aug 6 17:57:09 CEST 2001


Thank you for your help,
Shahrokh Yadegri

I did not know pd had a pow function.


i was using the exponential function to get the nth root based on the
rule
logarithmic function =inverse of exponential


To find nth root of 2:

log 2^(1/n)=1/n * log 2

2^(1/n)= exp(1/n *log2)

As you can see this is very awkward
and it also pd's "exp" does not obey this rule
scientifically it is true.
********************************************************************
How did you find the log of e to the base 10?

If log in pd means the natural logarithm
What does the "exp" object mean?

Also:How did you find the log of e to the base 10?


Here's the patch that shows "exp" object:

#N canvas 51 -7 789 513 10;
#X floatatom -206 249 0 0 0;
#X obj -96 238 log;
#X obj -63 238 log;
#X msg -63 215 10;
#X obj -96 261 /;
#X obj -123 185 trigger bang bang;
#X msg -123 162 bang;
#X msg -96 215 2;
#X obj -210 317 *;
#X msg -208 132 1;
#X obj -209 194 / 15;
#X floatatom -210 340 0 0 0;
#X obj -209 375 exp;
#X floatatom -209 398 0 0 0;
#X obj 313 288 t b f;
#X msg 313 311 1;
#X obj 323 353 / 1;
#X text 203 264 divisor;
#X msg 313 265 15;
#X msg 254 266 2;
#X floatatom 259 414 0 0 0;
#X floatatom -96 284 0 0 0;
#X text 310 245 the 15th root;
#X obj 259 379 pow 0.0666667;
#X text -149 397 DOES NOT EQUAL 2^(1/15);
#X obj -123 139 loadbang;
#X obj -45 148 loadbang;
#X text -107 113 log of 2;
#X text -213 113 1/15;
#X text 123 415 correct and easier;
#X obj 252 215 trigger bang bang;
#X msg 252 192 bang;
#X obj 252 169 loadbang;
#X obj 330 178 loadbang;
#X text -205 10 Based on;
#X text -205 36 log [2^(1/15)]= (1/15) log 2;
#X text -219 61 2^(1/15)= exp( 1/15*log2);
#X connect 0 0 8 0;
#X connect 1 0 4 0;
#X connect 2 0 4 1;
#X connect 3 0 2 0;
#X connect 4 0 21 0;
#X connect 5 0 3 0;
#X connect 5 1 7 0;
#X connect 5 1 9 0;
#X connect 6 0 5 0;
#X connect 7 0 1 0;
#X connect 8 0 11 0;
#X connect 9 0 10 0;
#X connect 10 0 0 0;
#X connect 11 0 12 0;
#X connect 12 0 13 0;
#X connect 14 0 15 0;
#X connect 14 1 16 1;
#X connect 15 0 16 0;
#X connect 16 0 23 1;
#X connect 18 0 14 0;
#X connect 19 0 23 0;
#X connect 21 0 8 1;
#X connect 23 0 20 0;
#X connect 25 0 6 0;
#X connect 26 0 6 0;
#X connect 30 0 18 0;
#X connect 30 1 19 0;
#X connect 31 0 30 0;
#X connect 32 0 31 0;
#X connect 33 0 31 0;


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




More information about the Pd-list mailing list