Application of Stacks (Infix to Postfix) - Part 3

preview_player
Показать описание
Data Structures: Application of Stacks (Infix to Postfix) - Part 3
Topics discussed:
1) Infix expression to postfix expression conversion.
2) Evaluating the infix expressions.
3) Evaluating the postfix expressions.

Music:
Axol x Alex Skrindo - You [NCS Release]

#DataStructuresByNeso #DataStructures #Stacks #ApplicationOfStacks
Рекомендации по теме
Комментарии
Автор

=> 854^2+*62^93*/- (put '^' operator in between 5 and 4 which means 5^4 = 625)
=> 8 625 2+*62^93*/- (I put some space to make it easy to read...here 625 is treated as a single operand)
=> 8 625 2+*62^93*/- ( put '+' operator in between 625 and 2 which means 635+2)
=> 8 627 *62^93*/- (now put '*' operator in between 627 and 8 which means 8*627)
=> 5016 62^93*/- (now put '^' operator in between 6 and 2 which means 6^2)
=> 5016 36 93*/- (now put '*' operator in between 9 and 3 which means 9*3)
=> 5016 36 27/- (now put '/' operator in between 36 and 27 which means 36/27)
=> 5016 1.33 - (It's your choice to put decimal values or just the integer value)
=> 5016-1.33 = 5, 014.67 (ANS)

rabean
Автор

Wow i understood this the very first time just by watching your videos, thank you so much sir

theboysash
Автор

Sir according to my side 5014.67 is the right answer Please reply

motivation_with_harsh
Автор

Homework:
Given : 854^2+*62^93*/-
Using golden rule of thumb,
=> Treat every number as a single operand but after performing calculations the final ans is treated as a single operand...
=> e.g. 854^2 -> here every digit 8, 5, 4 and 2 are operands but after calculations...
=> 86252 -> here 625 is a single operand as it comes after the calculations i.e.5^4

=> Final solution:

=> 854^2+*62^93*/- (put '^' operator in between 5 and 4 which means 5^4 = 625)
=> 8 625 2+*62^93*/- (I put some space to make it easy to read...here 625 is treated as a single operand)
=> 8 625 2+*62^93*/- ( put '+' operator in between 625 and 2 which means 635+2)
=> 8 627 *62^93*/- (now put '*' operator in between 627 and 8 which means 8*627)
=> 5016 62^93*/- (now put '^' operator in between 6 and 2 which means 6^2)
=> 5016 36 93*/- (now put '*' operator in between 9 and 3 which means 9*3)
=> 5016 36 27/- (now put '/' operator in between 36 and 27 which means 36/27)
=> 5016 1.33 - (It's your choice to put decimal values or just the integer value)
=> 5016-1.33 = 5, 014.67 (ANS)

I tried to explain as much as possile.Hope it helps :)

Yash-qlpo
Автор

Hello Thank you very much. This film is very helpful for me.
and the answer is 5014.67

sadeghkhosravi
Автор

Hey! It would be very helpful if you could also post the solution for the homework question. I was left scratching my head for 10 minutes wondering if I was right or wrong! :D

hari-na
Автор

Sir please make a video on root locus. I searched many videos on YouTube regarding root locus but I couldn't find a proper video I mean according to my understanding. Your videos are really helpful, I have my exam approaching so if you could help I'll be very thankful sir.Thank you😊

Wonderer
Автор

wonderful videos just one suggestion if you could just write the lines below the previous line while solving problems it would be better instead of just deleting / editing the same line

suvojitbanerjee
Автор

OMG .... i wonder who is the person behind this genius idea, from where do this people get this idea from, real genius also perfect explanation neso it was very helpful for me

The_double_side
Автор

What if I have some unary operator in the expression like factorial or something?!

CodeWithElouali
Автор

Whats the solution?? Mine is coming as 5013.63

Sammyboooi
Автор

5014.6 is the answer of your question
And thanku sir 🙂

spanningtree
Автор

result 185.7?
pls reply @Neso Academy

vigneshkh
Автор

Mage yothiub chanalaya subscride karannako

pathummusicpm