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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Need help in using Mathcad

klian
1-Newbie

Need help in using Mathcad

A sequence Ln is such that L1 = 0.2, L2 = 0.1 and

Ln = 2Ln-1 - 1.5Ln-2      ( n >= 3 )


Use Mathcad to determine the value of L43, giving your answer to 2 decimal places.


Need help to input this into Mathcad as i am new to this software... Thxs...

This is under which tutorial in Mathcad?

1 ACCEPTED SOLUTION

Accepted Solutions
StuartBruff
23-Emerald II
(To:klian)

Kok Kiang Lian wrote:

A sequence Ln is such that L1 = 0.2, L2 = 0.1 and

Ln = 2Ln-1 - 1.5Ln-2      ( n >= 3 )


Use Mathcad to determine the value of L43, giving your answer to 2 decimal places.


Need help to input this into Mathcad as i am new to this software... Thxs...

This is under which tutorial in Mathcad?

You will need to look for help about "range variables", plus basic expression entry and editing.  Here's an example of how to create a similar sequence

Stuart

View solution in original post

2 REPLIES 2
StuartBruff
23-Emerald II
(To:klian)

Kok Kiang Lian wrote:

A sequence Ln is such that L1 = 0.2, L2 = 0.1 and

Ln = 2Ln-1 - 1.5Ln-2      ( n >= 3 )


Use Mathcad to determine the value of L43, giving your answer to 2 decimal places.


Need help to input this into Mathcad as i am new to this software... Thxs...

This is under which tutorial in Mathcad?

You will need to look for help about "range variables", plus basic expression entry and editing.  Here's an example of how to create a similar sequence

Stuart

Werner_E
24-Ruby V
(To:klian)

Maybe you'd like zo create a function to get the n-th element of the series.

As you can see, the most obvious implementation (recursion) also is the most inefficient one.

Top Tags