write a vb program to find the magic square
Write a program to find the grade obtained by the students of a class
what is if(!(str[i]==32))
#include<stdio.h>
Write a program in c++ that take input in a integer matrix of size 4*4 and find out if the entered matrix is diagonal or not.
to simplify Cosx=Sinx Tanx you should remember your fundamental and pythagorean identities.. Cosx + Sinx Tanx Cosx + Sinx (Sinx/Cosx) <---------- From Tanx= Sinx/Cosx Cosx + Sin2x/ Cos x <------------- do the LCD Cosx (Cosx/Cosx) + Sin2x/Cosx (Cos2x+Sin2x)/Cosx 1/Cosx <--------- From Sin2x + Cos2x =1 or Secx <-------- answer Comment if you have questions...:))
2
f(x)=sinx+cosx take the derivative f'(x)=cosx-sinx critical number when x=pi/4
2sinxcosx-cosx=0 Factored : cosx(2sinx-1)=0 2 solutions: cosx=0 or sinx=.5 For cosx=0, x=90 or 270 degrees For sinx=.5, x=30 degrees x = {30, 90, 270}
(1-cosx)/sinx + sinx/(1- cosx) = [(1 - cosx)*(1 - cosx) + sinx*sinx]/[sinx*(1-cosx)] = [1 - 2cosx + cos2x + sin2x]/[sinx*(1-cosx)] = [2 - 2cosx]/[sinx*(1-cosx)] = [2*(1-cosx)]/[sinx*(1-cosx)] = 2/sinx = 2cosecx
From the Pythagorean identity, sin2x = 1-cos2x. LHS = 1/(sinx cosx) - cosx/sinx LHS = 1/(sinx cosx) - (cosx/sinx)(cosx/cosx) LHS = 1/(sinx cosx) - cos2x/(sinx cosx) LHS = (1- cos2x)/(sinx cosx) LHS = sin2x /(sinx cosx) [from Pythagorean identity] LHS = sin2x /(sinx cosx) LHS = sinx/cosx LHS = tanx [by definition] RHS = tanx LHS = RHS and so the identity is proven. Q.E.D.
(cosx)^2-(sinx)^2
write a vb program to find the magic square
For first find an example program.
Write a program to find the grade obtained by the students of a class
Yes, do write. That's what you always have to do when you have got a homework-program.
Use this identity sin2x+cos2x=1 sin2x=1-cos2x so sin2x/(1-cosx) =(1-cos2x)/(1-cosx) =(1-cosx)(1+cosx)/(1-cosx) =1+cosx