Math.pow Java Exponents Tutorial #21

preview_player
Показать описание


This format of calculating java exponents can be tricky... They should just have a symbol for it! But Math pow isn't too bad :) If you followed along, congrats! You learned-by-doing!

What are you using exponents in java for? -

Disclosure: The Springboard link provided is linked to my affiliate account & supports the channel.

~

Alex Lee
Рекомендации по теме
Комментарии
Автор

No one ever thought me how we can easily concat between double to int using this simple trick! Thanks a lot man!!!

mcrg
Автор

Whenever i have an issue this man has the answer. Your first sentence hit the nail on the head!

daniellassetter
Автор

Hi Alex Lee, your videos are amazing i would like to suggest making a problem after your tutorial videos so that viewers can have a activity after watching your nice videos. Thankyou!

tedisalivio
Автор

I am from India and I like the way u teach every concept . Just after my java class I always prefer to watch ur videos to make myself more satisfied and concepts .
It's a humble request to u to make more content on java questions of competitive level . Please make promise of it!
Sending Love to u from India ! ❣️❣️🌼🌼💞💌

sadhanaparehk
Автор

I learned Python last year, and so far your tutorials are really useful for finding the differences between them! You recieve a like and sub, because I enjoy your videoes!

AlkalineExpert
Автор

Man, you're doing great . i really needed a recap because tomorrow I'm going to have an important Java exam . You're just great . You explain stuff way better than my teacher . Thank you very much

corneliu
Автор

Thanks a lot i couldn't understand math.pow for my computer exam but now its clear

TheMineBloxGuy
Автор

This is by far the best lessons I found on YouTube. And to add some advise, I find it better to stay in a course a bit after watching the video and try twisting what you just learn with the previous once.. say like adding the Scanner to this lesson.

System.out.println("Enter first no");
Scanner scan = new Scanner(System.in);
double firstNO = scan.nextDouble();

System.out.println("Enter second no");
Scanner scan2 = new Scanner(System.in);
double secondNO = scan2.nextDouble();

System.out.println(Math.pow(firstNO, secondNO));

doesn't put negative on the output but still..

e-zeek-
Автор

Great videos! I had to subscribe. The way you teach Java is crystal clear and makes me not want to drop from my class. Thanks!!!

alfredocarrazcoful
Автор

Broo, You are doing great job, since I started learn java, Your videos help me a lot. Thank You!!

egemen
Автор

youre the man honestly. subscribed instantly.

mok
Автор

You are AWSOME!!! Thanks for your time and videos😁😁😁

Firestar
Автор

Thanks mate, your videos are simple to understand and absolutely exhaustive about given topics, good job!
Peace, love ...
oto

uChillax
Автор

It was a great video, and it helped me a lot, I would like to suggest that the next video will soon be dropped 👍👍👍

vikaspansambal
Автор

he deserves every one of those 188k subs

blocks
Автор

How to round off up to 2 decimal points for a double variable?

omkarhattangadi
Автор

How can I set two decimals for it? For example, I got 2.35^2 and the answer is 5.5225, how can I make it into two decimals like 5.52?

yhj
Автор

Hey Alex Lee, I would really suggest making a video on all Math Library Functions.
Though I know them, they Might be helpful for others.



Functions like-
1-Math.pow() -- (You already did this in this video)
2-Math.min()
3-Math.max()
4-Math.sqrt()
5-Math.cbrt()
6-Math.Log()
7-Math.abs()
8-Math.round()
9-Math.ceil()
10-Math.floor()

And Just Incase you do not know them... (There is a 99.99% chance you know them cuz well... you are Alex Lee!)
I could help you with it. ;)



Good luck with your channel!
I will get my friends to sub to you! :)

neelsheth
Автор

What I would like to know is if i can use math.pow to do exponents like math.pow(10, 1x1++), in while loops ect. I cant find the answer seemingly anywhere.

daniellassetter
Автор

can someone help me figure out why, in the project explore window on the left side of eclipse, my project folder icons have a little yellow warning icon? i had a red x icon on them and figured out my JRE was setup wrong or something, fixed that. now theres the yellow exclaimation point icon. i see in the example video you have several of these warnings in your folders. what do they mean? why are they there? can i fix it? will it stop things from working? i dont get why anyone uses eclipse at this point, intelliJ is so much more user friendly but ive heard eclipse is what the pro companies use for whatever reason.

MyBinaryLife