Get Help

Turn on suggestions

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

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Re: equation

Options

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

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

Showing results for

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

10-18-2019
03:52 AM

10-18-2019
03:52 AM

hello everyone I try to use help quick sheets and I wrote the following eq but I get the red line almost for all the results and I do exactly step by step im sure there is something missing here but I can not find it could you check it out and let me know what's is the problem

plz check the attachment

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

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

10-21-2019
01:32 PM

10-21-2019
01:32 PM

21 REPLIES 21

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

10-21-2019
01:01 PM

10-21-2019
01:01 PM

Re: equation

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

10-21-2019
01:32 PM

10-21-2019
01:32 PM

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

10-22-2019
01:40 AM

10-22-2019
01:40 AM

Re: equation

thank you for response I figured out , and I wrote it down, my question is , how this output plot change depend on R value, I mean I would like to add variable value of R from __0.1 to 5 ohm .__ in attached file r is fixed but I want make a loop with 5 different value of R .

thank you in advance

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

10-23-2019
04:54 AM

10-23-2019
04:54 AM

Re: equation

See this discussion: https://community.ptc.com/t5/PTC-Mathcad/Plotting-a-family-of-curves/m-p/43766

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

10-24-2019
01:48 AM

10-24-2019
01:48 AM

Re: equation

hank you for help but I could not find my answer , I need to find the out put with 4 different value of R I already made a R vector BUT I could not find solution

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

10-23-2019
11:51 PM

10-23-2019
11:51 PM

Re: equation

thank you for response I figured out , and I wrote it down, my question is , how this output plot change depend on R value, I mean I would like to add variable value of R from __0.1 to 5 ohm __ I attached the file .

thank you in advance

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

10-24-2019
10:21 AM

10-24-2019
10:21 AM

Re: equation

You will have to turn all constants which depend on R into functions of R and add R as additional argument to your existing functions.

I show it here for the first few expressions

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

10-25-2019
01:38 AM

10-25-2019
01:38 AM

Re: equation

I applied all the change you said and simplified the eq please check the plot . I made a R vector and it applied to all equation but as you see in picture it make no sense to me I need to show how I(current ) change due to different R, for that I need a 3 value plot which show G,I,R I tried 3d plot but it said value not defined could you explain how to make it

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

10-25-2019
01:58 AM

10-25-2019
01:58 AM

Re: equation

You did NOT apply all necessary changes.

What you show here is I's only dependent on phi, not on R.

From your remark I understand that you essentially need a 3-d plot. In that case follow my example of this thread: https://community.ptc.com/t5/PTC-Mathcad/equation/td-p/631776

Success!

Luc

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

10-25-2019
02:12 AM

10-25-2019
02:12 AM

Re: equation

this is almost the same eq that I post with some change it end up like that I used you example to write R vector but how to use G plot depend on fi and R I don't understand. please check the attachment there is 6 equations and I cant not apply those change to all of them

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

10-28-2019
09:28 AM

10-28-2019
09:28 AM

Re: equation

"there is 6 equations and I cant not apply those change to all of them "

Unfortunately, sometimes, to make the changes we need to requires a lot of modifying. Mathcad (15 and before) had a very robust and extremely useful "Find and replace," function for these kinds of changes. The one available in Prime is woefully underpowered and inadequate for the task.

Sorry! Start editing.

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

10-28-2019
03:20 AM

10-28-2019
03:20 AM

Re: equation

I don't know how to apply to all equation I've try as you said but not working

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

10-28-2019
06:07 AM

10-28-2019
06:07 AM

Re: equation

Attach your worksheet, saved as a Mathcad 11 .MCD file and I'll see if I can help you.

Success!

Luc

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

10-29-2019
01:59 AM

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

10-29-2019
06:52 AM

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

10-30-2019
02:20 AM

10-30-2019
02:20 AM

Re: equation

I really appreciate this. thank you so much , I do my best to learn Mathcad , every example you guys give I learn something new.

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

10-30-2019
10:53 AM

10-30-2019
10:53 AM

Re: equation

Nice!

...' irritation loop '...

well chosen designation, or typo?

Luc

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

10-30-2019
01:53 PM

10-30-2019
01:53 PM

Re: equation

@LucMeekes wrote:

Nice!

...' irritation loop '...

well chosen designation, or typo?

Luc

It should read "irritating loop", but 'irritation loop' is not so far away from what I had in mind 😉

Actually I am famous for my typos 😉

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

10-30-2019
02:12 PM

10-30-2019
02:12 PM

Re: equation

Oh, and I thought you had meant to write:

'iteration loop'

😲

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

10-28-2019
09:30 AM

10-28-2019
09:30 AM

Re: equation

There are two remarks to be made regarding the definition of the function G(phi):

There is a FOR loop that uses loop variable n, but n is not used further in the function.

There is a number of IF statements, covering the range 0 to 2pi, but what if phi is <0 or > 2pi...? You need an OTHERWISE.

Success!

Luc

Once more. Here's an example for a (plot of) a function of two variables:

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

10-29-2019
02:37 AM

10-29-2019
02:37 AM

Re: equation

luc thank you with response , IF function I use because each I (current ) has specific interval for example I2 FROM PI/3 TO 2PI/3 only that means each I has own phi just I need to check and study how R can effect current in equation