COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

### Request for Help in program.

• Email
• Follow

```This program is created to calculate a Z value, given a p value
between 0.0 to 1.0
using the UTPN function.  To make it run on HP50G.

If some on can check it and take out the mistakes I`ll be VERY
thankful.

Xtian

=AB
"alpha value"
{
{ "m" "mean" 0 }
{ "v" "variance" 0 }
{ "p" "alpha probability" 0 }
}
{ 1 4 }
{ }
{ }
INFORM
IF
THEN
OBJ=8D
DROP =8D m v p

=AB  0 'utpn' =8D m v p
zTEMP fname
=AB zTEMP 'ZTEMP' STO
=AB m v ZTEMP
fname p -
=BB 'ZTEMP' zTEMP
ROOT
=8D X
EVAL 4 RND
"alpha value:" SWAP + CLLCD MSGBOX
=BB ELSE
"CANCEL" =8DTAG
END
=BB 'ZTEMP' PURGE
=BB
```
 0
Reply xtian1963 7/8/2009 10:15:27 PM

See related articles to this posting

```Put the program on the stack, go into the PRG menu, press NEXT until
you see the RUN folder. Press RUN.  Now press DBUG.  You are now
debugging the program.

SST will step through and you can find the bugs.

TW
```
 0
Reply TW 7/8/2009 10:28:19 PM

```On Jul 8, 6:15=A0pm, xtian1963 <cristian.arredo...@vtr.net> wrote:
> This program is created to calculate a Z value, given a p value
> between 0.0 to 1.0
> using the UTPN function. =A0To make it run on HP50G.
>
> If some on can check it and take out the mistakes I`ll be VERY
> thankful.
>
> Thank in advance.
>
> Xtian
>
> =AB
> "alpha value"
> {
> { "m" "mean" 0 }
> { "v" "variance" 0 }
> { "p" "alpha probability" 0 }}
>
> { 1 4 }
> { }
> { }
> INFORM
> IF
> THEN
> OBJ
> DROP =A0 m v p
>
> =A0 =A0=AB =A00 'utpn' =A0 m v p
> =A0 =A0 =A0 =A0zTEMP fname
> =A0 =A0 =A0 =A0=AB zTEMP 'ZTEMP' STO
> =A0 =A0 =A0 =A0 =A0 =AB m v ZTEMP
> =A0 =A0 =A0 =A0 =A0 =A0 =A0fname p -
> =A0 =A0 =A0 =A0 =A0 =BB 'ZTEMP' zTEMP
> =A0 =A0 =A0 =A0 =A0 =A0 =A0ROOT
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0X
> =A0 =A0 =A0 =A0 =A0 =A0 =A0EVAL 4 RND
> =A0 =A0 =A0 =A0 =A0 =A0 =A0"alpha value:" SWAP + CLLCD MSGBOX
> =A0 =A0 =A0 =A0=BB ELSE
> =A0 =A0 =A0 =A0 =A0 "CANCEL" =A0TAG
> =A0 =A0 =A0 =A0 =A0 =A0END
> =A0 =A0=BB 'ZTEMP' PURGE
> =BB

> INFORM
> IF
> THEN

Should be
IF
INFORM
THEN
```
 0

```On 8 jul, 18:28, TW <timwess...@gmail.com> wrote:
> Put the program on the stack, go into the PRG menu, press NEXT until
> you see the RUN folder. Press RUN. =A0Now press DBUG. =A0You are now
> debugging the program.
>
> SST will step through and you can find the bugs.
>
> TW

On 8 jul, 20:43, PremiumBlend <mnhollin...@yahoo.com> wrote:
> On Jul 8, 6:15 pm, xtian1963 <cristian.arredo...@vtr.net> wrote:
>
> > This program is created to calculate a Z value, given a p value
> > between 0.0 to 1.0
> > using the UTPN function.  To make it run on HP50G.
>

After a few test with DEBUG and SST+
finaly I`ve got this program that works perfectly in my HP50G

=AB
" Z VALUE"
{
{ "ALPHA" " PROB ALPHA TO GET Z" 0 }

}
{ 1 4 }
{ }
{ }
INFORM
IF
THEN
OBJ=8D
DROP =8D A

=AB

=AB
0 1 Z UTPN  A -
=BB

'Z'
0
ROOT
'Z' PURGE
=BB
EVAL 4 RND
"Z VALUE:" SWAP + CLLCD MSGBOX
ELSE
"CANCEL" CLLCD MSGBOX
END
=BB

THANKS

Xtian
```
 0
Reply xtian1963 7/9/2009 2:56:07 AM

```On 8 jul, 20:43, PremiumBlend <mnhollin...@yahoo.com> wrote:
> On Jul 8, 6:15=A0pm, xtian1963 <cristian.arredo...@vtr.net> wrote:

>
> > This program is created to calculate a Z value, given a p value
> > between 0.0 to 1.0
> > using the UTPN function. =A0To make it run on HP50G.
>

I fix the problem

Xtian
```
 0
Reply xtian1963 7/9/2009 2:57:28 AM

```On Jul 8, 6:15=A0pm, xtian1963 <cristian.arredo...@vtr.net> wrote:
> This program is created to calculate a Z value, given a p value
> between 0.0 to 1.0
> using the UTPN function. =A0To make it run on HP50G.
>
> If some on can check it and take out the mistakes I`ll be VERY
> thankful.
>
> Thank in advance.
>
> Xtian
>
> =AB
> "alpha value"
> {
> { "m" "mean" 0 }
> { "v" "variance" 0 }
> { "p" "alpha probability" 0 }}
>
> { 1 4 }
> { }
> { }
> INFORM
> IF
> THEN
> OBJ
> DROP =A0 m v p
>
> =A0 =A0=AB =A00 'utpn' =A0 m v p
> =A0 =A0 =A0 =A0zTEMP fname
> =A0 =A0 =A0 =A0=AB zTEMP 'ZTEMP' STO
> =A0 =A0 =A0 =A0 =A0 =AB m v ZTEMP
> =A0 =A0 =A0 =A0 =A0 =A0 =A0fname p -
> =A0 =A0 =A0 =A0 =A0 =BB 'ZTEMP' zTEMP
> =A0 =A0 =A0 =A0 =A0 =A0 =A0ROOT
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0X
> =A0 =A0 =A0 =A0 =A0 =A0 =A0EVAL 4 RND
> =A0 =A0 =A0 =A0 =A0 =A0 =A0"alpha value:" SWAP + CLLCD MSGBOX
> =A0 =A0 =A0 =A0=BB ELSE
> =A0 =A0 =A0 =A0 =A0 "CANCEL" =A0TAG
> =A0 =A0 =A0 =A0 =A0 =A0END
> =A0 =A0=BB 'ZTEMP' PURGE
> =BB

-------------------------------------------------
-------------------------------------------------

> OBJ
> DROP   m v p

Replace this with:

EVAL \-> m v p

Now you don't need to DROP the object
count on the stack.

>           ELSE
>           "CANCEL"  TAG
>            END

Replace this with:

ELSE
"CANCEL"
END

There is no object for TAG in your program.

Where are the values for zTEMP and fname?

>    =AB  0 'utpn'

Should be \<< 0 'utpn' STO
```
 0

```On Jul 8, 10:57=A0pm, xtian1963 <cristian.arredo...@vtr.net> wrote:
> On 8 jul, 20:43, PremiumBlend <mnhollin...@yahoo.com> wrote:
>
> > On Jul 8, 6:15=A0pm, xtian1963 <cristian.arredo...@vtr.net> wrote:
>
> > > This program is created to calculate a Z value, given a p value
> > > between 0.0 to 1.0
> > > using the UTPN function. =A0To make it run on HP50G.
>
> I fix the problem
>
> Xtian

Glad you got it to work! I was curious about how your
program works so I got out my college statistics book
but it has been too long since I studied the book and
I couldn't figure out your program.
```
 0

```On Jul 8, 10:57=A0pm, xtian1963 <cristian.arredo...@vtr.net> wrote:
> On 8 jul, 20:43, PremiumBlend <mnhollin...@yahoo.com> wrote:
>
> > On Jul 8, 6:15=A0pm, xtian1963 <cristian.arredo...@vtr.net> wrote:
>
> > > This program is created to calculate a Z value, given a p value
> > > between 0.0 to 1.0
> > > using the UTPN function. =A0To make it run on HP50G.
>
> I fix the problem
>
> Xtian

Can you please post an example problem along
with the input?
```
 0

```On 8 jul, 23:25, PremiumBlend <mnhollin...@yahoo.com> wrote:
> On Jul 8, 10:57=A0pm, xtian1963 <cristian.arredo...@vtr.net> wrote:
>
> > On 8 jul, 20:43, PremiumBlend <mnhollin...@yahoo.com> wrote:
>
> > > On Jul 8, 6:15=A0pm, xtian1963 <cristian.arredo...@vtr.net> wrote:
>
> > > > This program is created to calculate a Z value, given a p value
> > > > between 0.0 to 1.0
> > > > using the UTPN function. =A0To make it run on HP50G.
>
> > Thanks Premiumblend
> > I fix the problem
>
> > Xtian
>
> Can you please post an example problem along
> with the input?

Ok.

alpha=3D0.01 then return Z=3D - 2.326 and
alpha=3D0.99 return Z=3D2.326

Here the final program in userRPL

=AB
"GET Z GIVEN ALPHA "
{
{ "=8C" "ALPHA VALUE TO GET  Z" 0 }

}
{ 1 4 }
{ }
{ }
INFORM
IF
THEN
OBJ ->
DROP -> A

=AB

=AB
0 1 Z UTPN  A -
=BB

'Z'
0
ROOT
'Z' PURGE
-> X
'X*(-1)'
EVAL 3 RND
"VALOR DE Z :" SWAP + CLLCD MSGBOX
=BBELSE
"CANCEL"  CLLCD MSGBOX
END
=BB

```
 0
Reply xtian1963 7/10/2009 2:27:51 AM

```On Jul 9, 10:27=A0pm, xtian1963 <cristian.arredo...@vtr.net> wrote:
> On 8 jul, 23:25, PremiumBlend <mnhollin...@yahoo.com> wrote:
>
>
>
>
>
> > On Jul 8, 10:57=A0pm, xtian1963 <cristian.arredo...@vtr.net> wrote:
>
> > > On 8 jul, 20:43, PremiumBlend <mnhollin...@yahoo.com> wrote:
>
> > > > On Jul 8, 6:15=A0pm, xtian1963 <cristian.arredo...@vtr.net> wrote:
>
> > > > > This program is created to calculate a Z value, given a p value
> > > > > between 0.0 to 1.0
> > > > > using the UTPN function. =A0To make it run on HP50G.
>
> > > Thanks Premiumblend
> > > I fix the problem
>
> > > Xtian
>
> > Can you please post an example problem along
> > with the input?
>
> Ok.
>
> alpha=3D0.01 then return Z=3D - 2.326 and
> alpha=3D0.99 return Z=3D2.326
>
> Here the final program in userRPL
>
> =AB
> "GET Z GIVEN ALPHA "
> {
> { "=8C" "ALPHA VALUE TO GET =A0Z" 0 }
>
> }
>
> { 1 4 }
> { }
> { }
> INFORM
> IF
> THEN
> OBJ ->
> DROP -> A
>
> =AB
>
> =AB
> =A00 1 Z UTPN =A0A -
> =BB
>
> 'Z'
> 0
> ROOT
> 'Z' PURGE
> -> X
> 'X*(-1)'
> EVAL 3 RND
> "VALOR DE Z :" SWAP + CLLCD MSGBOX
> =BBELSE
> "CANCEL" =A0CLLCD MSGBOX
> END
> =BB- Hide quoted text -
>
> - Show quoted text -

Thanks!
```
 0

```On Jul 13, 7:53=A0pm, PremiumBlend <mnhollin...@yahoo.com> wrote:
> On Jul 9, 10:27=A0pm, xtian1963 <cristian.arredo...@vtr.net> wrote:
>
>
>
> > On 8 jul, 23:25, PremiumBlend <mnhollin...@yahoo.com> wrote:
>
> > > On Jul 8, 10:57=A0pm, xtian1963 <cristian.arredo...@vtr.net> wrote:
>
> > > > On 8 jul, 20:43, PremiumBlend <mnhollin...@yahoo.com> wrote:
>
> > > > > On Jul 8, 6:15=A0pm, xtian1963 <cristian.arredo...@vtr.net> wrote=
:
>
> > > > > > This program is created to calculate a Z value, given a p value
> > > > > > between 0.0 to 1.0
> > > > > > using the UTPN function. =A0To make it run on HP50G.
>
> > > > Thanks Premiumblend
> > > > I fix the problem
>
> > > > Xtian
>
> > > Can you please post an example problem along
> > > with the input?
>
> > Ok.
>
> > alpha=3D0.01 then return Z=3D - 2.326 and
> > alpha=3D0.99 return Z=3D2.326
>
> > Here the final program in userRPL
>
> > =AB
> > "GET Z GIVEN ALPHA "
> > {
> > { "=8C" "ALPHA VALUE TO GET =A0Z" 0 }
>
> > }
>
> > { 1 4 }
> > { }
> > { }
> > INFORM
> > IF
> > THEN
> > OBJ ->
> > DROP -> A
>
> > =AB
>
> > =AB
> > =A00 1 Z UTPN =A0A -
> > =BB
>
> > 'Z'
> > 0
> > ROOT
> > 'Z' PURGE
> > -> X
> > 'X*(-1)'
> > EVAL 3 RND
> > "VALOR DE Z :" SWAP + CLLCD MSGBOX
> > =BBELSE
> > "CANCEL" =A0CLLCD MSGBOX
> > END
> > =BB- Hide quoted text -
>
> > - Show quoted text -
>
> Thanks!

I think there is a condition missing after IF, it should be IF
(condition here) THEN (action) ELSE ("cancel" etc..) END
the program "works" because there is no condition so it takes always
the same way. When does it execute the "CANCEL"  CLLCD MSGBOX part???
```
 0
Reply elturco 7/14/2009 11:27:32 AM

```On Tue, 14 Jul 2009 06:27:32 -0500, elturco wrote:

> I think there is a condition missing after IF, it should be IF
> (condition here) THEN (action) ELSE ("cancel" etc..) END
> the program "works" because there is no condition
> so it takes always the same way.

There is actually no requirement for anything between the words, e.g.
IF THEN ELSE END is perfectly valid.

While executing, "IF" performs no action at all,
and is essentially just a "human pleasing" but otherwise superfluous wor=
d;
"THEN" evaluates whatever is on stack level 1, to decide,
based on its numerical value (non-zero or zero),
which "branch" of the structure to take
(the branch between THEN and ELSE,
or the branch between ELSE and END);
if that branch is empty of actions, so be it.

Another way to put this is that
IF a THEN b ELSE c END
is equivalent to
a IF THEN b ELSE c END

It is of course more cosmetically appealing
(and more indicative of what is being tested)
to include that which is being tested
between IF and THEN; however, it may also even precede IF.

"Program streamliners" even exist
which remove "unnecessary" run-time tokens like "IF," "UNTIL,"
and even "program delimiters" \<< and \>> from UserRPL programs,
to reduce their byte count and to run slightly faster;
however, once those "unnecessary" tokens are removed,
the decompiled program no longer has acceptable syntax,
and can no longer be revised via onboard editing:

"CutRPL and StripRPL"
http://www.hpcalc.org/details.php?id=3D1870
http://www.hpcalc.org/hp48/programming/misc/cutstrip.zip
NOTE: these are supplied as binaries for original HP48[S/G] only, not HP=
49/50.

[r->] [OFF]
```
 0
Reply John 7/14/2009 4:33:05 PM

```On Jul 14, 1:33=A0pm, "John H Meyers" <jhmey...@nomail.invalid> wrote:
> On Tue, 14 Jul 2009 06:27:32 -0500, elturco wrote:
> > I think there is a condition missing after IF, it should be IF
> > (condition here) THEN (action) ELSE ("cancel" etc..) END
> > the program "works" because there is no condition
> > so it takes always the same way.
>
> There is actually no requirement for anything between the words, e.g.
> IF THEN ELSE END is perfectly valid.
>
> While executing, "IF" performs no action at all,
> and is essentially just a "human pleasing" but otherwise superfluous word=
;
> "THEN" evaluates whatever is on stack level 1, to decide,
> based on its numerical value (non-zero or zero),
> which "branch" of the structure to take
> (the branch between THEN and ELSE,
> or the branch between ELSE and END);
> if that branch is empty of actions, so be it.
>
> Another way to put this is that
> IF a THEN b ELSE c END
> is equivalent to
> a IF THEN b ELSE c END
>
> It is of course more cosmetically appealing
> (and more indicative of what is being tested)
> to include that which is being tested
> between IF and THEN; however, it may also even precede IF.
>
> "Program streamliners" even exist
> which remove "unnecessary" run-time tokens like "IF," "UNTIL,"
> and even "program delimiters" \<< and \>> from UserRPL programs,
> to reduce their byte count and to run slightly faster;
> however, once those "unnecessary" tokens are removed,
> the decompiled program no longer has acceptable syntax,
> and can no longer be revised via onboard editing:
>
> "CutRPL and StripRPL"http://www.hpcalc.org/details.php?id=3D1870http://ww=
w.hpcalc.org/hp48/programming/misc/cutstrip.zip
> NOTE: these are supplied as binaries for original HP48[S/G] only, not HP4=
9/50.
>
> [r->] [OFF]

John you are right as always, but as you said:
> Another way to put this is that
> IF a THEN b ELSE c END
> is equivalent to
> a IF THEN b ELSE c END
where is "a" in the program??? .....I think that the INFORM part is
not working as a condition.
```
 0
Reply elturco 7/15/2009 1:11:55 PM

```On Wed, 15 Jul 2009 08:11:55 -0500, elturco wrote:

>> Another way to put this is that
>> IF a THEN b ELSE c END
>> is equivalent to
>> a IF THEN b ELSE c END

> where is "a" in the program??? .....I think that the INFORM part
> is not working as a condition.

Well, I never actually looked at the program :)

But INFORM does return a true/false value (1 or 0) on the stack,
so in this case it could be:

IF @form data here@ INFORM THEN ...
-vs-
@form data here@ IF INFORM THEN ...
-vs-
@form data here@ INFORM IF THEN ...

It's immaterial where you put "IF,"
so long as you don't overlap any two structures,
because the word "IF" is basically for appearance sake,
and doesn't actually perform any function at run-time.

There are also "invisible" things within UserRPL programs,
which have the opposite characteristic of being essential for functioning
at run-time, but invisible or absent in the "source text" form
of a UserRPL program -- the UserRPL compiler and decompiler,
which are so well concealed that one may not even sense their presence,
are always transforming between the imaginary world of UserRPL syntax in text form
and the actual RPL world where things execute internally.

SysRPL is more literal, where everything is completely explicit,
but UserRPL is a bit of an illusion, creating a more user-friendly fuzzy feeling,
while hiding the more messy details below the surface, like Disneyland :)

[r->] [OFF]
```
 0
Reply John 7/15/2009 2:10:13 PM

13 Replies
250 Views

Similar Articles

12/13/2013 3:43:26 PM
page loaded in 66506 ms. (0)

Similar Artilces:

Noob programer request help!
Hi - im really lost in java and i wonder if u guys could give me sometips for learn the language - or how did u started, often i sit infront jcreator and i dont know what to do, i have tryed books i reallyhave, but i dont seem to find the right way to learn please give mesome tips and advise of how i should start or any info that wouldhelp.sorry my bad typing.thx for the help.. rodrigo.aros.m@gmail.com wrote:> Hi - im really lost in java and i wonder if u guys could give me some> tips for learn the language - or how did u started, often i sit in> front jcreator and i dont know what to...

A request for programming help (SciTE + Tcl)
I like to use the SciTE editor. It is small and really easy to add my own commands (I don't grok modifying Vim very well). SciTE works using lexers. Currently the Tcl lexer is running piggyback on the C/C++ lexer and consequently sometimes complex Tcl statements do not get the syntax highlighting done right. I would like to have Tcl become a first class lexer under Scintilla/SciTE. I know time isn't free. If you do not want to volunteer to be the Tcl lexer maintainer then tell me on my wiki site (http://wiki.tcl.tk/11367) what you think it would cost for your time to fix it. Robert ...

shell programming newbie requests help
Howdy: I've been a software engineer for twenty years and I've written plenty of shell scripts, but I can't figure out how to invoke an editor and put the process in the background. ie. Right now I do textedit filename &. It would be nicer to type ed filename. I've read the faq, but this apparently is too simple of a question. thanx if you decide to help me. Oh I'm using c shell under solaris on al old ultra spark. Joe In article <20050204220042.17863.00000397@mb-m07.aol.com>, josefeng@aol.com (Josefeng) wrote: > Howdy: > > I've been a so...

Help Requested Applying Minimum Surveying Routine to Program
I've written a fortran 90/95 program to do a parametric study over a range of 3 variables. This results in a structured program with 4 embedded loops as I am doing a Newton-Raphson iterative scheme for one of the variables. An outline of my program looks something like the following: program ... ! Parameters, variables, and arrays defined here open(unit=35,file='...',status='...',position='...') do i = 1, npts + 1 do j = 1, npts + 1 do k= 1, npts + 1 do n = 1, nsteps ! Define initial arrays theta(i,j,k,n) = ... T...

I have a problem with a struts program that appears to be occuring randomly much more lately than it did before(if at all!) The problem appears to be losing it's request values while in the middle of a struts program flow. For example, I have a flow set up to navigate thru 4-5 screens, however, after 2nd, 3rd(usually) or 4th screen, the flow will sometimes navigatate back to the beginning as if stuck in a loop. The reason is because the action value is being reset as null which then assumes it is the first time into the program thus looping. It's like the flow is sometimes 'losing...

Request help as to why this OpenGL program fails
I am new to OpenGL and have just started trying to work with it. My goal in this program is to render a square to an offscreen buffer using a single color with float precision and then readback the data. The compilation is success. However when I execute the program I get an GL error of illegal operation when I try to attach the texture to the frame buffer. I have not been able to figure out why I get this error here. The next issue is I get an invalid enumeration when I try to readback the pixels from the texture. Any help will be greatly appreciated, Aaron fyi: source code #ifdef HA...

Looking for a module/program author, or help with program...
I've attempted to post earlier, but could not find the message... My apologies if this is a repeat, or if in a inappropriate group, but: On sourceforge, Andr=E9s L=F3pez (andres32a on sourceforge) posted a GPL'd script for speedreading called Speed Your Read (project name speedread). Unfortunately, although he lists the project as being GPL, and multi-platform, the only code that is available on SF is a perl2exe "compiled" script. Ie. this is a package that was compiled to a Windows exe using the IndigoStar perl2exe program. It has the script, installer, and an instance ...

QUESTION: Write a program that opens and read a text file and records how many times each word occurs in the file. Use a binary search tree modified to store both a word and the number of times it occurs. After the program has read the file, it should offer a menu with three choices. the first is to list all the words along with the number of occurences. The second is to let you enter a word, with the program reporting how many times the word occured in the file. The third is to quit. This quesiton is from the book C Primer Plus 5th edition by Stephen Prata. Chapter 17 question 7. I read the ...

Help: Communicating between a Windows .exe program and an IDL program
I have a Windows program that is a GUI. I have an IDL program that can do the underlying work. I would like to control the IDL program with the Windows GUI. My though would be to use sockets. Would this be viable? Could I have a widget interface that would work asynchronously to communicate with the GUI over the socket? Any help or recommendations would be appreciated. -Marco ======================== Marc Reinig UCO/Lick Observatory Laboratory for Adaptive Optics Unless you are significantly dislike windows, know nothing about COM+ and nothing about VB then you might want to avoi...

help me with the program
Jumble : A text file contains a few words (word doesn't include spaces and is case-insensitive), each word on a separate line. The input will be a scrambled form of a word from that file. You need to find out the actual word (Unjumbled) and any such words that can be generated from it. Sample text file (dictionary.txt): star rats eat ate nero Sample I/p: Enter the word: tars Sample o/p: star rats Sample I/p 2: Enter the word: rone Sample o/p 2: nero "sahu" <sworensahu@gmail.com> writes: > Jumble : > A text file contains a few words (word doesn...

help me with a program
How to create a java program to validate date and email id entered.Ithink an algorithm will also do just fine. I am still learning javaplease help. On Jul 26, 7:09 am, boris <mailla...@gmail.com> wrote:> How to create a java program to validate date and email id entered.I> think an algorithm will also do just fine. I am still learning java> please help.First, you should give a better subject line when posting here. "Helpwith Date and Email validation" would have been better. And simply"Date and Email validation" would have been even better.Back to your ques...

request help
I need to invert a real function of two real variables Dis[r, n] with respect to the first variable r, while the second variable n is fixed. The function is rather difficult, that I couldn't invert it. this is kindly request you to write me any comments on the attached notebook. Many thanks for any help, Berihu Dis[r_, n_] := 1/4 (2 (-2 + Sqrt[(1 + 2 n)^2]) Log[-2 + Sqrt[(1 + 2 n)^2]] - 2 (2 + Sqrt[(1 + 2 n)^2]) Log[ 2 + Sqrt[(1 + 2 n)^2]] - (-2 + Sqrt[(1 + 2 n)^2 Cosh[2 r]^2]) Log[-2 + Sqrt[(1 + 2 n)^2 Cosh[2 r]^2]] + (2 + Sqrt[(1 + 2 n)...

request for help
pls i need help: i have copied the following from a book and tried to make it work: import math def area(radius): return math.pi * radius**2 def circumference(radius): return 2 * math.pi * radius i saved the above program from python shell into a file as "circle.py" . = when i type "import circle" i get error.. kind regards= ...

Program request.
I probably won't get a response to such a thing but I am looking for someone to write a program for me, which would also be useful to people all around the world. There are several programs availible to dart players, some are pretty good... although none give a perfect yard stick to how good you really are. Basically I'm asking for a program in which you type in your scores in a leg of 501, and the program records your Overall Dart average, 3 dart average, checkout %, Monthly, Weekly and maybe yearly Dart averages, average darts per leg, top 10 highest checkouts, top 10 legs. All reco...

Help request.
Hi, i'm new to javascript. I started studing it on the web few weeks ago, but still haven't been able to solve one big problem. I want to write a website for showing my photographs, so i have a central page with many links (as many as subpages), built with a for-loop in the following way: document.write(' <a onClick="selected_gal=curr_gal; make_frameset(selected_gal)">'); document.write(' <img src="../Images/gal_'+curr_gal+'_tn.jpg" width="120" height="120" border="0">'); ...

Help requested
I have a powerbook G3, on which I tried to use a quite old version of Norton Utilities. It screwed up something important pretty soon when I tried running the Disk Doctor program. It crashed the computer and now it won't even boot up, it just shows the image of a disk with flashing ? on it. Will newer Norton Utilities (for my MacOS 9.2) fix the problem if I load it as CD or is there some other way I can get back to using the powerbook without losing all the GBs of stuff I had on it? Thanks in advance for help. Aditya In article <58eeb2f3.0309152338.74094144@posting.google.com>, Ad...

program help
hi people. i'm new with this language. i'm asking if someone has a phone book list implemented in prolog. By the way, which is the best place to find help about prolog in the internet? is there any irc channel? thanks, noelferreira On 14 Jan 2007 16:06:46 -0800, nj_f@clix.pt wrote: >hi people. i'm new with this language. i'm asking if someone has a >phone book list implemented in prolog. Implement yourself, you will be not new anymore :) >By the way, which is the best place to find help about prolog in the >internet? is there any irc channel? > This is the...

help for program
Error is: error 250 - You cannot assign an expression of type REAL(KIND=1) to a variable of type TYPE(ALBERO) WHY? !Variabili Globali module Var !Struttura type E character(50):: Parola integer::Freq; end type E type Albero type (E) E; type (Albero), pointer::s; type (Albero), pointer::d; end type Albero character, allocatable :: Parola; Type (Albero),pointer :: Tree, TreeF end module Var !Funzione che crea l'abero delle frequenze partendo dall'abero ordinato per alfabeto Recursive subroutine CreaAlberoF(t) use Var ...

Programming help !!
Hellow, I have following 4 variables. AGE HEIGHT STATUSCODE group And it has follwoing values. 34 73 PC Control 23 69 PC Control 34 68 PC Control =3D> So we can define the data A as follows: data A ; input AGE HEIGHT STATUSCODE \$ group \$; cards; 34 73 PC Control 23 69 PC Control 34 68 PC Control run; How can I print thoes values in follwoing way to output window? (34,73,'PC','Control'); (23,69,'PC','Control'); (34,68,'PC','Control'); Kijoeng , I am not sure what you mean by output window, I am assuming the Listing window: dat...