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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Symbolic value propigation

creed-2
1-Visitor

Symbolic value propigation

Can a variable's symbolically obtained value be propagated to future uses of that variable?

I want my second expression to see c2 as zero.

12-19-2015 1-52-28 PM.png

ACCEPTED SOLUTION

Accepted Solutions
RichardJ
19-Tanzanite
(To:creed-2)

Use a numeric assignment with the symbolic solve:

To attach a file click on "Use advanced editor" at the top right of the edit dialog (it's not very obvious!).

View solution in original post

6 REPLIES 6
Werner_E
25-Diamond I
(To:creed-2)

Maybe that way:

There are sure other ways but you have to be more precise as to what you are really after at at the end.

Looks you have to solve a system of equations?

Next time please attach your worksheet, but as you are using Prime, you still have to provide a picture or a pdf printout because many of us (like me) cannot reat P3.1 files with our P.3.0 version of Prime.

WE

RichardJ
19-Tanzanite
(To:creed-2)

Yes, but not like that. The symbolic evaluation gives f''(0) as c2. The boolean equals and the 0 have no effect at all, they are just cosmetic, so c2 has not been assigned any value. The only way to assign a value to a variable is with a numeric assignment. That can be coupled with a symbolic operation, for example a solve, but in your case I can't tell you exactly what to do without seeing more of the worksheet.

creed-2
1-Visitor
(To:creed-2)

I've attached a simplified example of my question. If I want to use "x" later in my worksheet I have to redefine it after it's symbolically solved.

If my "y" or "w" variables change, the new value for "x" is no longer propagated.

Is there a technique that would keep me from refining "x" every time is value is effected?

12-21-2015 11-35-11 AM.png

*I'd add an attachment of the original file but am not seeing an option to do that, what am I missing?

RichardJ
19-Tanzanite
(To:creed-2)

Use a numeric assignment with the symbolic solve:

To attach a file click on "Use advanced editor" at the top right of the edit dialog (it's not very obvious!).

MJG
18-Opal
18-Opal
(To:creed-2)

append "x:=" to your equation that solves for x:

P.S. to add an attachment, select "Use advanced editor"

MJG
18-Opal
18-Opal
(To:creed-2)

Perhaps you could use this general solution to your original post:

Or, if w & L are previously defined, you could use this case-specific form instead:

Announcements

Top Tags