Java Bangla Tutorials 36 : Math Class

preview_player
Показать описание
➡️ In this video, I will introduce you to one of the most important classes in Java called "Math".
⭐️ Video Contents ⭐️
⌨️ (00:00) Intro
⌨️ (00:12) Math class
⌨️ (10:20) outro

🛑 Web development? Checkout following playlists :

🛑 Programming languages? Check out the following playlists:

🛑 Android development? Check out the following playlists:

🛑 HSC Students? Are you worried about ICT? I have created 377 videos for you. check out the following playlists-

🛑 CSE Students? Checkout following playlists :

🛑 MS Office? Trying to learn MS office to improve your skill? Checkout following playlists :

#java #anisul_islam #java_bangla_tutorial #web_development #bangla_web_development #andorid #javaprogramming #javatutorial #bangla_tutorial #java_anisul_islam
Рекомендации по теме
Комментарии
Автор

vai you made me fall in love with java. thank you for your time

MilitaryFootageArchive
Автор

Thanks a lot sir....I am learning new topic everyday
Your lectures make easy to learn CSE

quazisamihatasnim
Автор

Thank you very much for this amazing series of contents.Simple and precise words and the capability to make us understand really nice.

MohammadAli-inqp
Автор

Really helpful, Thanks. If there were some home task after every video then it would have been great.

naimurrahman
Автор

package startjava;


public class MathClass {
public static void main(String[] args) {
int max = Math.max(15, 10);
System.out.println("Maximum = "+max);
int min = Math.min(15, 10);
System.out.println("Minimum = "+min);
int absulate = Math.abs(-10);
System.out.println("Absulate = "+absulate);
int round = Math.round(8.6f);
System.out.println("Round = "+round);
double ceil = Math.ceil(6.7);
System.out.println("Ceil = "+ceil);
double pow = Math.pow(3, 4);
System.out.println("Power = "+pow);
double square = Math.sqrt(25);
System.out.println("Square = "+square);
double floor = Math.floor(3.6);
System.out.println("Floor = "+floor);
double pi = Math.PI;
System.out.println("PI = "+pi);
double log = Math.log(2);
System.out.println("Log = "+log);





}

}

sitanath
Автор

package datatype;


public class MathCLass27 {
public static void main(String[] args) {

int a=10, b=20;

int max = Math.max(a, b);
System.out.println("Maximum = "+max);

int min = Math.min(a, b);
System.out.println("Minimum = "+min);

int absolute = Math.abs( b);
System.out.println("absolute = "+absolute);

double power = Math.pow(a, b);
System.out.println("a to the power b is = "+power);

int round=Math.round(8.6f);
System.out.println("Round = "+round);

double pi=Math.PI;
System.out.println("pi="+pi);

}
}

susmita
Автор

package Package1;

import java.util.Scanner;
public class Class1 {

public static void main(String[] args) {
Scanner input=new Scanner(System.in);
int a;
int b;
a=input.nextInt();
b=input.nextInt();
int max=Math.max(a, b);
System.out.println("Maximum ="+max);
double power=Math.pow(a, b);
System.out.println("Power ="+power);
int round=Math.round(10.6f);
System.out.println("Round ="+round);
}
}

arifurlimon
Автор

Vai amar to nebeans a MATH kaj korse na. Ki problem ar solution
Your tutorial is very helpful.

creativecomputerinstitute
Автор

Sir amr netbeans e run file option ta kaj kortase na. Eitar karon ki??

zubairalam
Автор

vaiya math class kaj kortesena..Error dekhacche @netbeeans 9...pls help

kamrulhasan-zghe
Автор

Vai amr computer e Math er method ta kaj hosse na, tai program run hosse na. Akon ki korte pari? Java ki update korte hobe?

md.kauser
Автор

vaiya PI er maan or o beshi ghor porjonto ber korar jonno ki korte hobe?

ShakilAhmed-vtlo
Автор

package javaaplication;

import java.util.Scanner;

public class MathClass {

public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int number_1, number_2;
System.out.println("enter two numbers");
number_1 = input.nextInt();
number_2 = input.nextInt();
int maximum = Math.max(number_1, number_2);
System.out.println("Maximum value is: " + maximum);
int minimum = Math.min(number_1, number_2);
System.out.println("the minimum number is: " + minimum);
double power = Math.pow(number_1, number_2);
System.out.println("the power of number is: " + power);
int absulate = Math.abs(number_1);
System.out.println("the absoulate value of 1st number is: " + absulate);
double pi = Math.PI;
System.out.println("the value of pi is: " + pi);
int round = Math.round(7.9f);
System.out.println("The round value of 7.9 is: " + round);
double floor = Math.floor(5.7);
System.out.println("the floor value of 5.7 is: " + floor);
double ceil = Math.ceil(6.8);
System.out.println("the ceiling value of 6.8 is: " + ceil);
}
}

nishatsultana
Автор

Sir, I'm having this problem. i tried few times but i always get composite number like this way - ( Run - enter the initial number: then i type 2 number and after i get composite numbers between that 2 numbers ) [I fully copied your code] Can you please explain it ?

MehejabinKhan-ts
Автор

Sir ami MCA te admission niyechi, kon coding language ta besi important ?
Ektu guide korben

arijitghosh
Автор

package HappyCoder;
public class MathOperator {
public static void main (String args []){
int x=2;
int y=3;
int max = Math.max (x, y);
System. out. println (max):
// just only for try

mdzahirkhan
Автор

public class AssignmentJava {
public static void main(String[] args) {
int x = 2;
int y = 6;
int max = Math.max(x, y);
System.out.println(" Maximum = " + max);
int min = Math.min(x, y);
System.out.println(" Minimum = " + min);
int absolute = Math.abs(y);
System.out.println("Absolute value of y = " + absolute);
double power = Math.pow(x, y);
System.out.println("x the the power of y = " + power);
int round = Math.round(8.8f);
System.out.println("round of 8.8 = " + round);
double pi = Math.PI;
System.out.println("pi = " + pi);



}
}

msthaque
Автор

sir
Math.max/other kiso dile error ase!

Akash-bbnl
Автор

vai max min a AMR program executehocce na.. console eta show kortexce..


run:
Exception in thread "main" Not supported yet.
at
at
C:\Users\Karnojit Java returned: 1
BUILD FAILED (total time: 0 seconds)

karnojitroy
Автор

vaiya root value ber kore kon method er saahajje

hamzamahmud