Jump to content



Photo
- - - - -

Help With Fmax(


  • Please log in to reply
4 replies to this topic

#1 Alivezombie16

Alivezombie16

    Newbie

  • Members
  • Pip
  • 2 posts

  • Calculators:
    Fx-9750G PLUS

Posted 16 January 2007 - 09:58 PM

Ok, so I want to get the maximum value of a function on an interval, so i use fmax(f(x),a,b,n) just like it says in the manual. This works fine, it gives me the answer in what looks like a 2x1 matrix with the x-value on top and the y-value on the bottom. Now I would like to store the values somehow. I have tried variables, and matrices.
An answer would be helpful because I am editing an integral program, and I want to use the max and min of the fucntion as the parameters for the ViewWindow. So if anyone could help me with this, or show me a very good Riemann integration program, it would be helpful. Thanks in advance.

#2 TyYann

TyYann

    Casio Freak

  • Members
  • PipPipPipPip
  • 107 posts
  • Gender:Male
  • Location:Seoul, South Korea

  • Calculators:
    Casio fx-4000P (since 1988)
    Casio CFX-9850GB PLUS
    Sharp EL-9900
    Casio fx-9860G SD
    Casio fx-9860GII SD
    Casio Graph 90+E
    TI-83 Premium CE (no Python)
    and a 25-column abacus...

Posted 17 January 2007 - 12:03 PM

The answer is a list. So you can store it in a list :

fmax(f(x),a,b,n) [->] List 1

#3 caspro

caspro

    Casio Freak

  • Members
  • PipPipPipPip
  • 216 posts

Posted 17 January 2007 - 03:18 PM

Here's a Riemann Sum program:
http://www.mth.msu.e...io/riemann.html

Typing - casio 9850 riemann sum - into Google brings up these two links:

http://www.casioeduc...nloads/cfx9850g

http://math.asu.edu/...RiemannSums.pdf

In the second link, it describes using the sigma command to do this instead of a program.

#4 Alivezombie16

Alivezombie16

    Newbie

  • Members
  • Pip
  • 2 posts

  • Calculators:
    Fx-9750G PLUS

Posted 17 January 2007 - 10:25 PM

ok, thanks, but now here arises another question. Let's say, for example I do fmax(x^2,0,2), this produces the result {2,4}. Now, how could I store that 4 into a variable so I could put that as my Ymax for the ViewWindow.

The goal of my program is to, given a function, left and right bounds, and # of divisions, tell you the definite integral and the approximate integral and then draw the rectangles/trapezoids. My teacher designed one, but it's for the TI-83/84, so it doesn't translate cleanly to the Casio. This seems to be the only thing holding me back from making the program, so help would be appreciated. Thanks.

#5 caspro

caspro

    Casio Freak

  • Members
  • PipPipPipPip
  • 216 posts

Posted 19 January 2007 - 04:42 PM

You can use:

Fmax(x^2,0,2)->List 1
List 12->Ymax

or

Fmax(x^2,0,2)
List Ans2->Ymax


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users