Jamaica Mae M. Sumido ECE21S2: NAME: - Section
Jamaica Mae M. Sumido ECE21S2: NAME: - Section
Jamaica Mae M. Sumido ECE21S2: NAME: - Section
Sumido
NAME : _________________________
ECE21S2
Section: _____________________
A. Perform the indicated operation using MATLAB syntax. Write the MATLAB syntax and output on the space
provided. Upload this in your canvas include the screen shot of your MATLAB.
1.
2.
3. (3+5)(2)
4. 3+5(2)
5.
6.
7.
8.
9.
10.
5+6 - 22
3
11.
4
1
2 3 2
( 3 )( 3 6 )
12. 3 4 + 2
- 3 2 3 4
2
2
13.
B. Solve the following problem using MATLAB. Write the syntax and the MATLAB out put on the space provided.
1. Peter withdrew 10000 pesos from his bank account today. He uses 5000 to fix his car. Then, he divide the
money into 5 equal parts and gave away 4 parts and kept 1 part for himself. He took his wife to the
restaurant and spent 600 pesos on meals. The remaining cash was divided among his 5 children for their
allowance. Write a numerical expression in MATLAB syntax to represent this situation and then find how
F
Peter has no money left since he gave the
2. There were 42 mangoes in each crate. 12 such crates of mangoes were delivered to a factory. 4 mangoes
were rotten and had to be thrown away. The remaining mangoes were packed into boxes of 10 mangoes
each. Write a numerical expression in MATLAB syntax to represent this situation and then find how many