Computers suck at Math (a painful discovery)

  Рет қаралды 11,456

Sahil & Sarra

Sahil & Sarra

5 ай бұрын

Computers can basic Math with fractions. Let me show you how.
► For more content like this, subscribe to our channel: / powercouple26
► Follow us on Linkedin:
/ gabag26
/ sarrabounouh
► Let's be FRIENDS! / power_couple26
► For business inquiries, reach us on: powercouplejourney@gmail.com
#programming #softwareengineer #coding
DISCLAIMER: All opinions shared on this channel are our own and don't express views or opinions of our employers. We only use our experiences and public knowledge to make our content. NO CONFIDENTIAL INFORMATION of our employers is used or shared on this channel. This is not a Professional Coaching channel, it only highlights the public resources that have worked for our careers.

Пікірлер: 64
@user-mo3mi5gr3o
@user-mo3mi5gr3o 3 ай бұрын
The solution for the question that you have asked is: Adding 0.1 with 0.1 is like adding 1/3 with 1/3 in decimal we get 2/3. 1/3 + 1/3 = 2/3. i.e 0.3333+0.3333=0.6666 We get the exact value of 2/3 when we add 1/3 with 1/3 Thank you sir Love from India ❤❤❤❤❤
@pankajpandit4086
@pankajpandit4086 4 ай бұрын
Hi sir, I always stuck in dynamic programming please make a video on it. This will help me and others.
@sahilandsarra
@sahilandsarra 4 ай бұрын
This video is coming soon
@adamidris2324
@adamidris2324 4 ай бұрын
Well adding 'f' to them all will solve the problem. 0.1f +0.2f is surely equal to 0.3f
@ByTechSolutions
@ByTechSolutions 4 ай бұрын
Always my mentor I thank you for your advice more so for an upcoming day Software Engineering like me
@sahilandsarra
@sahilandsarra 4 ай бұрын
Thanks 🙏
@lavoyageuse-jx9zs
@lavoyageuse-jx9zs 4 ай бұрын
Congratulations 500k ❤❤❤
@sahilandsarra
@sahilandsarra 4 ай бұрын
Thanks ❤️
@veljko1898
@veljko1898 4 ай бұрын
Hi, I really enjoy watching your videos and appreciate what you do. I have a question. I'm a bit confused. I'm currently in college, and , I started programming. I'm curious if you suggest those of us who haven't started our IT careers yet to follow your advice from one of the videos and begin by learning Java, and finding a job in that field, or can we directly start learning AI and look for junior positions in that field? I already covered basics of java and I am ready to to step to(guided projects) . But I now don't know is AI maybe better option?
@allaboinadivakar1976
@allaboinadivakar1976 4 ай бұрын
concept is just lit💥
@sahilandsarra
@sahilandsarra 4 ай бұрын
Thanks 🙏
@abhishekgurjar_google
@abhishekgurjar_google 4 ай бұрын
Please make a particular video on step to solving any coding problem by easy steps and quick like - read, test and Dry code etc , because upcoming video on this topic will help us in college and in interview please make video 🙏🏻 please make as soon as possible 🙏🏻
@Usercs13
@Usercs13 4 ай бұрын
Congratulations 500k🎉❤
@sahilandsarra
@sahilandsarra 4 ай бұрын
Thanks ❤️
@Rahul_Rao_001
@Rahul_Rao_001 4 ай бұрын
Thanks for the video , I'll try to solve .
@youssefelshahawy7623
@youssefelshahawy7623 4 ай бұрын
Can you talk about OOP and make a full guide or a complete roadmap for OOP & Data structure and algorithms for a specific language espicially python, java or c++ from begginer to an expert thank you for your great content ❤❤❤
@mahmoudomar530
@mahmoudomar530 4 ай бұрын
Thank you
@Abhijeet-sm5em
@Abhijeet-sm5em 4 ай бұрын
we can store numbers upto 2^32 by simple permutation and combination there are 2 ways to store number at each bit and there are 32 such places so 2 gets multiplied 32 times
@michaelkewl7056
@michaelkewl7056 4 ай бұрын
It never reaches a definite value which can be stored in memory. Btw, it was different this time as it didnt end with " I will see you in the next one." Thank you Sahil "Au revoir"🙂
@johnstephens2412
@johnstephens2412 4 ай бұрын
The only lecturer I need😊
@sahilandsarra
@sahilandsarra 4 ай бұрын
❤️
@zarimariam5572
@zarimariam5572 4 ай бұрын
I have tried your suggested courses and they are really good.Please suggest good courses on operating systems and computer networks.
@trendytech2402
@trendytech2402 4 ай бұрын
Post next video soon brother.. Cannot wait
@justnothingnet
@justnothingnet 4 ай бұрын
easy def func(a,b): if a == 0.1 and b == 0.2: print(0.3)
@UnyimeUdoh-ny3lp
@UnyimeUdoh-ny3lp 4 ай бұрын
Please can you make a video on recursion because the concept is somehow confusing. Thanks
@sahilandsarra
@sahilandsarra 4 ай бұрын
Will try cover in the upcoming videos
@UnyimeUdoh-ny3lp
@UnyimeUdoh-ny3lp 4 ай бұрын
@@sahilandsarra Thank you very much sir. I stopped learning it after struggling for a week jumping from one tutorial to another. I told myself maybe it is because I have not known some other stuffs yet. But now, I have learnt those things and recursion is still a hard nut to crack.
@user-rq9mq6uu1z
@user-rq9mq6uu1z 4 ай бұрын
Hey man you are just greateeee.....
@sanchetatkari5352
@sanchetatkari5352 4 ай бұрын
This concept is in our DLCA subject second year engineering.
@sasankchintham1750
@sasankchintham1750 4 ай бұрын
The number 0.1 and 0.2 cannot be added to the exact number 0.3 , the binary sequence of numbers is not the same . But 0.1 and 0.1 is precise and so it can be added.
@rasid_khan
@rasid_khan 4 ай бұрын
@@alee_05 How ? 0.33333.... + 0.33333......... It's like this
@AhmedSalah-uc6tt
@AhmedSalah-uc6tt 2 ай бұрын
what does that mean ?
@krishnakumars2921
@krishnakumars2921 4 ай бұрын
Sub test() Dim n1 As Double, n2 As Double, n3 As Double n1 = 0.1 n2 = 0.2 n3 = n1 + n2 MsgBox (n3) End Sub Works fine in VBA
@Brolylovesme
@Brolylovesme 4 ай бұрын
Do you have any coursera recommend courses to learn or relearn calculus?
@jana2380
@jana2380 4 ай бұрын
Hi. May I know where can I find a community to discuss topics related to coding. web development to be precise.
@pavankumarreddy2658
@pavankumarreddy2658 4 ай бұрын
Wait for your video need video on how to crack intership please sir 💚💚🥰🥰 and where to find
@mohamedatef3094
@mohamedatef3094 4 ай бұрын
Please, can anyone tell me what is the IDE or website it's used in this video?
@studiesinformation436
@studiesinformation436 4 ай бұрын
00:02 Computers struggle with basic math calculations. 00:40 Computers store numbers in binary representation. 01:18 Computers store information in binary representation using bits. 01:59 Computers have limitations in storing large integer values due to bit constraints. 02:31 Computers struggle with basic fraction calculations due to how they store fractions. 03:13 Computers cannot store decimals directly. 03:52 Computers have limitations in representing decimal fractions in binary 04:32 Computers cannot read and understand precise values
@saleemsayyed6444
@saleemsayyed6444 4 ай бұрын
Hlo this is Saleem can u please suggest best way to learn spring and spring boot and some best youtube channels for learning from starch
@horacioparraguirre7486
@horacioparraguirre7486 4 ай бұрын
True 👍
@roseom6078
@roseom6078 4 ай бұрын
I had a question,pls pls help me.. I am a fresher currently in an mnc with 40k salary but the project i have been assigned is a project where i need to design UI for their windows platform. To me it sounds very boring and outdated. Like it's just windows with no modern tech like angular etc. I don't know what to do now.. Can't leave the company due to financial issues.. But this project won't help me while switching after a year or so..what can i do????😢
@JohnDoe-vu5hy
@JohnDoe-vu5hy 4 ай бұрын
This is such a great video... thanks a LOT 🙏
@sahilandsarra
@sahilandsarra 4 ай бұрын
Thanks 🙏
@joydebnath2658
@joydebnath2658 4 ай бұрын
When use 0.1 twice. It is Precise like same....but when 0.1 and 0.2 used they do not precise same.. Thats why it is not equal...
@user-ox2il9yr4t
@user-ox2il9yr4t 4 ай бұрын
0.1=0.0 0011 0011 0011 0011... and 0.2=0011 0011 0011... Now 0.1+0.1=0.0 0011 + 0.0 0011 = 0.00110 ==0.2 (taking onlly 5 bits after decimal; can be similarly tested for 23 bits or 52 bits)
@vedparkashgaba5478
@vedparkashgaba5478 4 ай бұрын
Good and useful knowledge Thanks for sharing
@sahilandsarra
@sahilandsarra 4 ай бұрын
❤️❤️❤️
@user-pn9gz9yo9w
@user-pn9gz9yo9w 3 ай бұрын
In Dev C++ this program display " Computer are good at maths" why
@rishiraj2548
@rishiraj2548 4 ай бұрын
🙏👍
@sahilandsarra
@sahilandsarra 4 ай бұрын
🙏
@theyogaguy9423
@theyogaguy9423 4 ай бұрын
bcoz 0.1 and 0.2 both are sort of infinite for computer so infinite + infinite = infinite and infinite == infinite ? I don't know if it's correct
@zoranProCode
@zoranProCode 4 ай бұрын
So What is solution?!
@gauravdaura
@gauravdaura 4 ай бұрын
Like if your are an embedded engineer or know the rule of multiplication or division used in floating point conversions
@zainabjaved352
@zainabjaved352 4 ай бұрын
Please make videos at least two in week
@manjunathc341
@manjunathc341 4 ай бұрын
Can you give some course giveaway in udemy or any other platform , It will be helpfull us like indian learners I am motivated from you , I was previously started learning DSA PYTHON Back in 2021 , once I saw your way to google I was much more motivated now and started learning javascript for web development so any course that available in udemy for free I just enroll a learn , but some instructer course we wont get for free who really teach well .......❤
@rubyciide5542
@rubyciide5542 4 ай бұрын
Well not as much as i do
@coldbloddedgaming
@coldbloddedgaming 4 ай бұрын
256
@emirturkoglu6752
@emirturkoglu6752 4 ай бұрын
cpu issues
@ajaylodhi9061
@ajaylodhi9061 4 ай бұрын
First like
@AdlinPG
@AdlinPG 4 ай бұрын
0
@anuragtekam4588
@anuragtekam4588 4 ай бұрын
First
@K.CharanSaiSrinivas
@K.CharanSaiSrinivas 4 ай бұрын
Iam the 1st view
@adhamsalaydinov6372
@adhamsalaydinov6372 4 ай бұрын
float f1 = 0.1f; float f2 = 0.2f; if(f1+f2 == 0.3f) { System.out.println("Code worked without issue!!! "+(f1 + f2)); }else { System.err.println("Error"); } This code worked without any issues
Coding is NOT enough
7:44
Sahil & Sarra
Рет қаралды 160 М.
How I Hacked My Mind To Learn Coding
8:21
Sahil & Sarra
Рет қаралды 367 М.
ISSEI funny story 😂😂😂Strange World 🌏 Green
00:27
ISSEI / いっせい
Рет қаралды 84 МЛН
They're a tough bunch!! # Superman can't fly # Superman couple # Spider-Man
00:47
How to Sneak Make Up Into Class 💄 #shorts
00:30
BubbleBee
Рет қаралды 15 МЛН
蜘蛛侠这操作也太坏了吧#蜘蛛侠#超人#超凡蜘蛛
00:47
超凡蜘蛛
Рет қаралды 11 МЛН
Why Is ChatGPT Bad At Math?
12:05
SciShow
Рет қаралды 149 М.
Top 7 high paying tech skills for 2024
6:35
Aakash Patel
Рет қаралды 4,9 М.
How to STOP wasting your LIFE
8:31
Sahil & Sarra
Рет қаралды 101 М.
Why Is This Happening?! Floating Point Approximation
5:46
I gave 127 interviews. Top 5 Algorithms they asked me.
8:36
Sahil & Sarra
Рет қаралды 565 М.
2-Minute Rule to Learn Coding - Atomic Habits
7:58
Sahil & Sarra
Рет қаралды 988 М.
7 things I wish I knew in my 20s
9:09
Sahil & Sarra
Рет қаралды 216 М.
Study MORE in LESS time: Use Chinese Technique of Wu Wei
7:35
Sahil & Sarra
Рет қаралды 736 М.
3 Developer Roadmaps That Actually Work
8:18
Sahil & Sarra
Рет қаралды 424 М.
Как открыть дверь в Jaecoo J8? Удобно?🤔😊
0:27
Суворкин Сергей
Рет қаралды 775 М.
СЛОМАЛСЯ ПК ЗА 2000$🤬
0:59
Корнеич
Рет қаралды 1,2 МЛН
phone charge game #viral #tranding #new #reels
0:18
YODHA GAMING RAAS
Рет қаралды 4,8 МЛН