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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

I don't know why mathcad can't solve

jlee-2
1-Newbie

I don't know why mathcad can't solve

DFGDFG.PNG

GFG.PNG

I practiced integration. First picture is a example that I practiced

After practicing, I applied to my work with same method.

But I got error. I thought why error is generated althogh the method is same. I can't know.

11 REPLIES 11
MikeArmstrong
5-Regular Member
(To:jlee-2)

The first error I noticed was that you have typed f(r), instead of t(r).

I did again as changed f(r) to t(r). But I got error agian...

And it is right to type f(r).

you can know it thorugh first picture

Mike Armstrong wrote:

The first error I noticed was that you have typed f(r), instead of t(r).

No, thats not an error! f is just the formal parameter of his function T and can be named whatever he likes. When he calls his function he correctly used function name t as argument, so thats OK.

The reason the definite integral cannot be calculated is that the function is not continuous over the whole range - look at the plot. I have not looked too closely how this function is defined and why its not defined for a range of values because the sheet is too messy and confusing for me. But I guess the reason is the definition of function c() which will not return values for arguments between 5 and 6.5.

We have no problem with

2.png

Here is a plot of the function t

1.png

you are right. the reason that error is generated is due to c(r)

So I correct c(r) and then I get value.

very thank you much. If you don't help me, I can't know the reason.

Thank you very much.

Werner_E
24-Ruby V
(To:jlee-2)

Visual check by making a plot of the graph of a function often is a good idea.

MikeArmstrong
5-Regular Member
(To:Werner_E)

Werner Exinger wrote:

Visual check by making a plot of the graph of a function often is a good idea.

Great tip Werner

MikeArmstrong
5-Regular Member
(To:Werner_E)

Werner Exinger wrote:

Mike Armstrong wrote:

The first error I noticed was that you have typed f(r), instead of t(r).

No, thats not an error! f is just the formal parameter of his function T and can be named whatever he likes. When he calls his function he correctly used function name t as argument, so thats OK

No you are right, but a little pointless in this instance.

Mike Armstrong wrote:

Werner Exinger wrote:

Mike Armstrong wrote:

The first error I noticed was that you have typed f(r), instead of t(r).

No, thats not an error! f is just the formal parameter of his function T and can be named whatever he likes. When he calls his function he correctly used function name t as argument, so thats OK

No you are right, but a little pointless in this instance.

/servlet/JiveServlet/downloadImage/2-262508-81433/1.png

???

MikeArmstrong
5-Regular Member
(To:Werner_E)

I meant it was a little pointless passing f(r) as formal parameter of his function T in this instance as he was integrating T with set parameters.

After all so far we had seen there was no reason to define T() anyway. But of course this may only be the beginning and if T() is used more often throughout this sheet it would make sense.

MikeArmstrong
5-Regular Member
(To:Werner_E)

Fair point.

Top Tags