How to Solve Formulas with Given Values of Variables

  • Context: MHB 
  • Thread starter Thread starter username842
  • Start date Start date
Click For Summary
SUMMARY

This discussion focuses on solving formulas with given variable values, specifically using the example where x, y, and z are initialized to 1. The calculation involves substituting the values of y and z into the formula x = y * z, resulting in x = 1. After updating z with the operation z = z + 1, the new value of z becomes 2, while y remains unchanged at 1. The final values are x = 1, y = 1, and z = 2.

PREREQUISITES
  • Basic understanding of algebraic formulas
  • Familiarity with variable assignment
  • Knowledge of arithmetic operations
  • Experience with mathematical problem-solving techniques
NEXT STEPS
  • Study algebraic expressions and their evaluations
  • Learn about variable manipulation in programming languages
  • Explore mathematical modeling techniques
  • Investigate the use of formulas in data analysis
USEFUL FOR

This discussion is beneficial for students learning algebra, educators teaching mathematical concepts, and anyone interested in understanding variable manipulation in formulas.

username842
Messages
1
Reaction score
0
Hi how would you solve formula such as this?

example

x=1
y=1
z=1

x = y * z
z = z + 1

x=?
y=?
z=?
 
Mathematics news on Phys.org
username842 said:
Hi how would you solve formula such as this?

example

x=1
y=1
z=1

x = y * z
z = z + 1

x=?
y=?
z=?

(Wave)You just have to replace the values of $y,z$ .

So you have to calculate $x=y \cdot z$ and you know that $y=1, z=1$. Therefore $x=1 \cdot 1=1$.

Then $z=z+1$.We know that $z=1$, so $z=1+1=2$.
The value of $y$ doesn't change , so $y=1$.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
1
Views
2K