Computers suck at Math (a painful discovery)

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

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.

Пікірлер: 63
@user-mo3mi5gr3o
@user-mo3mi5gr3o 4 ай бұрын
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 5 ай бұрын
Hi sir, I always stuck in dynamic programming please make a video on it. This will help me and others.
@sahilandsarra
@sahilandsarra 5 ай бұрын
This video is coming soon
@ByTechSolutions
@ByTechSolutions 5 ай бұрын
Always my mentor I thank you for your advice more so for an upcoming day Software Engineering like me
@sahilandsarra
@sahilandsarra 5 ай бұрын
Thanks 🙏
@veljko1898
@veljko1898 5 ай бұрын
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?
@youssefelshahawy7623
@youssefelshahawy7623 5 ай бұрын
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 ❤❤❤
@lavoyageuse-jx9zs
@lavoyageuse-jx9zs 5 ай бұрын
Congratulations 500k ❤❤❤
@sahilandsarra
@sahilandsarra 5 ай бұрын
Thanks ❤️
@zarimariam5572
@zarimariam5572 5 ай бұрын
I have tried your suggested courses and they are really good.Please suggest good courses on operating systems and computer networks.
@Abhijeet-sm5em
@Abhijeet-sm5em 5 ай бұрын
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
@Rahul_Rao_001
@Rahul_Rao_001 5 ай бұрын
Thanks for the video , I'll try to solve .
@adamidris2324
@adamidris2324 5 ай бұрын
Well adding 'f' to them all will solve the problem. 0.1f +0.2f is surely equal to 0.3f
@Usercs13
@Usercs13 5 ай бұрын
Congratulations 500k🎉❤
@sahilandsarra
@sahilandsarra 5 ай бұрын
Thanks ❤️
@allaboinadivakar1976
@allaboinadivakar1976 5 ай бұрын
concept is just lit💥
@sahilandsarra
@sahilandsarra 5 ай бұрын
Thanks 🙏
@mahmoudomar530
@mahmoudomar530 5 ай бұрын
Thank you
@sasankchintham1750
@sasankchintham1750 5 ай бұрын
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 5 ай бұрын
@@alee_05 How ? 0.33333.... + 0.33333......... It's like this
@AhmedSalah-uc6tt
@AhmedSalah-uc6tt 2 ай бұрын
what does that mean ?
@Brolylovesme
@Brolylovesme 5 ай бұрын
Do you have any coursera recommend courses to learn or relearn calculus?
@sanchetatkari5352
@sanchetatkari5352 5 ай бұрын
This concept is in our DLCA subject second year engineering.
@trendytech2402
@trendytech2402 5 ай бұрын
Post next video soon brother.. Cannot wait
@UnyimeUdoh-ny3lp
@UnyimeUdoh-ny3lp 5 ай бұрын
Please can you make a video on recursion because the concept is somehow confusing. Thanks
@sahilandsarra
@sahilandsarra 5 ай бұрын
Will try cover in the upcoming videos
@UnyimeUdoh-ny3lp
@UnyimeUdoh-ny3lp 5 ай бұрын
@@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.
@pavankumarreddy2658
@pavankumarreddy2658 5 ай бұрын
Wait for your video need video on how to crack intership please sir 💚💚🥰🥰 and where to find
@jana2380
@jana2380 5 ай бұрын
Hi. May I know where can I find a community to discuss topics related to coding. web development to be precise.
@michaelkewl7056
@michaelkewl7056 5 ай бұрын
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 5 ай бұрын
The only lecturer I need😊
@sahilandsarra
@sahilandsarra 5 ай бұрын
❤️
@roseom6078
@roseom6078 5 ай бұрын
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????😢
@saleemsayyed6444
@saleemsayyed6444 5 ай бұрын
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
@mohamedatef3094
@mohamedatef3094 5 ай бұрын
Please, can anyone tell me what is the IDE or website it's used in this video?
@user-rq9mq6uu1z
@user-rq9mq6uu1z 5 ай бұрын
Hey man you are just greateeee.....
@krishnakumars2921
@krishnakumars2921 5 ай бұрын
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
@joydebnath2658
@joydebnath2658 5 ай бұрын
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...
@justnothingnet
@justnothingnet 5 ай бұрын
easy def func(a,b): if a == 0.1 and b == 0.2: print(0.3)
@horacioparraguirre7486
@horacioparraguirre7486 5 ай бұрын
True 👍
@JohnDoe-vu5hy
@JohnDoe-vu5hy 5 ай бұрын
This is such a great video... thanks a LOT 🙏
@sahilandsarra
@sahilandsarra 5 ай бұрын
Thanks 🙏
@theyogaguy9423
@theyogaguy9423 5 ай бұрын
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
@user-pn9gz9yo9w
@user-pn9gz9yo9w 3 ай бұрын
In Dev C++ this program display " Computer are good at maths" why
@user-ox2il9yr4t
@user-ox2il9yr4t 5 ай бұрын
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 5 ай бұрын
Good and useful knowledge Thanks for sharing
@sahilandsarra
@sahilandsarra 5 ай бұрын
❤️❤️❤️
@zoranProCode
@zoranProCode 5 ай бұрын
So What is solution?!
@studiesinformation436
@studiesinformation436 5 ай бұрын
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
@rishiraj2548
@rishiraj2548 5 ай бұрын
🙏👍
@sahilandsarra
@sahilandsarra 5 ай бұрын
🙏
@manjunathc341
@manjunathc341 5 ай бұрын
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 .......❤
@zainabjaved352
@zainabjaved352 5 ай бұрын
Please make videos at least two in week
@emirturkoglu6752
@emirturkoglu6752 5 ай бұрын
cpu issues
@coldbloddedgaming
@coldbloddedgaming 5 ай бұрын
256
@gauravdaura
@gauravdaura 5 ай бұрын
Like if your are an embedded engineer or know the rule of multiplication or division used in floating point conversions
@rubyciide5542
@rubyciide5542 5 ай бұрын
Well not as much as i do
@ajaylodhi9061
@ajaylodhi9061 5 ай бұрын
First like
@AdlinPG
@AdlinPG 5 ай бұрын
0
@anuragtekam4588
@anuragtekam4588 5 ай бұрын
First
@K.CharanSaiSrinivas
@K.CharanSaiSrinivas 5 ай бұрын
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
Top 3 courses from Top 3 schools
0:47
Sahil & Sarra
Рет қаралды 302 М.
Follow @karina-kola please 🙏🥺
00:21
Andrey Grechka
Рет қаралды 13 МЛН
Зу-зу Күлпәш. Стоп. (1-бөлім)
52:33
ASTANATV Movie
Рет қаралды 863 М.
НЕОБЫЧНЫЙ ЛЕДЕНЕЦ
00:49
Sveta Sollar
Рет қаралды 7 МЛН
Let's all try it too‼︎#magic#tenge
00:26
Nonomen ノノメン
Рет қаралды 47 МЛН
computers suck at division (a painful discovery)
5:09
Low Level Learning
Рет қаралды 1,5 МЛН
Amazon & Apple Interview Problem
0:57
Sahil & Sarra
Рет қаралды 32 М.
Python Vs C++ Vs Java!
4:41
ByteByteGo
Рет қаралды 424 М.
Leetcode was hard until I learned these 5 things!
6:20
ThutariVision
Рет қаралды 1,8 М.
A Day in My Life at Microsoft
6:42
Sahil & Sarra
Рет қаралды 141 М.
Study MORE in LESS time: Use Chinese Technique of Wu Wei
7:35
Sahil & Sarra
Рет қаралды 753 М.
2-Minute Rule to Learn Coding - Atomic Habits
7:58
Sahil & Sarra
Рет қаралды 1 МЛН
FASTEST Way to Learn Coding and ACTUALLY Get a Job
8:50
Sahil & Sarra
Рет қаралды 6 МЛН
How to curry with programming
3:08
Sahil & Sarra
Рет қаралды 11 М.
Вы поможете украсть ваш iPhone
0:56
Romancev768
Рет қаралды 522 М.
M4 iPad Pro Impressions: Well This is Awkward
12:51
Marques Brownlee
Рет қаралды 6 МЛН
Распаковка айфона в воде😱 #shorts
0:25
Mevaza
Рет қаралды 1,2 МЛН