## johna

01-03-2014, 08:48 PM

Hi, I wonder if someone could please help.

After reading many posts about using Cas commands/functions in Home view, I think I am now totally confused AND frustrated.

I have written a program which requests the user to input a function and this is then stored in F1. I then use a loop to generate a table of values based on a start and end value (interval) using a step increment. I store these values in list, say L1.

This works well for any non Cas function, eg e^X, Sin(X), X^2 etc.

The problems start when a Cas function is entered, for example int(Sin(X^2),X,0,X).

I have tried various suggestions in my program to correctly evaluate this function eg:

1. L1(1):=Cas('F1(.1)')

2. L1(1):=Cas("F1(.1)")

3. L1(1):=Eval(Cas('F1(.1)') etc,etc.

I either get some value*X, or incorrect values or just plain 0.

I hope I have explained the problem in an understandable manner.

Thanks for any advice.

John

After reading many posts about using Cas commands/functions in Home view, I think I am now totally confused AND frustrated.

I have written a program which requests the user to input a function and this is then stored in F1. I then use a loop to generate a table of values based on a start and end value (interval) using a step increment. I store these values in list, say L1.

This works well for any non Cas function, eg e^X, Sin(X), X^2 etc.

The problems start when a Cas function is entered, for example int(Sin(X^2),X,0,X).

I have tried various suggestions in my program to correctly evaluate this function eg:

1. L1(1):=Cas('F1(.1)')

2. L1(1):=Cas("F1(.1)")

3. L1(1):=Eval(Cas('F1(.1)') etc,etc.

I either get some value*X, or incorrect values or just plain 0.

I hope I have explained the problem in an understandable manner.

Thanks for any advice.

John