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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Programming - if statement

rayakannu2
6-Contributor

Programming - if statement

Can anyone help me correct this simple program using the "if statement"?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:rayakannu2)

8 REPLIES 8
rayakannu2
6-Contributor
(To:rayakannu2)

I was able to correct the problem!

Can anyone help with the plots?

Thanks

LucMeekes
23-Emerald III
(To:rayakannu2)

Is continued here:If Statement & Plots

rayakannu2
6-Contributor
(To:rayakannu2)

here is the xps file

Thanks

replace the last line "[x,y]"  by  "augment(x,y)".

You don't have to write a program:

This is excellent!!

rayakannu2
6-Contributor
(To:rayakannu2)

Fred, how do we get values of slope and y for a particular value of x?

If you look closely, you can find these expressions in your program

If you meant that   y' = 2(1+x) - y,

Top Tags