cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

the values cannot be compared. help

amedy?ski
1-Visitor

the values cannot be compared. help

i need to write a function and i have this problem. could someone help me with this ?

6 REPLIES 6
LucMeekes
23-Emerald III
(To:amedy?ski)

You have defined t as a range 1,2...123. You cannot compare a range with a scalar value.

{Note also that t>123 will not occur for the given range.}

What is it that you want to accomplish?

i need to write a function like this, i dont know how to write 3 variables of t. pomocy.png

i have to do something like this. picture one the bottom.
need help with piecewise function

Werner_E
25-Diamond I
(To:amedy?ski)

In that thread Richard showed you how to write F.TOT as a function of parameter t. You didn't do that.

You defined t as a  range from 1 to 123 - what did you expect to see as F.TOT?

BTW in your screenshot I dont see any > or < sign between t and 123!??

R

yes and it was very helpful. what i want to do is that instead of "4*5" there will be more complicated expresion(it was just an example) with parameter t in it. and than make a plot with FTOT and t to se how it changes.

Werner_E
25-Diamond I
(To:amedy?ski)

> and than make a plot with FTOT and t to se how it changes.

Thats exactly what a FUNCTION for F.TOT would be good for. But feeding it with values of t <123 would give you the very same result for every t !?

So make F.TOT a function again (add the "(t)") and then plot that fucntion over any t you like.

WE

Announcements

Top Tags