np. i want really asking people to change anything about the essay in terms of my writing style. I just wanted some help on checking the facts and if my essay is on par with AP US history standards for the AP test that i need to take. My teachers for the past years never taught us how to write it and just keep giving us these Essays as practice and they never go over what i did wrong even if i stay after school. So thats why i decided to post it here in order to make confirm what parts im getting wrong
Palindromes are numbers that read the same forwards as backwards. The number 12321 is a typical palindrome.
Given a number base B (2 <= B <= 20 base 10), print all the integers N (1 <= N <= 300 base 10) such that the square of N is palindromic when expressed in base B; also print the value of that palindromic square. Use the letters 'A', 'B', and so on to represent the digits 10, 11, and so on.
Print both the number and its square in base B.
basically we test numbers 1-300 ^2 in the base provided. (Square before converting into the base. After that then check to see if the squared number is a palindrome. If it is print out the number that is suppose to be squared in the base form and the squared number in base form if it is palindromic.
Can you please explain bases are. In your example you have written "71298 (the square of 267) to base 17" What does this mean and how did you know to divide it by 17 as the base? In the question they provide a base.
Like an example input would be 10 and the output would be:
Like my ideas right now in java would be
BufferedReader br = new BufferedReader(new FileReader("palindromic.in"));
String reader = br.readLine();
int A = Integer.parseInt(reader);
int  N; = new int ;
String  BC = new String ;
Right now this is all i have as i dont understand what to do in terms of bases and dont understand bases in general.
How any methods should i make besided the MATCHING one that checks if the number is actually palindromic and prints it.
I'm using Java for it i know im suppose to check if the square is a palindrome and by that i should have an array with the values and a loop to reverse the order. If they match before and after then it is a palindromic square. But i am confused about the base is the base 1-20? and then what does the integers mean? what are they?
So the peltier cooler will be fine at 9 volts but the fan will fry very quickly? In that case would i need to include a ic 7805 right before it reaches the fan and then connect it back to the main circut. But when the 5 volt wire gets re-connects with the 9 volt wire will nothing happen? I also dont want to burn the battery fast.
It is fine if the peltier works at the lower standards in terms or temperature. It is not cooling something that will become too warm.