Computers suck at Math (a painful discovery)

  Рет қаралды 12,654

Sahil & Sarra

Sahil & Sarra

Күн бұрын

Пікірлер: 62
@Nameiscantsay
@Nameiscantsay 10 ай бұрын
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 Жыл бұрын
Hi sir, I always stuck in dynamic programming please make a video on it. This will help me and others.
@sahilandsarra
@sahilandsarra Жыл бұрын
This video is coming soon
@adamidris2324
@adamidris2324 Жыл бұрын
Well adding 'f' to them all will solve the problem. 0.1f +0.2f is surely equal to 0.3f
@krishnakumars2921
@krishnakumars2921 Жыл бұрын
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
@ByTechSolutions
@ByTechSolutions Жыл бұрын
Always my mentor I thank you for your advice more so for an upcoming day Software Engineering like me
@sahilandsarra
@sahilandsarra Жыл бұрын
Thanks 🙏
@johnstephens2412
@johnstephens2412 Жыл бұрын
The only lecturer I need😊
@sahilandsarra
@sahilandsarra Жыл бұрын
❤️
@lavoyageuse-jx9zs
@lavoyageuse-jx9zs Жыл бұрын
Congratulations 500k ❤❤❤
@sahilandsarra
@sahilandsarra Жыл бұрын
Thanks ❤️
@allaboinadivakar1976
@allaboinadivakar1976 Жыл бұрын
concept is just lit💥
@sahilandsarra
@sahilandsarra Жыл бұрын
Thanks 🙏
@ayqikz
@ayqikz 11 ай бұрын
easy def func(a,b): if a == 0.1 and b == 0.2: print(0.3)
@UnyimeUdoh-ny3lp
@UnyimeUdoh-ny3lp Жыл бұрын
Please can you make a video on recursion because the concept is somehow confusing. Thanks
@sahilandsarra
@sahilandsarra Жыл бұрын
Will try cover in the upcoming videos
@UnyimeUdoh-ny3lp
@UnyimeUdoh-ny3lp Жыл бұрын
@@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.
@sasankchintham1750
@sasankchintham1750 Жыл бұрын
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 11 ай бұрын
@CallmeGuruOffical How ? 0.33333.... + 0.33333......... It's like this
@AhmedSalah-uc6tt
@AhmedSalah-uc6tt 9 ай бұрын
what does that mean ?
@AbhibrataNandy
@AbhibrataNandy Жыл бұрын
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)
@Usercs13
@Usercs13 Жыл бұрын
Congratulations 500k🎉❤
@sahilandsarra
@sahilandsarra Жыл бұрын
Thanks ❤️
@Abhijeet-sm5em
@Abhijeet-sm5em 11 ай бұрын
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 Жыл бұрын
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"🙂
@studiesinformation436
@studiesinformation436 11 ай бұрын
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
@youssefelshahawy7623
@youssefelshahawy7623 11 ай бұрын
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 ❤❤❤
@sanchet0610
@sanchet0610 11 ай бұрын
This concept is in our DLCA subject second year engineering.
@codeanddata
@codeanddata 11 ай бұрын
Post next video soon brother.. Cannot wait
@joydebnath2658
@joydebnath2658 Жыл бұрын
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...
@JohnDoe-vu5hy
@JohnDoe-vu5hy Жыл бұрын
This is such a great video... thanks a LOT 🙏
@sahilandsarra
@sahilandsarra Жыл бұрын
Thanks 🙏
@Rahul_Rao_001
@Rahul_Rao_001 11 ай бұрын
Thanks for the video , I'll try to solve .
@veljko1898
@veljko1898 Жыл бұрын
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?
@2BeKind2all
@2BeKind2all 11 ай бұрын
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????😢
@zarimariam5572
@zarimariam5572 11 ай бұрын
I have tried your suggested courses and they are really good.Please suggest good courses on operating systems and computer networks.
@saleemsayyed6444
@saleemsayyed6444 11 ай бұрын
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
@TalhaShehzad-l2d
@TalhaShehzad-l2d 10 ай бұрын
In Dev C++ this program display " Computer are good at maths" why
@jana2380
@jana2380 11 ай бұрын
Hi. May I know where can I find a community to discuss topics related to coding. web development to be precise.
@theyogaguy9423
@theyogaguy9423 Жыл бұрын
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
@Brolylovesme
@Brolylovesme Жыл бұрын
Do you have any coursera recommend courses to learn or relearn calculus?
@mohamedatef3094
@mohamedatef3094 11 ай бұрын
Please, can anyone tell me what is the IDE or website it's used in this video?
@mahmoudomar530
@mahmoudomar530 Жыл бұрын
Thank you
@vedparkashgaba5478
@vedparkashgaba5478 Жыл бұрын
Good and useful knowledge Thanks for sharing
@sahilandsarra
@sahilandsarra Жыл бұрын
❤️❤️❤️
@selvakumars-h7m
@selvakumars-h7m 11 ай бұрын
Hey man you are just greateeee.....
@zoranProCode
@zoranProCode Жыл бұрын
So What is solution?!
@zainabjaved352
@zainabjaved352 11 ай бұрын
Please make videos at least two in week
@rubyciide5542
@rubyciide5542 Жыл бұрын
Well not as much as i do
@horacioparraguirre7486
@horacioparraguirre7486 11 ай бұрын
True 👍
@gauravdaura
@gauravdaura Жыл бұрын
Like if your are an embedded engineer or know the rule of multiplication or division used in floating point conversions
@manjunathc341
@manjunathc341 11 ай бұрын
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 .......❤
@rishiraj2548
@rishiraj2548 Жыл бұрын
🙏👍
@sahilandsarra
@sahilandsarra Жыл бұрын
🙏
@AdlinPG
@AdlinPG 11 ай бұрын
0
@coldbloddedgaming
@coldbloddedgaming Жыл бұрын
256
@emirturkoglu6752
@emirturkoglu6752 Жыл бұрын
cpu issues
@ajaylodhi9061
@ajaylodhi9061 Жыл бұрын
First like
@anuragtekam4588
@anuragtekam4588 Жыл бұрын
First
@K.CharanSaiSrinivas
@K.CharanSaiSrinivas Жыл бұрын
Iam the 1st view
@adhamsalaydinov6372
@adhamsalaydinov6372 11 ай бұрын
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
Рет қаралды 178 М.
Why Computers Screw up Floating Point Math
12:10
Mental Outlaw
Рет қаралды 338 М.
Как Я Брата ОБМАНУЛ (смешное видео, прикол, юмор, поржать)
00:59
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 20 МЛН
From Small To Giant 0%🍫 VS 100%🍫 #katebrush #shorts #gummy
00:19
Why Is ChatGPT Bad At Math?
12:05
SciShow
Рет қаралды 151 М.
How to STOP wasting your LIFE
8:31
Sahil & Sarra
Рет қаралды 119 М.
43. You Don't Suck at Math | THUNK
6:01
THUNK
Рет қаралды 24 М.
2-Minute Rule to Learn Coding - Atomic Habits
7:58
Sahil & Sarra
Рет қаралды 1,1 МЛН
5 Math Skills Every Programmer Needs
9:08
Sahil & Sarra
Рет қаралды 1,1 МЛН
Why Computers Can't Count Sometimes
8:44
Tom Scott
Рет қаралды 4,4 МЛН
7 things I wish I knew in my 20s
9:09
Sahil & Sarra
Рет қаралды 237 М.
computers suck at division (a painful discovery)
5:09
Low Level
Рет қаралды 1,7 МЛН
Computer Architecture Explained With MINECRAFT
6:47
Codeolences
Рет қаралды 1,1 МЛН
Advice from the Top 1% of Software Engineers
10:21
Kevin Naughton Jr.
Рет қаралды 3,4 МЛН