Skip to main content
1-Visitor
March 22, 2017
Solved

How to make a second variable equal to the first one simply

  • March 22, 2017
  • 3 replies
  • 1854 views

Hi! How can I define a second variable based on a previously calculated one? I calculated X and I'd like to define Y as equal to X, but I can't do it with a simple equal sign. I had to write a Given function for it.01.PNG

Best answer by Fred_Kohlhepp

What am I missing?

3 replies

23-Emerald I
March 22, 2017

What am I missing?

1-Visitor
March 22, 2017

The equal sign you used is an equality sign - used specifically for comparison (as in your given/find function).  What you want is the definition equal sign (written with a colon).

F1 := 10

F2 := F1

F2 = 10

dhuszta1-VisitorAuthor
1-Visitor
March 22, 2017

Thank you!

dhuszta1-VisitorAuthor
1-Visitor
March 22, 2017

Thank you! For some reason it didn't work, an error message popped up, that the variable is undefined. I just started a new Matchcad document and it works.