print without colon in Maple 6
flag
Messages 1 - 10 of 125 - Collapse all
/groups/adfetch?adid=Lm0GRxIAAABbJwmzhQWdPJdeTDw_UZ_GA-seRgWUrY1Re68AkUbKNw
print without colon in Maple 6  
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
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
1.  Dietmar Müller  
View profile  
 More options Jan 2 2001, 8:41 am
Newsgroups: comp.soft-sys.math.maple
From: Dietmar Müller <dietmar_muel...@t-online.de>
Date: Tue, 02 Jan 2001 14:35:30 +0100
Local: Tues, Jan 2 2001 8:35 am
Subject: print without colon in Maple 6
Hi,
is it possible to get an expression like   >print(`4*3=`,4*3);   without
a colon  i.e. 4*3=12?
I'm using Maple 6.

Thanks

D. Mueller


    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.
2.  Robert Israel  
View profile  
 More options Jan 2 2001, 4:06 pm
Newsgroups: comp.soft-sys.math.maple
From: isr...@math.ubc.ca (Robert Israel)
Date: 2 Jan 2001 21:06:04 GMT
Local: Tues, Jan 2 2001 4:06 pm
Subject: Re: print without colon in Maple 6
In article <3A51D922.F1C41...@t-online.de>,
Dietmar Müller  <dietmar_muel...@t-online.de> wrote:

>is it possible to get an expression like   >print(`4*3=`,4*3);   without
>a colon  i.e. 4*3=12?
>I'm using Maple 6.

I assume you mean, without a comma.  Try

> printf("4*3=%d",4*3);

Robert Israel                                isr...@math.ubc.ca
Department of Mathematics        http://www.math.ubc.ca/~israel
University of British Columbia            
Vancouver, BC, Canada V6T 1Z2

    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.
3.  Thomas Richard  
View profile  
 More options Jan 2 2001, 4:22 pm
Newsgroups: comp.soft-sys.math.maple
From: Thomas.Rich...@post.rwth-aachen.de (Thomas Richard)
Date: Tue, 2 Jan 2001 19:41:27 +0100
Local: Tues, Jan 2 2001 1:41 pm
Subject: Re: print without colon in Maple 6

Dietmar Müller wrote:
> is it possible to get an expression like   >print(`4*3=`,4*3);   without
> a colon  i.e. 4*3=12?

Yes, one way to achieve this is nprintf:

> nprintf("4*3=%a",4*3);

                                    4*3=12

Regards
Richie


    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.
Converting from decimal til binary system  
1.  Jesper Stocholm  
View profile  
 More options Jan 5 2001, 4:40 pm
Newsgroups: comp.soft-sys.math.maple
From: "Jesper Stocholm" <s...@stocholm.dk>
Date: Fri, 5 Jan 2001 22:38:38 +0100
Local: Fri, Jan 5 2001 4:38 pm
Subject: Converting from decimal til binary system
A very simple question:

How do I convert an integer to a binary ? I have only access to a
prompt-maple with no help, so I'm a bit stuck ...

i.e. I need to do something like

5 --> 101

/Jesper

--
http://stocholm.dk
MSN Messenger: jesperstoch...@hotmail.com
My PGP-key has expired. Get the new at http://stocholm.dk/key.txt


    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.
2.  Steve Bellenot  
View profile  
 More options Jan 5 2001, 5:11 pm
Newsgroups: comp.soft-sys.math.maple
From: belle...@math.fsu.edu (Steve Bellenot)
Date: 5 Jan 2001 22:08:59 GMT
Local: Fri, Jan 5 2001 5:08 pm
Subject: Re: Converting from decimal til binary system
In article <935eu6$op...@eising.k-net.dk>,

Jesper Stocholm <s...@stocholm.dk> wrote:
>A very simple question:

>How do I convert an integer to a binary ? I have only access to a
>prompt-maple with no help, so I'm a bit stuck ...

>i.e. I need to do something like

>5 --> 101

If you look for help using the ? syntax
> ?binary

Multiple matches found:
   operators,binary
   convert,binary

and continue with ?convert,binary you will discover

> convert(5,binary);

                                      101

or if you perhaps you would prefer

> convert(5,base,2);

                                   [1, 0, 1]

--
http://www.math.fsu.edu/~bellenot
bellenot <At/> math.fsu.edu
+1.850.644.7189 (4053fax)


    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.
two times "for"  
1.  Leonard Evens  
View profile  
 More options Jan 6 2001, 7:24 pm
Newsgroups: comp.soft-sys.math.maple
From: Leonard Evens <l...@math.nwu.edu>
Date: Sat, 06 Jan 2001 17:48:42 -0600
Local: Sat, Jan 6 2001 6:48 pm
Subject: Re: two times "for"

I checked printlevel.  Apparently Maple ups the printlevel required
to show results for nested loops and procedures.  It would be
interesting to see a discussion of why this is a good idea.

--

Leonard Evens      l...@math.nwu.edu      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208


    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.
2.  SPF  
View profile  
 More options Jan 6 2001, 8:34 pm
Newsgroups: comp.soft-sys.math.maple
From: SPF <fitzp...@maths.uwa.edu.au>
Date: Sun, 07 Jan 2001 09:28:50 +0800
Local: Sat, Jan 6 2001 8:28 pm
Subject: Re: two times "for"
I think the logic behind it is that once you have multiple loops or a
procedure you probably don't want to see intermediate results.  This is able
to be overridden by setting printlevel, but if you set, say, printlevel:=1000;
you will get a whole lot of information that may be useful for debugging or
finding out how Maple works, but try
printlevel:=1000; int(exp(x)*sin(x)^9,x);
if you want to see why it isn't generally a good idea... you find the method
that Maple uses to calculate the integral in glorious detail, but most people
would just want the answer.
I have printlevel:=2  in my init file and I don't find it often necessary to
raise that level much, except when Maple gives an obviously silly answer and I
want to know why, so that I can modify my procedure to avoid the problem.

Actually printlevel:=-1 is often useful when you don't want to see any results
at all, and your final answer is called Evens, say. Then print(Evens); will
give you the answer without seeing any garbage along the way.

--
Dr Simon Fitzpatrick, Senior Lecturer in Mathematics,
The University of Western Australia, Crawley WA 6009
Telephone +61 8 9380 3389, Facsimile +61 8 9380 1028.

    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.
pb with ploting domain  
1.  luc-michel  
View profile  
 More options Jan 7 2001, 6:18 am
Newsgroups: comp.soft-sys.math.maple
From: luc-michel <luc-mic...@wanadoo.fr>
Date: Sun, 07 Jan 2001 12:22:32 +0100
Local: Sun, Jan 7 2001 6:22 am
Subject: pb with ploting domain
I wish to represent the following domain:
( 1 / 2x ) < y < b/x and (2a) < x < ( x/2 )
But the defined domain is only drawing curves, it not was filled

How can I do this ?
regards
luc MICHEL


    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.
2.  Robert Israel  
View profile  
 More options Jan 8 2001, 2:20 pm
Newsgroups: comp.soft-sys.math.maple
From: isr...@math.ubc.ca (Robert Israel)
Date: 8 Jan 2001 19:18:40 GMT
Local: Mon, Jan 8 2001 2:18 pm
Subject: Re: pb with ploting domain
In article <3A585178.8C34B...@wanadoo.fr>,
luc-michel  <luc-mic...@wanadoo.fr> wrote:
>I wish to represent the following domain:
>( 1 / 2x ) < y < b/x and (2a) < x < ( x/2 )

                                 ^^^^^^^^^^^
I suspect there's a mistake here!

>But the defined domain is only drawing curves, it not was filled
>How can I do this ?

You might try "inequalities" in my Maple Advisor Database,
http://www.math.ubc.ca/~israel/advisor.

Robert Israel                                isr...@math.ubc.ca
Department of Mathematics        http://www.math.ubc.ca/~israel
University of British Columbia            
Vancouver, BC, Canada V6T 1Z2


    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.
3.  luc-michel  
View profile  
 More options Jan 11 2001, 1:06 pm
Newsgroups: comp.soft-sys.math.maple
From: luc-michel <luc-mic...@wanadoo.fr>
Date: Thu, 11 Jan 2001 19:06:13 +0100
Local: Thurs, Jan 11 2001 1:06 pm
Subject: Re: pb with ploting domain
I wish to represent the domain limited by the curve :
y = 2x ; y=x/2 ; y=2/x ; y=1/(2x)
try it ! it doesn't run !!!!

Robert Israel a écrit :


    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
©2010 Google