Author: CalicoZac
Subject: Max of Y1
Posted: 24 Mar 2013 06:12:20 pm (GMT -5)
Heres the snippet...
Lbl z0
ClrHome :ClrDraw
InputStr "Y1(X):",y: expr("Define Y1(x)="&y)
expr("Define y2(x)="&string(d(y1(x),x,3)))
expr("Define y3(x)="&string(fMax(y2(x),x)))
y3(x)»k
Prompt b,a,n
k(b-a)^3/(12*n^2)»e
Disp "E=",e
Disp exact(e)
Pause
throws me a "Argument must be an expression" error
Also, once i input all the values for the prompt, it throws a "Name is not a function or program" error on my equation...
k(b-a)^3/(12*n^2)»e
I don't understand why
Subject: Max of Y1
Posted: 24 Mar 2013 06:12:20 pm (GMT -5)
Heres the snippet...
Lbl z0
ClrHome :ClrDraw
InputStr "Y1(X):",y: expr("Define Y1(x)="&y)
expr("Define y2(x)="&string(d(y1(x),x,3)))
expr("Define y3(x)="&string(fMax(y2(x),x)))
y3(x)»k
Prompt b,a,n
k(b-a)^3/(12*n^2)»e
Disp "E=",e
Disp exact(e)
Pause
throws me a "Argument must be an expression" error
Also, once i input all the values for the prompt, it throws a "Name is not a function or program" error on my equation...
k(b-a)^3/(12*n^2)»e
I don't understand why