Thread: pari
View Single Post
Old 2012-08-21, 05:42   #2
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

24E016 Posts
Default

Quote:
Originally Posted by devarajkandadai View Post
would be glad to receive step by step instructions to plot 2^n+ 7.
step 1: open pari/gp
step 2: write at the command prompt: plot(x=-10,10,2^x+7) and press enter

Code:
(12:40:06) gp > ?plot
plot(X=a,b,expr,{Ymin},{Ymax}): crude plot of expression expr, X goes from a to b, with Y ranging from Ymin to Ymax. If Ymin (resp. Ymax) is not
given, the minima (resp. the maxima) of the expression is used instead.

(12:40:10) gp > plot(x=-10,10,2^x+7)

     1031 |''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''"
          |                                                              :
          |                                                             :|
          |                                                             :|
          |                                                             x|
          |                                                             :|
          |                                                            : |
          |                                                            _ |
          |                                                            : |
          |                                                           :  |
          |                                                           x  |
          |                                                              |
          |                                                          _   |
          |                                                              |
          |                                                         x    |
          |                                                        _     |
          |                                                              |
          |                                                      _"      |
          |                                                     _        |
          |                                                   _"         |
          |                                               __x"           |
        0 ________________________________xxxxxxxxxxxxx""",,,,,,,,,,,,,,,,
          -10                                                           10
(12:40:54) gp >

Last fiddled with by LaurV on 2012-08-21 at 05:43 Reason: code
LaurV is offline   Reply With Quote