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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Need help in using Mathcad

klian
1-Visitor

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?

ACCEPTED SOLUTION

Accepted Solutions
StuartBruff
23-Emerald III
(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 III
(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
25-Diamond I
(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.

Announcements

Top Tags