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

** Community Tip** - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email.
X

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

Apr 12, 2023
11:37 AM

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

Apr 12, 2023
11:37 AM

Solve

Hi I have a problem to show my results in a table where the column will be given "t" and the rows will be "Pwf". If there's anyone who can help me, please. In the picture I use only t_0 in the formula and I would like to use all values immediately and present the result in the matrix 4x11, help me, please

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

Apr 12, 2023
04:09 PM

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

Apr 12, 2023
04:09 PM

Can't debug a picture!

Problem seems to be that you like to use inline evaluations. By this I mean that you follow a definition immediately by an evaluation (=) like

x:=<calculatong term>= ...

While this is allowed it can sometime lead to unexpected and undesired results. Ist better to separate definition and evaluation:

One region: x:=<calculatong term>

and in a second region the evaluation x = ...

I guess that if you evaluate q in your sheet you would see a nice table (but with columns and rows exchanged).

Here is what I was talking about

Prime is not good in creating nice row and column headers and while its allowed to have quantities in different dimensions/units in one matrix, you are not allowed to change the units inside of the matrix and are restricted to the default units. Which means that you would see the time in seconds and not in years, etc.

Therefore in the following table I removed the units completely

Worksheet (P9) attached

6 REPLIES 6

Apr 12, 2023
01:12 PM

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

Apr 12, 2023
01:12 PM

Please attach your (Prime) worksheet file. That will allow us much better to help you.

By the way. Prime 'knows' the Euler constant:

Success!

Luc

Apr 12, 2023
02:22 PM

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

Apr 12, 2023
02:22 PM

Great advice on Euler's constant! Thank you very much. I am uploading my working file with my problem.

Sincerely, Kacper

Apr 12, 2023
01:55 PM

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

Apr 12, 2023
01:55 PM

Use the last formula for q0, which, as I think, should be the first column of your table.

use a double matrix index on the left hand side

and replace on the right hand side the variable P.wf by P.wf[i (P.wf with vector index i).

Or even better, simply replace the whole expression in parentheses (P.i-P.wf) by P.i*0.1*i

Variable q should now hold the table you are asking for.

Apr 12, 2023
02:34 PM

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

Apr 12, 2023
02:34 PM

Thank you very much for your suggestions, I tried something with your proposal but the results came out as I want for all time periods but only in one column.

Greetings

Apr 12, 2023
04:09 PM

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

Apr 12, 2023
04:09 PM

Can't debug a picture!

Problem seems to be that you like to use inline evaluations. By this I mean that you follow a definition immediately by an evaluation (=) like

x:=<calculatong term>= ...

While this is allowed it can sometime lead to unexpected and undesired results. Ist better to separate definition and evaluation:

One region: x:=<calculatong term>

and in a second region the evaluation x = ...

I guess that if you evaluate q in your sheet you would see a nice table (but with columns and rows exchanged).

Here is what I was talking about

Prime is not good in creating nice row and column headers and while its allowed to have quantities in different dimensions/units in one matrix, you are not allowed to change the units inside of the matrix and are restricted to the default units. Which means that you would see the time in seconds and not in years, etc.

Therefore in the following table I removed the units completely

Worksheet (P9) attached

Apr 13, 2023
11:18 AM

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

Apr 13, 2023
11:18 AM

Great solution! Thank you very much for such a comprehensive and well written solution to my problem 😁. I will definitely use it in the future, again Thank you and I'm closing the post.