Welcome to the CSC Q&A, where you can get help (and share your knowledge) about computer science!

Exercise 2.1: displacement!

+11 votes
I tried to do this exercise on my own and I got stuck when it come to square of t and S0.

 Can I use different Variables for them?
asked Nov 24, 2015 in (Winter 15-16) by Trung Vu (100 points)

1 Answer

+3 votes

Squaring just means multiplying a number by itself, so...  if your number is n, then the expression n*n should do the trick.

I don't see how using different variable names is going to help... but maybe I'm not understanding what you're proposing...

answered Nov 25, 2015 by Forrest Stonedahl (3,438 points)