Jat in the box
Jat in the box
  • Видео 7
  • Просмотров 24 416

Видео

Factorising quadratic equations where coefficient of squared term is not equal to one.Factorising quadratic equations where coefficient of squared term is not equal to one.
Factorising quadratic equations where coefficient of squared term is not equal to one.
Просмотров 1053 года назад
Video includes worked explanation of why the trick of multiplying 'a' by 'c' helps in factorising quadratic expressions (ax^2 bx c). The terminology is a bit wonky in places (I keep saying equation when I mean expression) and it is all very "hand wavy" and I gratuitously use the word "proof", but my kids found it helpful - or maybe they were being polite :-)
Making 500ml of 1M Hydrochloric acid from 36% Hydrochloric acidMaking 500ml of 1M Hydrochloric acid from 36% Hydrochloric acid
Making 500ml of 1M Hydrochloric acid from 36% Hydrochloric acid
Просмотров 5313 года назад
This video details, how much 36% HCl acid and how much water is required to make 500ml of 1M HCl acid. I am teaching chemistry, at home, to my 12 and 11 year old boys and this is the first in hopefully a series of videos on what I am covering with them. The video is both theoretical and practical and covers working with moles, volumes and masses of reagents and how to convert between each repre...
Memory Leak PoliceMemory Leak Police
Memory Leak Police
Просмотров 2973 года назад
Java, abstract inner classes, list interface
Try and Catch joke and References vs. Objects in JavaTry and Catch joke and References vs. Objects in Java
Try and Catch joke and References vs. Objects in Java
Просмотров 1083 года назад
Java, Yoda, joke, references, objects
Dynamic stack visualisation and implementation in C with a linked listDynamic stack visualisation and implementation in C with a linked list
Dynamic stack visualisation and implementation in C with a linked list
Просмотров 1 тыс.4 года назад
This covers stacks using linked lists in C at a high level and a low level. Structures, pointers, malloc and free are all covered in some detail in the course of the lecture.
Dynamic 2d array allocation and deallocation in CDynamic 2d array allocation and deallocation in C
Dynamic 2d array allocation and deallocation in C
Просмотров 22 тыс.4 года назад
Code explanations and diagrams illustrating the use of pointers, malloc and free to allocate and free memory for a two dimensional array on the heap

Комментарии

  • @potatobot2802
    @potatobot2802 4 месяца назад

    What an explanation! Thanks a ton man.

  • @inbluegirl
    @inbluegirl 6 месяцев назад

    You are a good teacher, thank you! I was struggling with this all day

  • @grimvian
    @grimvian 6 месяцев назад

    It was a coincidence, that I found this video. When I tried to find 'Jat in the box' inside RUclips, I got nothing related to that. I had to use DuckDuckGo and it find it immediately! A suggestion, I don't know works, the title maybe could have 'Jat in the box - advanced C' Anyway, I hope you will make more advanced C videos - please. :o)

  • @pedrobispo8400
    @pedrobispo8400 7 месяцев назад

    perfect. the only one that explained clearly so far.

  • @ArpanChakraborty-do6yz
    @ArpanChakraborty-do6yz 8 месяцев назад

    thank you man, you save me from my upcoming test, thanks a lot

  • @braian1619
    @braian1619 9 месяцев назад

    TE AMO GRACIAS !!!

  • @tassneemaltaf2001
    @tassneemaltaf2001 11 месяцев назад

    Thank you so much for the explanation!!

  • @taha7shaikh
    @taha7shaikh Год назад

    Thank you so much man! This was great.

  • @udarue
    @udarue Год назад

    Excellent explanation

  • @1337-rw6xh
    @1337-rw6xh Год назад

    perfect video

  • @1337-rw6xh
    @1337-rw6xh Год назад

    why did u stop posting ? 😥

  • @joncyprus1304
    @joncyprus1304 Год назад

    Dude is a GOAT. As a grad student taking a CS class (non cs major) this has made it extremely clear how to allocate dynamic memory. Thanks!

  • @yogeshchauhan9401
    @yogeshchauhan9401 Год назад

    Very informative 🔥

  • @Antialles069
    @Antialles069 Год назад

    I know I'm a bit late to the party but goddammit that explanation is so good. pleace don't stop doings vids like this you've made a difference in someone's life

  • @kejiozz
    @kejiozz Год назад

    ur divine

  • @abdelhadi72
    @abdelhadi72 Год назад

    man thank you so much this video I find it the best one on RUclips ♥

  • @CastleBomber
    @CastleBomber Год назад

    this is the one

  • @danieldomin3956
    @danieldomin3956 Год назад

    Nice explanation! However there's an optimized way to allocate a 2d array int **p = (int **)malloc(rows * sizeof(int *)); p[0] = (int *)malloc(rows* columns * sizeof(int)); for (i = 1; i < rows; i++) { p[i] = p[i - 1] + columns; } free(p[0]); free(p); In this case, a single block of memory is allocated and rearrange the pointers to form an array. This is computationally better for a few reasons: 1. The allocation engine does not perform as many allocations as before. 2. As opposed to the conventional implementation, there's no extra bytes between rows to keep count of the memory blocks. That means the final 2d array is represented in a continuous memory block. Therefore, there's no need to make large moves between those positions in the memory. 3. free() is called twice only. The conventional implementation depends on the 'rows' size.

  • @loveafinni
    @loveafinni Год назад

    This is a life saver. Thank you!

  • @mansbjork5721
    @mansbjork5721 Год назад

    exactly what I needed :) I'm working on a small project that solves a system of user input equations and this is the core of it

  • @jamane4855
    @jamane4855 Год назад

    Wow ! Great explanation, i'm french and your english is very understandable ! Thanks a lot !

  • @ian6273
    @ian6273 Год назад

    Amazing explanation way more clear than my college professors

  • @ochiengkodongo83
    @ochiengkodongo83 Год назад

    This has been the most easy -to-understand tutorial ever since. Thanks a lot. Just a little something : on function free2dIntArray() we shouldn't include the third parameter dim2 on the function's prototype.

    • @jatinthebox8574
      @jatinthebox8574 Год назад

      Thanks for your kind words and yes you are correct.

  • @raptoress6131
    @raptoress6131 Год назад

    Thank you, this was an approachable explanation that helped me finally understand the concepts.

  • @sivaramakrishnajuvanaboina9635

    Very good explanation sir it's a superb video. Everyone can understand this concept without any doubt.

  • @ebennkansahantwi5827
    @ebennkansahantwi5827 Год назад

    please you are amazing , thnks a lot and you have made my difficulties become simple for me 💯🙏🙏

  • @Ian-bb7vv
    @Ian-bb7vv Год назад

    thank you for the effort creating this wonderful video

  • @rohanghoshdastidar1047
    @rohanghoshdastidar1047 2 года назад

    B E A U T I F U L EXPLANATION

  • @fathihamdi2630
    @fathihamdi2630 2 года назад

    best explanation , keep it going !

  • @JB-iz8bi
    @JB-iz8bi 2 года назад

    why is (int**) debatable? is there something wrong with using it? thanks!

    • @jatinthebox8574
      @jatinthebox8574 2 года назад

      You just do not need it, but I think it makes the code more readable. I think it reminds people of Java, which they do not like, but I do 🙂

  • @SpectreXPlays
    @SpectreXPlays 2 года назад

    make more videos please

  • @SpectreXPlays
    @SpectreXPlays 2 года назад

    thanks a lot that was quite helpful.

  • @daisytran4813
    @daisytran4813 2 года назад

    To be honest, this is the most comprehensible explaination on youtube, thank you so much !

  • @typehinter
    @typehinter 2 года назад

    I feel like I don't need to know this for the problem set I'm doing, but this was very helpful regardless. Thank you!

  • @krizh289
    @krizh289 2 года назад

    legend

  • @zen.ali238
    @zen.ali238 2 года назад

    Can you please make complete knowledge of c/cpp, You are way of teaching so good and you really get us into deep which really i want !! Thanks for this video 🤠

    • @jatinthebox8574
      @jatinthebox8574 2 года назад

      Thanks for your kind words Zuned. I'll try and upload some other material soon.

    • @zen.ali238
      @zen.ali238 2 года назад

      @@jatinthebox8574 willwait for more.

  • @brunorenostro
    @brunorenostro 2 года назад

    this video is so good!Thanks!

  • @headcrabn5347
    @headcrabn5347 2 года назад

    you're a fuckin lifesaver, man

  • @gelfetogebre8301
    @gelfetogebre8301 2 года назад

    i love this

  • @mikeorioles
    @mikeorioles 2 года назад

    Great video to help shake out the cobwebs. My favorite on RUclips for the topic. Thank you!

  • @abhishekpandey71
    @abhishekpandey71 2 года назад

    It would have been nicer if you give meaningful names to parameters like instead of Dim1 Dim2 you can could have written Row and col, in video you are mentioning them as row and col why not name them the same.

  • @abdoosama8337
    @abdoosama8337 2 года назад

    thank you sir!

  • @somethingeasy4996
    @somethingeasy4996 2 года назад

    I went in with no expectation, I finished with complete understanding of what I should be doing, and also a slightly better idea on pointers/array. Thanks a bunch, appreciate your work greatly.

  • @cj-nr5ni
    @cj-nr5ni 2 года назад

    This was gem

  • @captainarvoy2551
    @captainarvoy2551 2 года назад

    Clearly understood! Thank you sir.🙇

  • @DrunkyDude97
    @DrunkyDude97 2 года назад

    Best video on this topic !! Thanks alot.

  • @ridoychandradey8337
    @ridoychandradey8337 2 года назад

    Thank you very much for this wonderful content.

  • @bradleywellington9807
    @bradleywellington9807 2 года назад

    thank you sir.

  • @tomaszstanislawski457
    @tomaszstanislawski457 2 года назад

    Actually the true dynamic 2d array can be allocated with a pointer to array. Just do `int (*arr)[dim2] = calloc(dim1, sizeof *arr);`. And that's all. Just remember to call `free(arr)` at the end.

    • @jatinthebox8574
      @jatinthebox8574 2 года назад

      That's a really neat way of doing it. Do a video to explain how it works ? ;-)

    • @jaykoranga4859
      @jaykoranga4859 Год назад

      @@jatinthebox8574 sure sir

  • @wrosen03
    @wrosen03 2 года назад

    Strictly speaking isn't this a lookup table not a true contiguously allocated 2d array?

    • @jatinthebox8574
      @jatinthebox8574 2 года назад

      As you say, it is not contiguously allocated 2d array: each row will be allocated to separate locations on the heap. Also, I get what you mean by lookup table: the "column array" of pointers to integers are used to "look up" each row. I wouldn't personally call it a lookup table, though. For me they (lookup tables) are a higher order construct used for a smaller set of specific applications.