Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

May 05, 2017
05:55 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

May 05, 2017
05:55 AM

i have to define "n" functions variable with the index "i"

i have to define "n" functions variable with the index "i" that goes from 1 to n, in the same way usually is defined a n components vector. The problem here is that the components are not numbers but functions y=f(x). Than i have to do the summation of these functions as you can see from the file attached. How can i define these functions? i have tryied but mathcad doesn't recognise it.

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

May 05, 2017
10:17 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

May 05, 2017
10:17 AM

I would suggest to create a function Mx(,x,i) instead.

In your sheet there are a lot of undefined variables and also the undefined function Mxf

Its not clear to me which expression are summed up in your sums.

It looks hat X[i and the second Mx(x)[i are NOT inside the sum which sums up for i.

Your function Mx has no return value for x=0 and x=a (also not for x outside of [0;A]) - it should have a return value for any input. Set it to 0 or to NaN in those cases.

4 REPLIES 4

May 05, 2017
10:17 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

May 05, 2017
10:17 AM

I would suggest to create a function Mx(,x,i) instead.

In your sheet there are a lot of undefined variables and also the undefined function Mxf

Its not clear to me which expression are summed up in your sums.

It looks hat X[i and the second Mx(x)[i are NOT inside the sum which sums up for i.

Your function Mx has no return value for x=0 and x=a (also not for x outside of [0;A]) - it should have a return value for any input. Set it to 0 or to NaN in those cases.

May 05, 2017
10:48 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

May 05, 2017
10:48 AM

thanks! now the functions Mx are defined. i just attached a part of the entire file.this is why a lot of functions and variables are not defined. the Xi and the second Xi has to be inside the sum which sums up for i. If i want to solve the equations that i wrote and find the Xi, how can i do? maybe i can define a vector X made of n components and in the equation i have to write the"i-th" component. Is it correct?

May 05, 2017
12:24 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

May 05, 2017
12:24 PM

> how can i do?

Maybe like in the attached filed.

I am not sure what you are trying to do.

You have just 1 equation but 101 variables to solve for!

Mathcad will adjust one of them so that this equation is fulfilled, Sure not what you intend, I guess.

In the attached sheet I have changed n:=100 to n:=10 because I am quite impatient 😉

May 07, 2017
10:32 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

May 07, 2017
10:32 AM

Thank you very much! but something doesn't work. Maybe i haven't explained well what i want to do. i have attached the entire file. Read just what i have written in english. i hope to have been more clear now!