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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Programming - if statement

rayakannu2
6-Contributor

Programming - if statement

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

Thanks

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

Werner_E
25-Diamond I
(To:rayakannu2)

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,

Announcements

Top Tags