Chat with our AI personalities
#include<stdio.h> #include<math.h> main() { float A,a,b,c,s; printf("entr the value of a,b and c"); scanf("%f %f %f",&a,&b,&c); A=sqrt(s*s-a*s-b*s-c) printf("area of the triangle %f\n"A); getch(); }
f = 10a + b so s = a + 10b; f - 1 = 2(s - 1) so f = 2s - 2 + 1 ie 2s - 1 ie 10a + b = 2a + 20b - 1 8a = 19b - 1, making a = 7 and b = 3. So Father is 73 and son is 37. (Last year f = 72, s = 36)
31
F=ma F=7kg*9.81m/s**2 F=68.67N
f - 3 = 7(s -3) ie f - 3 = 7s - 21 so f = 7s - 18;f + 3 = 4(s + 3) ie f + 3 = 4s + 12 so f = 4s + 9.ie 7s - 18 = 4s + 9 so 3s = 27, making s = 9Now f = 45, s = 9; In 3 years f = 48, s = 12 and 3 years ago f = 42, s = 6.