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: How to solve an equation with constant represe...

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

02-18-2021
07:36 PM

02-18-2021
07:36 PM

i dont't know how to solve an equation with constant like 'A' or 'B'

for example:

x+B=A

solve, x

it is available in MATHCAD 15, but not in Prime

how can i realize this function?

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

02-19-2021
05:44 AM

02-19-2021
05:44 AM

How can you input the "(x y)" ?

Its a matrix (1 row, 2 columns)

Keystrokes:

**Ctrl-M** (or simply type **[**)

**x**

**Shift-Space**

**y**

**:**

....

In Prime you get square brackets to indicate a matrix and you also may simply type square brackets to create a matrix.

12 REPLIES 12

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

02-18-2021
08:37 PM

02-18-2021
08:37 PM

Re: How to solve an equation with constant represented by letter

Prime can solve this, especially since it's pretty trivial.

Type the following

*A*:=5

*B*:=7

*A*=*x*+*B* (the equals sign here is CTRL-=)

Then, go to the Symbolics menu and click on the right arrow operator (→), which will place it after *A*=*x*+*B* (ignore the answer for now)

Go back to the Symbolics menu and click on the operator *solve*, which will place it above the right arrow operator, then type ,*x*

Hit the Enter key to get the answer of -2.

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

02-18-2021
08:46 PM

02-18-2021
08:46 PM

Re: How to solve an equation with constant represented by letter

@YZ_9729930 wrote:

i dont't know how to solve an equation with constant like 'A' or 'B'

for example:

x+B=A

solve, x

it is available in MATHCAD 15, but not in Prime

how can i realize this function?

Its the same in Prime as in MC15

Just use the symbolics if you are looking for a symbolic solution

Or use the root-function or a solve block for a numeric solution (you'll have to provide values for A and B in that case)

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

02-18-2021
10:37 PM

02-18-2021
10:37 PM

Re: How to solve an equation with constant represented by letter

Thanks, it works!

But how about the equation set like this?

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

02-19-2021
02:33 AM

02-19-2021
02:33 AM

Re: How to solve an equation with constant represented by letter

The solve block in Prime only works with numeric items, that is, it doesn't work with symbols alone.

If you provide numerical values for A and B, the solve block will give the numeric answers for x and y.

If you want to solve it purely symbolic (with no numeric values for A and B), use the symbolic solver:

You can even assign the results to the variables you solve for:

Note that the expression involving solve turns red. That is because the numeric processor complains that A and B are (numerically) unknown. But the symbolic processor doesn't mind, and symbolically evaluates x and y without problems.

Success!

Luc

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

02-19-2021
04:15 AM

02-19-2021
04:15 AM

Re: How to solve an equation with constant represented by letter

Thanks, i solved the issue.

One more question：

How can you input the "(x y)" ?

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

02-19-2021
05:44 AM

02-19-2021
05:44 AM

How can you input the "(x y)" ?

Its a matrix (1 row, 2 columns)

Keystrokes:

**Ctrl-M** (or simply type **[**)

**x**

**Shift-Space**

**y**

**:**

....

In Prime you get square brackets to indicate a matrix and you also may simply type square brackets to create a matrix.

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

02-19-2021
03:29 AM

02-19-2021
03:29 AM

Re: How to solve an equation with constant represented by letter

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

02-19-2021
04:12 AM

02-19-2021
04:12 AM

Re: How to solve an equation with constant represented by letter

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

02-19-2021
05:07 AM

02-19-2021
05:07 AM

Re: How to solve an equation with constant represented by letter

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

02-19-2021
08:33 PM

02-19-2021
08:33 PM

Re: How to solve an equation with constant represented by letter

but why i can't get the same result as you? I checked that everything is the same.

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

02-19-2021
10:58 PM

02-19-2021
10:58 PM

Re: How to solve an equation with constant represented by letter

Just change the on/off of the prime table menu.

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

02-21-2021
07:26 PM

02-21-2021
07:26 PM

Re: How to solve an equation with constant represented by letter

it works.

Thanks a lot!