Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
i need to write a function and i have this problem. could someone help me with this ?
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.
i have to do something like this. picture one the bottom.
need help with piecewise function
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.
> 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