Help with using functions in tables

4 views
Skip to first unread message

Pat Flynn

unread,
Dec 15, 2009, 4:38:38 PM12/15/09
to tinspire
I am having trouble accessing a function in a lists and spreadsheet.
In the posted tns file (AP Conversion Scores), I am trying to have
column B calculate f1(column A). Am I missing something?


Pat Flynn,

Kansas City

Nelson Sousa

unread,
Dec 15, 2009, 5:29:21 PM12/15/09
to tins...@googlegroups.com
no, it should be as easy as you say.

Just type in "=f1(a[]" on column B's definition row and it should work
(as long as column A has data). You don't even need the brackets,
Nspire will add them for you.

Are you sure f1 is defined? Did you remember the = sign?

Cheers,
Nelson
> --
> To post to this group, send email to tins...@googlegroups.com
> To unsubscribe send email to tinspire+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
> The tns documents shared by group members are archived at
> http://lafacroft.com/archive/nspire.php

Pat Flynn

unread,
Dec 15, 2009, 9:51:11 PM12/15/09
to tinspire
my f1(x) is a piecewise function. Will that couse problems?
> >http://lafacroft.com/archive/nspire.php- Hide quoted text -
>
> - Show quoted text -

Nelson Sousa

unread,
Dec 16, 2009, 5:06:12 AM12/16/09
to tins...@googlegroups.com
Hmmm... that's an entirely different beast...

and you're right, it doesn't work (but it should!). With a piecewise
function defined using the template I also got the error. The problem
is that list<number returns a list of "true" and "false" statements
and that's neither true, nor false.

I've compiled a few examples (see attached file), using the piecewise
template as well as when statements, they all return unexpected
results. I think a close look at this issue is important.

Nelson
piecewise_and_spreadsheet.tns
Reply all
Reply to author
Forward
0 new messages