No video

C math functions 📚

  Рет қаралды 32,467

Bro Code

Bro Code

3 жыл бұрын

C math.h functions tutorial example explained
#C #math.h #functions
double A = sqrt(9);
double B = pow(2, 4);
int C = round(3.14);
int D = ceil(3.14);
int E = floor(3.99);
double F = fabs(-100);
double G = log(3);
double H = sin(45);
double I = cos(45);
double J = tan(45);
printf("
%lf", A);
return 0;

Пікірлер: 32
@BroCodez
@BroCodez 3 жыл бұрын
#include #include int main(){ double A = sqrt(9); double B = pow(2, 4); int C = round(3.14); int D = ceil(3.14); int E = floor(3.99); double F = fabs(-100); double G = log(3); double H = sin(45); double I = cos(45); double J = tan(45); printf(" %lf", A); return 0; }
@fasuelim2520
@fasuelim2520 2 жыл бұрын
Great video. Just one correction: The trigonometric functions expects the input angle in radians not degrees. So, the Tan of 45 degrees or π/4 radians is 1 not 1.619(approximate).....Unless of course you meant 45 radians
@IshakuIbrahim-qo4tw
@IshakuIbrahim-qo4tw 2 ай бұрын
Hey sir I am grateful with your teachings
@Psx806
@Psx806 Жыл бұрын
This channel appears to be a gem thanks
@user-ace96plays
@user-ace96plays 2 ай бұрын
DONE❤
@anormalguy8407
@anormalguy8407 3 жыл бұрын
floor and ceil sound pretty helpfull
@antoine1407
@antoine1407 2 жыл бұрын
very useful
@user-mc9uv7ij7x
@user-mc9uv7ij7x Жыл бұрын
❤❤❤❤❤
@smokestar5093
@smokestar5093 2 жыл бұрын
The tan(45°) = 1 not 1.8...... ??? I think you are not supposed to use degrees, I think you have to use the radians
@COMPUTERSARAY
@COMPUTERSARAY 3 ай бұрын
well he did use the radians thats how he got 1.610
@funkywunks9015
@funkywunks9015 3 жыл бұрын
nice
@snipzmattio5887
@snipzmattio5887 2 жыл бұрын
Legend bwt, you used a floating point number in an int variable.
@annoyingprecision2487
@annoyingprecision2487 Жыл бұрын
That was delightful. Thank you.
@abhishekdas2512
@abhishekdas2512 3 жыл бұрын
Bro this is all I wanted 🔥🔥🔥🔥
@arpanshah355
@arpanshah355 10 ай бұрын
pow(69,420)
@trind6473
@trind6473 Жыл бұрын
NOICE !
@Cipher_16
@Cipher_16 2 ай бұрын
3:37 am, 9th June 2024.
@_quite.essentiallyjay
@_quite.essentiallyjay 8 ай бұрын
lets not forget that C uses e (2.718) as a base for log()
@thiemhoang3015
@thiemhoang3015 3 жыл бұрын
nice :3
@GoingUUP
@GoingUUP 2 жыл бұрын
Can you raise a integer to a power?
@melodytones1627
@melodytones1627 2 жыл бұрын
Yes you can
@melodytones1627
@melodytones1627 2 жыл бұрын
int a= pow (10, 5);
@louies6914
@louies6914 3 жыл бұрын
Is this a new series on C?
@chillboy.x
@chillboy.x 3 жыл бұрын
НУшникам салам, остальным соболезную
@jarodburger
@jarodburger 2 жыл бұрын
insanio
@Mad-Ramx_Dev
@Mad-Ramx_Dev 4 ай бұрын
Hi
@ryanalnaser914
@ryanalnaser914 2 жыл бұрын
whatever anything
@fyrukmcoo100
@fyrukmcoo100 3 жыл бұрын
:((
@shreevatsa_naik
@shreevatsa_naik Жыл бұрын
tan 45 is 1
@hryadyansh
@hryadyansh Жыл бұрын
here 45 has radian as its unit
@IshakuIbrahim-qo4tw
@IshakuIbrahim-qo4tw 2 ай бұрын
Hey sir I am grateful with your teachings
@CarlAngeloAntenor
@CarlAngeloAntenor 3 жыл бұрын
NOICE!
C circle circumference program ⚪
2:50
Bro Code
Рет қаралды 20 М.
why are switch statements so HECKIN fast?
11:03
Low Level Learning
Рет қаралды 400 М.
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 48 МЛН
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 129 МЛН
This is Why Programming Is Hard For you
10:48
The Coding Sloth
Рет қаралды 782 М.
String In Char Array VS. Pointer To String Literal | C Programming Tutorial
9:58
God-Tier Developer Roadmap
16:42
Fireship
Рет қаралды 7 МЛН
Functions in C++
9:50
The Cherno
Рет қаралды 496 М.
C bitwise operators 🔣
6:47
Bro Code
Рет қаралды 71 М.
you will never ask about pointers again after watching this video
8:03
Low Level Learning
Рет қаралды 2,1 МЛН
C++ user defined functions (#15) 📬
17:14
Bro Code
Рет қаралды 32 М.
Learn To Code Like a GENIUS and Not Waste Time
9:41
The Coding Sloth
Рет қаралды 1,4 МЛН