blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
58d5f192d2fb1b0e80a4db846a283a9c962b10b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH2/EX2.3/2_3.sce | 30515070f121c1d3f5d2a6e5a33a49a84956e52e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | 2_3.sce | clc
//initialisation of variables
d= 2 //in
F= 1000 //lb
t= 10 //sec
L= 48 //in
S= 24 //in
//CALCULATIONS
ohp= F*L/(t*6600)
Ac= %pi*d^2/4
P= ohp*t*6600/(S*Ac)
//RESULTS
printf ('Pressure within the system = %.f psi',P)
|
764ea6c69a531264f9354e43e4425fbfa213e8e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH28/EX28.1/Example_28_1.sce | f4a64b1a3f41ed1040236ff1268a57f913ef8c5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,215 | sce | Example_28_1.sce | //clear//
clear;
clc;
//Example 28.1
//Given
rho_p = 0.002650; //[g/mm^3]
a = 2;
phi_s = 0.571;
//Solution
//(a)
//For the 4/6-mesh increment, from Table 28.2
x = [0,2.51,12.5,32.07,25.7,15.9,5.38,2.10,1.02,0.77,0.58,0.41,0.31,0.75]'*10^-2; //[mass fraction]
Dp = [4.699,3.327,2.362,1.651,1.168,0.833,0.589... |
07509511973ba0025e52af348506fbbdf322ecbf | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fluid_Mechanics_I._A._Khan_1962.zip/Fluid_Mechanics_I._A._Khan_1962/CH3/EX3.3/example3_3.sce | 071aeb0768312725ce756512535366ae2cccc0a5 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 208 | sce | example3_3.sce | errcatch(-1,"stop");mode(2);
//example 3.3
//page 120
; funcprot(0);
// Initialization of Variable
pi=3.14;
Q=integrate('10*r-1000*r^3','r',0,0.1);
V=2*Q/0.1^2;
disp(V,"velocity(m/s)=");
exit();
|
f69af91687e34b2f0daab13eebf604c4aba5c190 | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH14/EX14.11/example14_11.sce | e2b714b4a02cb596aff9a065b67569b2d8435fd7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | example14_11.sce | clear
clc
//Example 14.11 FRANCIS TURBINE
r1=0.6; //[m]
beta1=110; //degrees
w=600*(2*%pi)/60 //angular speed[rad/s]
Q=4; //discharge[m^3/s]
B=0.1; //blade height[m]
//Radial velocity at inlet
Vr1=Q/(2*%pi*r1*B) //[m/s]
//Inlet guide vane angle
alpha1=acotd((r1*w/Vr1)+cotd(beta1))
printf("\nThe guide vane ... |
1ac338d3b2c9d30772cc00bd567236b7b8d6835b | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH4/EX4.2/Example_4_2.sce | 5b57ce4dcceb6aafc1f58077bede59529e7fadd1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 405 | sce | Example_4_2.sce | clc;
printf("\n Example 4.2\n");
l=30;//Length of the tube
d=150e-3;//Diameter of the tube
P1=0.4e3;//Initial Pressure
P2=0.13e3;//final Pressure
//X=e/d, Relative roughness
//Y=R/(rho*u^2) = 0.004
X=0.003;
Y=0.005;
v1=21.15e1;
G_A=poly([0],'G_A');
f=(G_A^2*log(P1/P2))+((P2^2-P1^2)/(2*P1*v1))+(4*(Y*l/... |
c64a0fa841c2028bdededf8602bf02327a849deb | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH8/EX8.2/8_2.sce | 05aaf941bde8c269c8827f18b2cc1e1a8abd66b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 802 | sce | 8_2.sce | clc;
clear;
vis=0.4;//Ns/(m^2)
d=900;//kg/(m^3)
D=0.02;//m
Q=2.0*(10^-5);//(m^3)/s
x1=0;
x2=10;//m
p1=200;//kPa
x3=5;//m
V=Q/(%pi*(D^2)/4);//m/s
Re=d*V*D/vis;
disp("Hence the flow is laminar.",Re,"a) Reynolds number =")
pdiff=128*vis*(x2-x1)*Q/(%pi*(D^4)*1000);
//for part b0 p1=p2; Q=%pi*(pdiff-(sw*l*sin(... |
c727983136a715a99a4595bcf41a25b362f023bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH3/EX3.2/example_3_2.sce | e31235042cc5419730863e75959c890fff7b38ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 613 | sce | example_3_2.sce | //Chapter 3
//Example 3.2
//page 88
//To claculate the capacitance to neutral and charging current of a three phase transmission line
clear;clc;
d=350; //distance between adjacent lines
r=1.05/2; //radius of the conductor
v=110e3; //line voltage;
f=50;
Deq=(d*d*2*d)^(1/3); //GMD or equivalent
Cn=(0.0242/l... |
24c218f43b051015ae6a23bb33153aed1568e755 | 9948154d8dd3439b683490eb2419b640336a26d7 | /sfc.sce | 3b9338a3ea8230d842779f4372ea61db5d445d28 | [] | no_license | Siddharth11235/Modelica-H-I-L-Tasks | e1245464f14fa04d6787d76a72f735851f744d38 | 1a9f71c17e12475a696713de4a956001f2156818 | refs/heads/master | 2021-07-20T03:38:24.729609 | 2018-10-22T09:58:34 | 2018-10-22T09:58:34 | 114,234,795 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,621 | sce | sfc.sce | clear
clc
x0 = [39.8858212875252,0.1,0,0];
u0 = [-0.15625,1112.82];
//C=[1 0;0 1]
A = [-0.05321913896678525,-7.309325638062395,-0,-0,-9.809999999999766,-0,-0,-0.1176174797773325,-0,-0,-0,-0;-0.01219893117742086,-1.718678333264892,0,0,-5.377762026288438e-08,0,0,0.972369652215591,0,0,0,0;0,0,-0.1173471007801458,0,0,0... |
c843f7c632662313f69a3a9646363cd433789219 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH4/EX4.1/1.sce | b2174a4943fc3b7421f9de4ef02c8e3ed7be65bf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 407 | sce | 1.sce | clc
//Example 4.1
//calculate change in pot. energy per unit mass and total change in pot. energy
g=9.81;//m/s^2 acc. due to gravity
dh=23;//m change in height
dpe=g*dh//m^2/s^2 change in pot energy per unit mass
printf("change in pot. energy per unit mass is %f m^2/s^2\n",dpe);
m=10;//kg
dPE=m*dpe//kgm^2/s^2 o... |
d6c8aad426e12d0022d72e4a0c44d55daa18025a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH2/EX2.23/Ex2_23.sce | f5000d8984642617a254c36496b84cbce822ca88 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 283 | sce | Ex2_23.sce | errcatch(-1,"stop");mode(2);//Example 2_23
;
;
//To calculate the possible order of spectra
N=5.095*10^3 //units in lines per inch
lemda=6000*10^-8 //units in cm
m=(1/N)/lemda
printf("The possible order of the spectra is %.0f",m)
exit();
|
45fe49502337343b02a7e2fbf708b5bab49a89e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH22/EX22.12/example12.sce | 91ff690bde863ccdf03679384cdb614474738817 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 743 | sce | example12.sce | // find frequency and peak-to-peak voltage
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 22-12, page 873
clear;clc; close;
// Given data
Vsat=13;// in volts
R1=1*10^3;// resistance in ohms
R2=100*10^3;// resistance in ohms
R3=10*1... |
941a1859c90dbe4aebf2e902a428248da546f8dd | a1e081ceabd043cf1506b917c7f2fb243be290d8 | /P2/alpha_mixed_euler.sci | bcf45078517d6ef5e0fc1eb569a4eac5b73427c2 | [] | no_license | pablospe/ssc | 2cd8e21e1843f246e2d7f565557f4f73368aa4b8 | 353fc62f18202e73b84bea4f2d83f64cdeb15723 | refs/heads/master | 2021-01-10T21:35:46.798450 | 2014-04-24T05:11:51 | 2014-04-24T05:11:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 405 | sci | alpha_mixed_euler.sci | function [t,x] = alpha_mixed_euler(f, x0, ti, tf, h, alpha)
t=[ti:h:tf];
x=zeros(length(x0),length(t));
x(:,1)=x0;
k=0
for tk=ti:h:tf-h
k = k+1;
// forward euler
xf = step_feuler(f, x(:,k), tk, h);
// backward euler
xb = step_beuler(f, x(:,k), tk, h);
... |
68caf37d8e47b9479cade0f716feb8a1c91ff959 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH1/EX1.02/1_02.sce | 7bd5e03b567ef8d1291163f7b824dbd30a969bd0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | 1_02.sce | //Problem 1.02: A mass of 5000 g is accelerated at 2 m/s2 by a force. Determine the force needed.
//initializing the variables:
M = 5; // in Kg
a = 2; // in m/s2
//calculation:
F = M*a
printf("\n\nResult\n\n")
printf("\nForce: %.0f Newton(N)\n",F) |
2d11b944d5f5c3ef0ca809c09ea50f1cf90fceed | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH14/EX14.13/Example14_13.sce | b216b785d8d40be461e7ce89e6dfa8a66f910123 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 741 | sce | Example14_13.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 7: UNDERGROUND CABLES
// EXAMPLE : 7.13 :
// Page number 219
clear ; clc ; close ; // Clear the work space and console
... |
7df48ccc7e6c76762f392832571017d729677d1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH9/EX9.7/ex_7.sce | 6bca22d5ef61ad6e3368ab854569700b57fc31f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sce | ex_7.sce | // (PG 607)
A = [1 2 3;2 3 4;3 4 5]
lam = spec(A)'
lam1 = lam(1,3)
lam2 = lam(1,1)
lam3 = lam(1,2)
// Theoretical ratio of convergence
lam2/lam1
b = 0.5*(lam2+lam3)
B = A-b*eye(3,3)
// Eigen values of A-bI are:
lamb = spec(B)'
lamb1 = lamb(1,3)
lamb2 = lamb(1,2)
lamb3 = lamb(1,1)
// ... |
885cdfa1f0ceb08a73f0c009a9429b2f4428b501 | 9075eb7fae04907e48cd0a730255fdc9b69071f9 | /sci/Golfball_v10.sci | f8498f8c7735462f003b838332e9d7cf5e832763 | [] | no_license | philippematthieu/GolfBall | 2173288fd434cc2abf5ee277fa584757fc172ebf | fe75825b89187dc68e78fe8d60c1a9f5596db075 | refs/heads/master | 2021-07-25T22:54:22.866727 | 2020-12-16T10:06:40 | 2020-12-16T10:06:40 | 66,164,790 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 41,476 | sci | Golfball_v10.sci | // Copyright (C) 2016 - Corporation - Author
//
// About your license if you have any
//
// Date of creation: 16 juin 2016
//
//SCI2C: DEFAULT_PRECISION= DOUBLE
//
// ReadWave : FFT_Mat.sce
//
function Sac = GetSac()
Type = ['D' ;'W5' ;'H3' ;'5' ;'6' ;'7' ;'8' ;'9' ;'P... |
8f4404c6ea2e1f30f5230bee830ae5e884c2eefc | a1f93c5ed7f19ec2dc6e698a305960c7eaacb3fd | /Practica2.2/Ejercicio1.sci | 0c00989c6a843751b6e17b2e5f3a15d69935a95c | [] | no_license | hectoregm/numerico | 813c74b87c976c2af4fe83adf59561a80141ea2f | ca0e16875746ad9d9c17da7ce0635669fc2410ed | refs/heads/master | 2021-01-21T07:53:31.701526 | 2014-12-02T04:42:40 | 2014-12-02T04:42:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,260 | sci | Ejercicio1.sci | function L = cholesky(A)
// Autores: Hector E. Gomez Morales
// Funcion que realiza la factorizacion de cholesky ie A = LL^t (L triangular inferior)
// Regresa L una matriz triangular inferior
// A debe ser una matriz cuadrada, simetrica y definida positiva para que se pueda realizar esta factorizacion
//**************... |
d86644d4eeaec5c3b65b0f29f40f82f0d695dc09 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH7/EX7.14/7_14.sce | 3fa24e661023518d4bf76a8970507f99bc76ea52 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 151 | sce | 7_14.sce | clc;
H0=282990;
HRo=(1*1018)+(0.5*1036);
HRr=(1*86115)+(0.5*90144);
HPo=1*1368;
HPr=1*140440;
HT=H0+(HRr-HRo)-(HPr-HPo);
disp(HT,"Δh at 2800 K is:")
|
28fb74fc196fec210f9544549a28bb0fa509f28b | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH3/EX3.5/Example_3_5.sci | 698c517add80b90ae1aca667475d37fb2a85acf1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 574 | sci | Example_3_5.sci | clear;
clc;
printf("\n Example 3.5");
//rate of dissolution of salt
function[x]=dissolution(d)
x = (3*10^(-6))-(2*10^(-4)*3.406*10^(5)*d^2);
funcprot(0)
endfunction
//rate of falling of the particle in stokes law region
function[y]=rate_h(d)
y = 3.406*d^(2)/(-3*10^(-6)-68.1*d^2);//y is in m/sec
... |
7d3aac2800d55689bdc282511c15eaa7885c12a3 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /system/kiks_gui_eventhandler.sci | 935322aeda6995b3571829cf69f662191c3f3363 | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sci | kiks_gui_eventhandler.sci | function [] = kiks_gui_eventhandler(win,x,y,ibut)
printf("Event handler %d\n", ibut);
if ibut == -1000 then
kiks_quit;
end;
endfunction;
|
0ead923dfec8a341adda39624e2355e033e499db | 26a768bbd9ab2f5e38d26240a0dd5e9bc2713009 | /models/NETLIST/c1908.tst | 9036d6096e90565a5889ffb52977f9f988d21997 | [] | no_license | dmironov/AGMToolsProject | 90918d1caddd12dc3d716a5e308810f4c7d2a333 | a6ae4bc57496e29ba0104a351a13d59f3c1e4900 | refs/heads/master | 2021-01-17T12:20:32.116568 | 2014-05-13T19:14:55 | 2014-05-13T19:14:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 277,105 | tst | c1908.tst |
.VECTORS 125
.PATTERNS
010010111011001001110111001010001lhllhlhhhlhhllhllhhhlhhhllhlhlllhlhhhlhlhhlllhlllhhhhlllhhhlhhhllhhlhhhlhlhhlllhlllhhhhhhlhlhhhllhllllhhlllhhlllhllhhhhhhhhhhllhhlhllhhhhllllhhllhhhlllllhhhhhhhhlhllhhhhhhhhhhhlhhhhhhlhhhhhllhhlhlhllllhhhhlhlhhhhhhhlhhhhhlhhhhhlllhhhhhhhhlllllhllllhhllllllhhll... |
439bdf20456531834f141a48d66328a9e7fbf1c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH5/EX5.15/Ex5_15.sce | f48d4d00256635550da6fa5466c20d51ee633b0b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sce | Ex5_15.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 5.15\n\n\n");
// Chapter 5 : Properties Of Liquids And Gases
// Problem 5.15 (page no. 202)
// Solution
//The values of temperature and pressure are listed in Table 4(Figure 5.10) and can be read directly.
printf("Specific volume of subcooled water at ... |
c01d0943d0510931e9c0e3a39191cfe79db00e96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH3/EX3.5/Ex3_5.sce | 84f7c2ab9fd38bb4e6715e0ebf7441e816af420b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | Ex3_5.sce | // Example 3_5
clc;funcprot(0);
// Given data
m=100;// kg
d=3;// m
V=0.002;// m^3
P_gage=100;// The gage pressure in kPa
g=9.81;// m/s^2
// Calculation
F=m*g;// N
W=-(F)*(d);// J
P_abs=200;// The absolute pressure in kPa
W_p=P_abs*10^3*V;// The work done on the system in J
W_net=W+W_p;// The net work don... |
f051a629f268dc904c4686e7286c9c4f05344bf0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH7/EX7.5/Ex7_5.sce | 4f86b2abd2f886d30b5c0988d936c2f8d7132553 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | Ex7_5.sce | clc;
//A circuit is midpoint bised when the Q-point value of Vce is one half of Vcc.
//from example and 7.3
Vcc=8; //volt
Vbe=0.7; //volt
Rb=360000; //ohm
Ib=(Vcc-Vbe)/Rb; //Ampere
Hfe=100;
Ic=Hfe*Ib;//Ampere
Rc=2000; //ohm
Vce=Vcc-Ic*Rc; //volt
disp('V',Vce,"Vce=");//The answers vary due to round off error... |
f14b976b3692a51e0c80c97a642b66c8d314a9cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH4/EX4.3/4_3.sce | e91a903edc798e27b0a868de33875a65c6214492 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sce | 4_3.sce | clc
//initialisation of variables
a=12//in
h=121//in
p=11//in
s=220//in
//CALCULATIONS
B={a/[p*(h-1)]}*s//per unit
//RESULTS
printf('the interval of time a noted before=% f per unit',B)
|
c6067123d0dfdc073f3e5e2ffea3bcc6be4679ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH9/EX9.2/ex2.sce | a8f05131c7c67317f89d94fddf5c8decae9a9249 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | WINDOWS-1252 | Scilab | false | false | 1,910 | sce | ex2.sce | //ques2
//The Ideal Otto Cycle
clear
clc
//the temperature and pressure of air at the end of the isentropic compression process (state 2), using data from Table A–17
T1=290;//initial temp in K
u1=206.9;//initial internal energy in kJ/kg
vr1=676.1;//initial reduced volume
//Process 1-2 (isentropic compression of... |
de83b3516e2e17e2f31a114f213eae0be28c74a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH10/EX10.6/ch10_ex_6.sce | d32ab7468fc9f8ddd23b2921e001d6d6b3aaa2e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 636 | sce | ch10_ex_6.sce | //CHAPTER 10- THREE-PHASE INDUCTION MACHINES
//Example 6
disp("CHAPTER 10");
disp("EXAMPLE 6");
//VARIABLE INITIALIZATION
P=4; //number of poles
f_r=2; //rotor frequency in Hertz
f_s=50; //stator frequency in Hertz
v=400; //in Vo... |
f9a7ea52dab04e1d32b7bcd7acae2ecdeda78e9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /48/CH2/EX2.4/eg_2_4.sce | 131e07aaf067b51474df97c83a55e70d12a172ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | sce | eg_2_4.sce | clear;
clc;
N1=2;
N2=3;
//n=1;
//while(n<=N1)
// i(n)=input("enter the elements of first set");
// n=n+1;
//end;
i=['p' 'q']; //set A
//n=1;
//while(n<=N2)
// j(n)=input("enter the elements of second set");
// n=n+1;
//end;
j=['r' 's' 't']; //set B
c=1;d=1;
for a=1:1:N1 //realtion ... |
89559ef6bf1d060b99baf5501646d116a81db11d | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH9/EX9.8/Example_9_8.sce | 44af9cf3bb1db23959e1f05539de2e89da752d02 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 609 | sce | Example_9_8.sce | //clear//
clear;
clc;
//Example 9.8
//Given
D1 = 1; //[ft]
D6 = 6
Nre_i = 10^4;
Da = 4; //[in.]
t1 = 15; //[s]
P = 2; //[hp/gal]
//(a)
//Using Fig. 9.15
//the mixing factor ntT is constant and time tT is asumed constant,
//speed n will be the same in both vessels.
//Using Eq.(9.24) with consant dens... |
51a9c25d20d0e75520486aa702a51c5a6e1a4795 | 13d93c2922005af35056d015f1ae3ebebe05ee31 | /scilab/physique/traitement_signal/son_cplus/filter.sce | 8dec9f935ca95117471c8fc4d8849f22d4b0a13c | [] | no_license | scls19fr/openphysic | 647cc2cdadbdafd050d178e02bc3873bd2b07445 | 67bdb548574f4feecb99b60995238f12f4ef26da | refs/heads/master | 2021-04-30T23:16:26.197961 | 2020-11-16T20:21:17 | 2020-11-16T20:21:17 | 32,207,155 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,728 | sce | filter.sce | clear;
fc = 12800; // freq de coupure filtre passe-bas
fs = 44100; // freq echantillonnage
// filtre passe bas analogique
//hs=analpf(20,'ellip',[1E-4 1E-4],fc);
//fr=20:100:20000;
//hf=freq(hs(2),hs(3),%i*fr);
//hm=abs(hf);
//plot(fr,hm)
// filtre numerique RII reponse impulsionnelle infinie (passe-bande)
//hz=iir(... |
67d1ee3237654558239407932e9cecbefb203e97 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/authorswrite.tst | 2c9c4a509dfb3d36f6e885f4407efc56d9d1d7bc | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 402 | tst | authorswrite.tst | ## Regression test authors write format
# Expected format: USER = Name <USER@DOMAIN>
read <<EOF
blob
mark :1
data 3
Hi
reset refs/heads/master
commit refs/heads/master
mark :2
author Kevin O. Grover <kevin@kevingrover.net> 1472305515 -0700
committer Kevin O. Grover <kevin@kevingrover.net> 1472305515 -0700
data 13
Just... |
6c18d9f0aac354efd39da38616b05250a033d49e | 276dd1422a7890d6657101fcc9cbccc4ae7e8ce4 | /tags/2010/branches/capstone/php/knights/legacytests/test3.tst | 0f743a074c6a29deb7ff091648e53772978f4f96 | [] | no_license | valdas/knit | 4a0adef8bfe426506e55ffcc3a297dfa4dc2e903 | ccbdf3c975061ba0875e881e2f94c8432d7a16cb | refs/heads/master | 2021-01-10T02:08:06.358327 | 2012-01-16T17:05:01 | 2012-01-16T17:05:01 | 43,171,119 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 73 | tst | test3.tst | <?php
include ('knights.php');
$array=newBoard();
printBoard($array);
?>
|
6a0f6104dfbb4ea0e4c9764cf7d9769f6f4a80ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH1/EX1.10/example1_10.sce | 72bb339dd80d9612fb814ab0e4f61715f62c79cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 870 | sce | example1_10.sce |
//exapple 1.10
clc; funcprot(0);
// Initialization of Variable
pi=3.14159;
theta=20+30/60;
H=42+6/60;//hour angle
delta=50;
//in triangle ZPM(figure in book)
PZ=(90-delta)*pi/180;
H=H*pi/180;
PM=(90-theta)*pi/180;
ZM=acos((cos(PZ)*cos(PM)+sin(PM)*sin(PZ)*cos(H)));
alpha=pi/2-ZM;
alpha=alpha*180/pi;
d... |
63fdbde14f8fd06cfb7919824f0385cc1a805120 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH9/EX9.1.2/9_1_2.sce | 4f7136efbb117a423d6e56d5fcd6cb79430aa6de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 370 | sce | 9_1_2.sce | clc
pathname=get_absolute_file_path('9_1_2.sce')
filename=pathname+filesep()+'912.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
disp("From reaction, only gaseous are counted")
left=1+2
right=1+1
deltaUr=deltaHr-R*T*(rig... |
c9394fc7521dd5eeac3864e80f46ca65bc979f21 | ff1325c4f8bc7aae332f9dfbae7b15e8243c7d51 | /gauss.sce | f5ea18ecce0701841dee586ad75d8435775ce0c5 | [] | no_license | jperret21/calcul_numerique | c17d274a1d9a4ec42c510fbfb7a29cbe5e985572 | 1379d876b42849664bde200b5a1fde0221715b06 | refs/heads/main | 2023-01-14T16:22:24.308899 | 2020-11-26T13:36:57 | 2020-11-26T13:36:57 | 314,207,969 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,192 | sce | gauss.sce | //----------------------------------Gauss-------------------------------------//
function [res]=usolve(U,b)
n=size(b,1)
x=zeros(n,1)
x(n)=b(n)/U(n,n)
for i= n-1:-1:1
x(i)=(b(i)-U(i,(i+1):n) * x((i+1):n))/U(i,i)
end
res=x
endfunction
function [res]= gauss(A,b)
t=[]
n=size(... |
4287695bf8f8352f240402c4f68b7e6b62a0c12c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH5/EX5.14/5_14.sce | 927ab09a966d1986bc90356f0353f98c2e45ffcd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 767 | sce | 5_14.sce | clear;
clc;
R=55;L=0.6*(10^-3);G=1*(10^-6);C=0.04*(10^-6);f=800;r=8;l=0.1;d=2.5; //value of l(loading coil inductance) as taken in solution
w=2*%pi*f;
Z=round(R+(%i*w*L));
Y=G+(%i*w*C);
Zo=sqrt(Z/Y);
P=round(sqrt(Z*Y)*10^4)/10^4;
Zc=r+(%i*w*l);
A=fix(((cosh(P*d))+(Zc*(sinh(P*d))/(2*Zo)))*10^3)/10^3;
Pl=(acosh... |
8f2a3855791977e60b8c0209dc4869c07a6fcb3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH6/EX6.3/Ex6_3.sce | b0ddc7201d6fa5e5b702e422764574bdf8f0de6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sce | Ex6_3.sce | // Example 6_3
clc;funcprot(0);
// Given data
p_1=2.00;// MPa
p_2=0.100;// MPa
T_2=150;// °C
h_1=2776.4;// kJ/kg
h_2=2776.4;// kJ/kg
// Calculation
h_f1=908.8;// kJ/kg
h_fg1=1890.7;// kJ/kg
h_g1=2799.5;// kJ/kg
x_1=(h_1-h_f1)/h_fg1;// The quality of steam
x_1=x_1*100;// The quality of steam in %
T_1=212... |
ef77e735a0495552cf45c95a90ad67e71491f25b | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH11/EX11.8/Example_11_8.sce | d37b56f8c06d6b3b934114eee2cf0c67ba7c66c9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 520 | sce | Example_11_8.sce | clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
//Example 11.8
//Caption : Program to Find the Fugacity of 1-butene vapor
T=473.15;//[K]
P=70;//[bar]
Tc=420;//[K]
Pc=40.43;//[bar]
omega=0.191;
//By interpolati... |
d7aa0cd59d3126f68e2a33d67f148cd2bbdb5924 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH17/EX17.6/Ex17_6.sce | cef19b0bc95c0424563eb03dfabf01b683b4e7cc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | Ex17_6.sce | //Example 17_6
clc();
clear;
//To calculate the cost needed to operate
power=0.7 //Units in KW
time=0.5 //Units in h
heat=power*time //Units in K Wh
cost=0.10 //Units in Dollars
tcost=cost*heat //Units in Dollars
printf("Cost needed to operate is=%.4f Dollars",tcost)
|
7ab48da9171d5a2ed0b3de132fd36ce8851da19f | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH18/EX18.07/18_07.sce | e93579def7a73ecd1857ba73c18ef26cb1133fe2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 791 | sce | 18_07.sce | //pathname=get_absolute_file_path('18.07.sce')
//filename=pathname+filesep()+'18.07-data.sci'
//exec(filename)
p2 = 4; Cp = 1.005;
//Pressure(in bar):
p1=1.2
p6=p1
p3=4
p3=p2
p4=1
p7=0.9
//Temperatures(in K):
T1=288
T6=T1
T5=25+273
T3=323
T8=30+273
n=1.45
n1=1.3
//Temperature at state 2(in K):
T2=T1*(p2/p1)^((n-1)/n)
T... |
6a458c9443eb12ac8d91b73a0f8e571de3d004bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH4/EX4.14/Ex4_14.sce | 9e66fe717e4e3ca2a296c2111f0fed859a074f61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | Ex4_14.sce | //example 14
clear
alpha1=0.99;
ib=25*10^-6;//ampere
icb=200*10^-9;//ampere
beta1=alpha1/(1-alpha1);
ic=beta1*ib+(beta1+1)*icb;
disp("collector current = "+string((ic))+"ampere");
ie1=(ic-icb)/alpha1;
disp("emitter current = "+string((ie1))+"ampere");
ic=beta1*ib;
disp("collector current with ib = ... |
a3b0796eb1d3d452ce3abbf60b24cdfe9858b525 | 6e8df5b4cc6a12833566b3b67b0160d1937be025 | /Multimorphic_testing_data_code/code/scilab/coco/scripts/scilab/v2/from_idx_to_names.sci | 64a2456f062c44ee8fa2216087101d747a60612b | [] | no_license | templep/TSE_MM_test | 2b2cc79b9e6d46a80bf692227f367438adeca3f3 | 4d3c08489c182b77418fc5d4e55377d5b68e8334 | refs/heads/master | 2020-03-22T22:01:12.897309 | 2019-06-13T07:50:42 | 2019-06-13T07:50:42 | 140,728,734 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,034 | sci | from_idx_to_names.sci | function s = from_idx_to_name(path_idx,filename_idx,path_names,filename_names)
//retrieve indexes
idx = csvRead(path_idx+filename_idx,",",".","double");
idx($,:)=[];
//s=idx;
//retrieve names
all_data = csvRead(path_names+filename_names,",",".","string");
all_data(find(all_data(:,1)=="[... |
f93d3b6a227a4d0cdd30679e4ab22d6d34877b30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3840/CH4/EX4.9/Ex4_9.sce | 92dd917fee3c594adf42f419367bb54ef8877374 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | Ex4_9.sce | clear
//
//
//
//Variable declaration
L=3*10**-10 //length(m)
m=9.1*10**-31 //mass(kg)
e=1.6*10**-19 //charge(c)
h=6.63*10**-34 //plank constant
//Calculation
E1=h**2/(8*m*e*L**2) //minimum energy(eV)
//Result
printf("\n minimum energy is %0.1f eV",E1)
|
89fffc605ec6645ba3858bb5ab4803dc81c5a3ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /617/CH9/EX9.11/Example9_11.sci | c249ecca3e2178ad3cda77ba1d5e150f6d5c8843 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 974 | sci | Example9_11.sci | clc();
clear;
// To compute the temprature distribution
h=1; // Heat transfer coefficient in Btu/hr-ft^2-degF
x=1; // Assumed thickness in ft
k=1; // Thermal conductivity in Btu/hr-ft-degF
N=h*x/... |
8947dc32ddfda7b1308e725e25db7ecb2c8856fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH2/EX2.1/example2_1.sce | edc93ce3501d1b504cdf79550d5d7021da5d4050 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | example2_1.sce | //Chapter 1
//Example 2.1
//Page 16
clear;
clc;
n_overall = 20;
W = 0.6;
printf("Let x kcal/kg be the calorific value of fuel.\n")
printf("Heat produced by 0.6 kg of coal = 0.6 x kcal\n")
printf("Heat equivalent of 1 kWh = 860 k cal\n")
//Calculation of calorific value of coal
printf("Now, n_overall = Electrical ou... |
a5836b5e961329750fbabb263fc11b2d84ba5ad1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /833/CH11/EX11.9/Ex11_9.sce | 59231bc6e4a1b7876197523bae36e82d2cba5f0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | Ex11_9.sce | //Caption:Find (a)the rotor copper loss per phase if motor is running at slip of 4% (b)Mechanical power developed
//Exa:11.9
clc;
clear;
close;
P_i=100000//Input power(in watt)
P_sc=2000//Stator copper loss(in watt)
s=4//slip(in %)
P_r=P_i-P_sc
P_rc=((s/100)*P_r)/3
disp(P_rc,'(a)Rotor copper lossper phase(in ... |
a6e247994e3b05972ac98e5be8ffb07026b92e0a | f4cfee6e4201b01843e6de00cc439883a49aa4f1 | /my scilab files/yogesh5.sce | df8dd2e1e711479334801c6eb39e93606c2eb94b | [] | no_license | yogeshkhatana/All_programming_language_files | a17bb49ea4d3aef2b667bdbb03f3af5c4224b0d1 | bec946abcf8e69a6e6ebc568d14db73c52029170 | refs/heads/master | 2022-11-19T09:05:08.861581 | 2020-07-24T17:40:32 | 2020-07-24T17:40:32 | 282,181,013 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | yogesh5.sce | x=[30 40 30 50 20 60]
y=[1 2 3 4 5 6]
subplot(3,1,1)
bar(x,y,'c')
xlabel('x-axis')
ylabel('y-axis')
xtitle('Bargrap 1')
xgrid()
subplot(3,1,2)
bar(x,y,'c')
xlabel('x-axis')
ylabel('y-axis')
xtitle('bargraph 2')
xgrid()
subplot(3,1,3)
bar(x,y,'c')
xlabel('x-axis')
ylabel('y-axis')
xtitle('bargraph 3')
xgrid()
|
dbc76ba1b0907b8a7c62641950f9fb4e8479d680 | 8e63d59cd69e5695197d294ff8af6a51d39680b5 | /corpus/simple.tst | 5f24fa32f27c28c3d66f91712bd249685ca3f06d | [
"MIT"
] | permissive | tautologico/tree-sitter-racket | d4cf85e6f460432fd1e099d10cf23a9c604a9dd4 | a3e0890c6a166e99e35fe5acb7c510408cdf2d5b | refs/heads/master | 2020-04-20T12:26:20.829572 | 2019-10-29T17:27:32 | 2019-10-29T17:27:32 | 168,843,295 | 8 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | tst | simple.tst | =============
Simple datums
=============
#lang test
32 ; this is a line comment
'akaibara
"a little string"
`define
#t
#F
#T
---
(source_file
(lang_line (symbol))
(datum (number))
(datum (quoted_datum (datum (symbol))))
(datum (string))
(datum (quoted_datum (datum (symbol))))
(datum (bool... |
3f45dc770d8dc496130dd0e10bdeb845a9269f20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH1/EX1.17/17.sce | abe39d96292b8a24d5a4200616139cd2f6f5c3b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | 17.sce | clc
clear
//Input data
M=2.5 //Mach number
h=10 //Height in km
//Calculation
alp=asind(1/M) //Mach cone angle in degree
d=10/tand(alp) //Distance the jet would cover before a sonic boom is heard on ground in km
//Output
printf('Distance the jet would cover before a sonic boom is heard on ground is %3.2f... |
7d01abc1507ebd4618f8913b456aa621740a2b34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH4/EX4.5/EX4_5.sce | 633446ceef0816d834aa35e762206b315fa90e5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 925 | sce | EX4_5.sce | // Example 4.5
// Computation of (a) Shaft speed (b) Mechanical power developed
// (c) Developed torque
// Page No. 152
clc;
clear;
close;
// Given data
Prcl=263; // Rotor copper loss
Pgap=14580; // Power input to the rotor
fs=60; // Frequency
p=4; ... |
9141ce19b059496695499201b4d80814d58d217d | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH5/EX5.16/ch5_16.sci | 462bc65a80d503f979c672b988be063a63e3068e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sci | ch5_16.sci | //to find voltage available b/w slip rings and its freq
clc;
disp('(a)');
f=50;
p=6;
n_s=120*f/p;
n=-1000;
s=(n_s-n)/n_s;
f_s=f*s;
disp(f_s,'slip freq(Hz)');
v2=100;
V2=s*v2;
disp(V2,'slip ring voltage(V)');
disp('(b)');
n=1500;
s=(n_s-n)/n_s;
f_s=abs(f*s);
disp(f_s,'slip freq(Hz)');
v2=100;
V2=s... |
1ae9fca52f7f0f1933d8594ee3e7203fc9799098 | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH8/EX8.7/8_7.sce | 667b4647c92982d93a47de91466ba051f824bf84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,919 | sce | 8_7.sce | b = 6 ; // Outer dimension of the pole in inch
t = 0.5 ; // thickness of the pole
P1 = 20*(6.75*24); // Load acting at the midpoint of the platform
d = 9 ; // Distance between longitudinal axis of the post and midpoint of platform
P2 = 800; // Load in lb
h = 52 ; // Distance between base and point of action of P2
... |
ea31a7a9b95399930431fdde40ed88668e5d0f3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH6/EX6.8/Example_6_8.sce | cfdd3b9f94d595dee2f7f50a585bc15e392a7d53 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,885 | sce | Example_6_8.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 6
//Thermodynamic Properties of Pure Fluids
//Example 8
clear;
clc;
//Given:
//Equation of state: P(V-B) = RT + (A*P^2)/T
Cp = 33.6; //mean specific heat at atmosheric pressure (J/mol K)
A = 1*10^-3; //m^3 K/(bar)mol
B = 8.0*10^-5; //m^3/mo... |
18dc3516ad6485798f6ed3f11f144a337114d88c | c09810ccf146237702bc5eedd87109dd496b389a | /ОТУ/1.1/1.1.sce | abed22805e4f9d05900170455f1e7de280228c41 | [] | no_license | Krokofol/OOAIDLab | 2d0e5b2ff517dd1e51d8239dc8bb5575b2ed8384 | a583d91a47c9e5f2a56a36b2c3f13bbc794f9517 | refs/heads/master | 2023-03-30T22:04:06.564312 | 2021-04-01T14:22:01 | 2021-04-01T14:22:01 | 339,401,547 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 218 | sce | 1.1.sce | A=[0 10 30 40;10 0 20 30;30 20 0 -50;40 30 50 0];
b=[-50;-40;120;50];
A1=A;A1(:,1)=b;
A2=A;A2(:,2)=b;
A3=A;A3(:,3)=b;
A4=A;A4(:,4)=b;
D=det(A);
d(1)=det(A1);
d(2)=det(A2);
d(3)=det(A3);
d(4)=det(A4);
x=d/D
P=A*x-b
|
a1e318027a24f906cdd15181beee7dd89d834fa5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH3/EX3.4/Ex3_4.sce | e48433db399ef63127ae87bd7a6cb968facfc46d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | Ex3_4.sce | clear;
clc;
//Example 3.4
Vbb=1.5;//(V)
Rb=580;//(KOhm)
Veb=0.6;//(V)
Vcc=5;//(V)
b=100;
//writing Kirchhoff voltage law equation around E-B loop
Ib=(Vcc-Veb-Vbb)/Rb;
printf('\nbase current=%.3f mA\n',Ib)
Ic=b*Ib;
printf('\ncollector current=%.2f mA\n',Ic)
Ie=(1+b)*Ib;
printf('\nemitter current=%.3f mA\n'... |
6970e86b59465576d1d7c036e4c8e167c3c5453b | a5e2e29746cbbbfd0c0bd14cc542cd3ba2bf7d3f | /Sem2_Mathe/random nice shit/gerade.sci | 8acdecb0a9910462dcfff28e4cb30b0d5bfb3a00 | [] | no_license | DonnyAwesome/UNI | 99580eabc0ff200eeecb72d866313b89cd28d0cb | c028434b672ae1962c2074fc249012d68a63db2b | refs/heads/master | 2020-04-02T13:05:02.067280 | 2019-02-14T02:14:06 | 2019-02-14T02:14:06 | 154,466,384 | 0 | 0 | null | 2018-10-24T08:33:10 | 2018-10-24T08:33:10 | null | UTF-8 | Scilab | false | false | 182 | sci | gerade.sci | function [m,b] = gerade(x, y)
m1 = (y(2)-y(1))/(x(2)-x(1));
m2 = (y(3)-y(2))/(x(3)-x(2));
m = (m1 + m2);
b = y(1) - m*x(1);
endfunction
|
22128541ebb337af802cb23e28f70da4260fb4dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH13/EX13.5/Ex13_5.sce | 8a64ca68d42f61cacaf70b2c31e27cb26e277e63 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | Ex13_5.sce | //pagenumber 581 example 5
clear
voltag=2000;//volt
d=2*10^-2;//metre
//(1) frequency
vx=sqrt(2*1.6*10^-19*(voltag)/(9.11*10^-31));
durati=d/vx;
freque=1/(2*durati);
disp("max frequency "+string((freque))+"hertz");
//(2)
durati=60*durati;
disp("duration electron between the plates = "+string((durati))+... |
8a707caa9f3fbc740ff0d28ffc37b3f027d04c2d | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/testbreakline.sce | ada9337bf3bc710c67ce94ea4fb4d18409e2192d | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 116 | sce | testbreakline.sce | //matrix defined across several lines
M= [ 1 2 3;
4,5,6]
//instructions spanning several lines
sum(M,..
'c')
|
987f9a3dbd870edf3037f3dbb98c4e6ac8746ff6 | 7fa099e9d565bee9cdd572755843852769c99498 | /tests/dfp-080-to-packed.tst | 3e979be28f01f2ced106b59c8250b584c0901ca0 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | Peter-J-Jansen/SDL-hyperion | 0d2a16f1d837fa27b8f0aaa927dc84a8ebdb44f6 | 58578601d7a34fc11f050b0ac4fd425a4c0422eb | refs/heads/master | 2023-04-27T03:42:18.421272 | 2022-11-27T00:16:06 | 2022-11-27T00:16:06 | 238,422,138 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 31,927 | tst | dfp-080-to-packed.tst | *Testcase dfp-080-to-packed.tst: CPDT, CPXT
sysclear
archmode esame
#
# Following suppresses logging of program checks. This test program, as part
# of its normal operation, generates 16 expected program specification checks from
# packed lengths greater than allowed. This is part value of the validation process.
... |
e73973bfecfcd6cbbcca31753bce090779b2671b | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH2/EX2.48/2_48.txt | b2acbfd8e5f7e92d7282b37609a66d2464aac254 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 579 | txt | 2_48.txt | //Caption:Determine the internal losses,torque & efficiency of the motor
//Exam:2.48
clc;
clear;
close;
V=240;//supply voltage(in V)
I=80;//motor taking current(in Amp)
H.p=20;//motor giving H.P.
I_p=V*I;//input (in watts)
O_p=H.p*735.5;//output (in watts)
L_i=I_p-O_p;//internal losses(in watts)
disp(L_i,'in... |
fb5c472c5d7d9aa3205c0f510bacd4369d3f8b0a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_M._V._Despande_833.zip/Electrical_Machines_M._V._Despande_833/CH12/EX12.2/Ex12_2.sce | dfcb67dc41ecb28268d7d2def4c02e80e948e49a | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 958 | sce | Ex12_2.sce | errcatch(-1,"stop");mode(2);//Caption:Find (a)Starting current (b)Starting torque
//Exa:12.2
;
;
P=3000//Power of motor(in watt)
V=415//Voltage supplied(in volts)
f=50//Frequency(in hertz)
p=6//Number of poles
pf=0.8//Power factor
pfs=0.64//Power factor on short circuit
pfn=0.1//No load power factor
I_n=3.... |
9530b3797ec21b0134b77703fd5e5aad331bff74 | ab5ea127e50a95f36b0e30edcbc79a2952c91858 | /Igor_Yoshimitsu_trab5.sce | 4c2842742a68ccc30d212f9b05398798f340e95b | [] | no_license | igoride/Calculo_Numerico | 165580305214ac34f3fe1e00eb53eca1a6588afa | 9d43be899d7ae44adc08f48dbfc76fed10e09e93 | refs/heads/main | 2023-06-02T05:30:04.542633 | 2021-06-21T16:18:57 | 2021-06-21T16:18:57 | 378,991,891 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 940 | sce | Igor_Yoshimitsu_trab5.sce | function [z]= g1(X)
z = X.^0
endfunction
function [z] = g2(X)
z = X
endfunction
function [z] = g3(X)
z = X.^2
endfunction
exec('quadrados_minimos.sci');
// definindo os pontos tabelados da função
X = [0, 1, 2, 3];
F = [3, 5, 8, 13] ;
GLista = list(g1,g2,g3)
[a] = quadrados_mi... |
42a3fbca057685eebb047d900f8528f93e3a17b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH16/EX16.1/16_1.sce | 9fed2c9ac4ed020db5a5195fd7e76628000165fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 239 | sce | 16_1.sce | clc
//initialisation of variables
clear
v= 1
m= 0.5
//CALCULATIONS
m1 = 2*m
m2 = 1*m
v1 = 2*v
v2 = 1*v
M = (m1^2*m2)^(1/(v1+v2))
//RESULTS
printf ('mean ionic molality = %.1f ',m2)
printf ('\n mean ionic molality = %.3f ',M)
|
ff5ac5ec68f65073dccc4661808587923f1cac7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH3/EX3.17/3_17.sce | 834848f2c1ace254a2329cbba5d3c53c81bbde68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,111 | sce | 3_17.sce | //pathname=get_absolute_file_path('3.17.sce')
//filename=pathname+filesep()+'3.17-data.sci'
//exec(filename)
//Initial pressure(in MPa):
p1=0.5;
CpH2 = 14.307;
CpN2 = 1.039;
RN2 = 0.2968;
RH2 = 4.124;
T1 = 300;
v1=0.5;
vN1 = 0.5;
vN2 = 0.75;
v2 = 0.25;
//Initial volume(in m^3):
vi=0.5
//Final pressure(in MPa):
pf... |
25d499f42c1a35a671484402971431fcfbf1d529 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH4/EX4.12/Ex4_12.sce | af8cce61658c55ead02bb65fbd41891b22545e0f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 630 | sce | Ex4_12.sce |
clc
//Given that
alpha_300 = 2.5e-39 // total polarisability in C^2m/N at 300 K
alpha_600 = 1.75e-39 // total polarisability in C^2m/N at 600 K
T1 = 300 // Initial temperature in Kelvin
T2 = 600 // Final Temperature in Kelvin
printf("Example 4.12\n")
b = (alpha_300-alpha_600)*T2
al_def_300 = alpha_300 - b/30... |
f8366c6cab829e25b660b51fffcca9452310c3fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH1/EX1.4/1_4.sce | 16fde3b5eebaf2016dbb304cf1560308ccf7512d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | 1_4.sce | //example 1.4
//best approximation
//page 10
clc;clear;close;
A_X=1/3;//the actual number
X1=0.30;
X2=0.33;
X3=0.34;
A_E1=abs(A_X-X1);
A_E2=abs(A_X-X2);
A_E3=abs(A_X-X3);
if(A_E1<A_E2)
if(A_E1<A_E3)
B_A=X1;
end
end
if(A_E2<A_E1)
if(A_E2<A_E3)
B_A=X2;
end
end
if(A_E3<A_E2)
if(A_E3<A_E1)
... |
8caec4787bb4078058eaa9928c3c2da51a39c981 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH3/EX3.16/Example316.sce | accfa9e8e698df8d879d92e03afa790f548fdcb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 584 | sce | Example316.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 3, Example 16")
disp("If D1 is the diameter of pipe, then discharge is Q = pi*D1^2*C2/4")
Q = 0.245
D1 = 0.28
C2 = 4*0.245/(%pi*0.28^... |
eb434d0939fc73e835de39b39b005e691c0899ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH1/EX1.10/example1_10.sce | 37d5604be896c1a5e37e49678634e9d0ab688524 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 445 | sce | example1_10.sce | clc
// Given that
d = 0.0001 // distance between two slits in meter
Beta = 0.005 // width of the fringes formed in meter
D = 1 // distance between slit and screen in meter
// Sample Problem 10 on page no. 1.43
printf("\n # PROBLEM 10 # \n")
lambda = (Beta * d) / D // calculation for wavelength of light = %e met... |
100e879a4b83a9444d956962c2e9372f22fb615b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH10/EX10.1/Ex10_1.sce | e7d9e4374feb0cfa52917903e6c3d04a6ba90c15 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 893 | sce | Ex10_1.sce | l=1//span, in m
t=0.27//tread in m
sigma_cbc=5//in MPa
sigma_st=140//in MPa
MF=1.6
a=MF*7
D=l*10^3/a//in mm
D=100//assume, in mm
W1=D/10^3*t*25//in kN/m
M1=W1*l/2//in kN-m
M2=t*3*l/2//in kN-m
M3=1.3*l//in kN-m
M=M1+max(M2,M3)//in kN-m
d=sqrt(M*10^6/0.87/t/10^3)//in mm
d=83//in mm
//assume 8 mm dia bars
... |
b2c89ebeedc2354d1fb451472b949002a83cb90b | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/20_3data.sci | a338bb6446e51d33d5924c3090697cf642301c21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 95 | sci | 20_3data.sci | Sy=4.8*10^3;//shear load,given,in N
A=300;//Boom area,given,in mm^2
L=200;//leangth,given,in mm |
83b4cdabd4fe6acfdaaabe2f90c137a91bf51826 | d4433dc5a6e90f6a26a4c5d9dee686eade240b25 | /ASM3.TST | 0ffa5ce103852ca463137bd08558793774ea0a74 | [] | no_license | qb40/all | 6e2149ef3c6151717e468ca236840de622cf7d2a | e168acb64fbde09277b04515574507dcbe35161c | refs/heads/master | 2022-02-05T17:58:39.207269 | 2014-01-19T13:28:41 | 2014-01-19T13:28:41 | 106,962,623 | 5 | 0 | null | 2017-10-14T21:02:04 | 2017-10-14T21:02:03 | null | UTF-8 | Scilab | false | false | 239 | tst | ASM3.TST | 'successful test
OPEN "B", #1, "mouse2.dll"
FOR i = 1 TO LOF(1)
SEEK #1, i
k$ = INPUT$(1, #1)
mouse$ = mouse$ + k$
NEXT
CLOSE #1
SCREEN 13
DEF SEG = VARSEG(mouse$)
a% = SADD(mouse$)
CALL absolute(a%)
DO
k% = INP(&H60)
LOOP UNTIL k% = 129
|
dbee9460e8740ce499beaac06b468df8e327ad6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH6/EX6.27/6_27.sce | c3d87359360a874e4c39925d8d036dba2aeec247 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 741 | sce | 6_27.sce | clc,clear
printf('Example 6.27\n\n')
kW=[800,500,1000,600]
cosphi=[1,0.9,0.8,0.9]
tanphi=tan(acos(cosphi))
kVAR=kW.*tanphi
kW_total=kW(1)+kW(2)+kW(3)+kW(4)
kVAR_total=kVAR(1)+kVAR(2)+kVAR(3)+-1*kVAR(4) //4th case is leading
phi_c=atan(kVAR_total/kW_total) //total power factor angle
phi_1=acos(0.95)//pf... |
75cf8baa282ad47e6b1ee8a0bbcfaee7dfcc1b0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH1/EX1.9/ex_1_9.sce | 15fbe2d957f33104beb9ca7a79c272e7551715fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | ex_1_9.sce | //ex_9 to show that e^iwt is periodic with T=2*pi/W0
clear;
clc;
close;
t=0:1/100:10;
w0=1;
T=2*%pi/w0;
x=exp(%i*w0*t);
y=exp(%i*w0*(t+T));
if ceil(x)==ceil(y) then
disp('e^iwt is periodic with T=2*pi/W0')
else
disp('nonperiodic')
end |
747e1ee2e6457d653dbc21badd3543e874e70c21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH8/EX8.3.4/8_3_4.sce | a9b72f2b58bf2d4ca47fb31cb9ed4019f1407831 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 726 | sce | 8_3_4.sce | clc
pathname=get_absolute_file_path('8_3_4.sce')
filename=pathname+filesep()+'834.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook \n ")
function[Cp1]=fun1(T)
Cp1=0.04937 + T*13.92*10^(-5) - T^2 *5.816*10^(-8) + T^3 *7.280... |
e1d3fa9524860c5d510d0dda4788f70abc8fe1da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH2/EX2.6/Ex2_6.sce | 83993f438a90d85c48fbaeab83e682ee2f25a1dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 940 | sce | Ex2_6.sce | clc
clear
printf("Example 2.6 | Page number 41 \n\n");
//(a)Find the work of compression of air.
//(b)What would be the work done on air.
//Given Data
p1 = 1.0 //bar //initial pressure
V1 = 0.1 //m^3 //initial volume
p2 = 6 //bar //final pressure
//and p1*(V1^1.4) = p2*(V2^1.4)
printf("Initial ... |
919a4d3a653dad8209e0d58e4db485c41a3b9219 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH7/EX7.9.1/Ex7_9.sce | 3f54ff3baee36bf30466086067b6561cc7e12c56 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 185 | sce | Ex7_9.sce | clc
clear
Eith=0.29;
Em=0.77;
BP=5.5;
SG=0.87;
CV=43000;
Ebth=Em*Eith;
Mf=(BP*3600)/(Ebth*CV);
D=SG*1000;
Mff=(Mf*1000)/D
printf('Mf= %3.2f litre/hr',Mff);
printf('\n');
|
8f9ca135ab550d0745697df1b06c609fef4d5476 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH20/EX20.2/Ex20_2.sce | 69e9058c8224babdc33f4e397b441bb1b74cbd66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | Ex20_2.sce | //Example 20.2
delta_Q_electrons=-0.300*10^-3;//Charge (C)
delta_t=1;//Time (s)
I_electrons=delta_Q_electrons/delta_t;//Current due to flow of electrons (C/s)
q=-1.60*10^-19;//Charge per electron (C)
printf('Number of electrons passing per second = %0.2e electrons/s',I_electrons/q)
//Answer varies due to round of... |
9f6208f59a2844c80a6d554534e1e8776c507892 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH4/EX4.31/Ch04Ex31.sce | cfd184651ca9c8236b501bdaa4d14a0780a02046 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 440 | sce | Ch04Ex31.sce | // Scilab code Ex4.31: : Pg:181 (2008)
clc;clear;
Lambda = 6000e-08; // Wavelength of light, cm
mu = 1.35; // Refractive index of thin wedge shaped film
omega = 0.20; // Fringe width, cm
// As omega = Lambda/(2*mu*theta), solving for theta
theta = Lambda/(2*mu*omega)*180/%pi; // Angle of the wedge, de... |
1c5132ff76627f47b8650a55143629db1f3351fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH4/EX4.1/Example4_1.sce | 9b3f10cdd31cad845a794f0f4589b72ccb9d1d31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,226 | sce | Example4_1.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 4: DC Dynamo Torque Relations-DC Motors
// Example 4-1
clear; clc; close; // Clear the work space and console.
// Given data
d = 0.5; // diameter of the coil in m
l = 0.6; // axial length of the ... |
31e0857161bdcbf35b13e56a547021e7526d2f2c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Materials_Science_R._S._Khurmi_And_R._S._Sedha_2153.zip/Materials_Science_R._S._Khurmi_And_R._S._Sedha_2153/CH9/EX9.2/ex_9_2.sce | 3d3ea0724b2973d3cb53070769432d09636dc905 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | ex_9_2.sce | errcatch(-1,"stop");mode(2);//Example 9.2 : the fracture strength and compare
;
;
format('v',10)
//given data :
E=70*10^9; // in N/m^2
C=(4.2*10^-6)/2;// in m
gama=1.1; // in J/m^2
sigma=sqrt((2*E*gama)/(%pi*C));
disp(sigma,"fracture strength,sigma(N/m^2) = ")
exit();
|
c333deddde06262c1e456095c9720fdeced5756f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH5/EX5.33/5_33.sce | 0c3c93eaf73427fd324a5f09decd8857e5868335 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,511 | sce | 5_33.sce | //Example 5.33
//Newton Raphson and Mullers Method
//Page no. 202
clc;clear;close;
deff('x=f(x)','x=x^4-8*x^3+18*x^2+0.12*x-24.24')
deff('x=f1(x)','x=4*x^3-24*x^2+36*x+0.12')
//newton raphson
x9=[1.5,2.5,2.7,3.1;4,5,14,10]
for h=1:4
x0=x9(1,h);e=0.00001
for i=1:x9(2,h)
x1=x0-f(x0)/f1(x0)
e1=ab... |
44169bc3108270ffc586e070b066dca961e86ef2 | e38729475186255ba51180e297a40c2329f10c1d | /projects/02/czALU.tst | 238ae800af4c17195ff305aadb28599e9a212094 | [
"MIT"
] | permissive | anArkitect/Nand2Tetris | 3f6e42f9990fadc99b5e9036b877fe080646c210 | 061a2866705692269af00cf541b5fcedb1e1b93e | refs/heads/master | 2020-03-17T03:39:13.312248 | 2018-05-29T00:36:47 | 2018-05-29T00:36:47 | 133,244,780 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 543 | tst | czALU.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/02/ALU.tst
load ALU.hdl,
output-file czALU.out,
compare-to czALU.cmp,
output-list x%B1.16.1 y%B1.16.1 zx%B1.1.1 nx%B1.1.1 zy%B1.1.1
ny%B1.1.1 f%B1.1.1... |
7b842c53dee14d4a4b827e5199b77372e51ee051 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH3/EX3.4/Example_3_4.sce | 1a94991487ca9645a2a7a875facae682adf930a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | Example_3_4.sce | //Caption: Weighted Arithmetic mean of ungrouped data
//Example3.4
//page43
clear;
clc;
X = input('Enter the demand in units =');
w = input('Corresponding Weights=');
n = length(X);
num =0;
den =0;
for i = 1:n
num = num+w(i)*X(i);
den = den+w(i);
end
Xw = num/den;
disp(Xw,'The Estimated demand for the Year 2003... |
0b0a39818b879a6a1b7ef1ea41f5917cbe442c54 | 12d276a808c8403c4dd3b13dea1edb8720127311 | /testing2.sce | 4dec7bf29f69c5229cef22e06f8bda85546a1016 | [] | no_license | npytabitha/VOT3 | 85b317ae4c120eb2bda125b28c1ad27243d40eab | 51032662c4a6f0960393aad4ebf9b3289c641155 | refs/heads/develop | 2021-01-10T05:44:31.715364 | 2015-10-01T13:34:47 | 2015-10-01T13:34:47 | 43,233,510 | 0 | 1 | null | 2015-10-02T09:05:14 | 2015-09-27T03:56:10 | Scilab | UTF-8 | Scilab | false | false | 10,805 | sce | testing2.sce | scenario = "One-Back-Arm"; # This name is recorded in the log file
scenario_type = trials;
response_matching = simple_matching;
response_logging = log_all;
active_buttons = 3;
#button_codes = 1, 2, 3; # These values will be used to code participant responses
#target_button_codes = 0, 0, 2;
button_codes = 0, 0, 2;
tar... |
c5898744698fe97ab12333ac45220cf369f73c44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3456/CH17/EX17.1/Ex17_1.sce | 2a316728eeb272f56466c985ebdaa93fb73aa655 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sce | Ex17_1.sce | //Example 17.1
//Forces in rolling
//Page No. 596
clc;clear;close;
mu=0.08; //no unit
R=12; //in inches
alpha=atand(mu);
dh=mu^2*R;
printf('\nMaximum possible reduction when mu is 0.08 = %g in\n',dh);
mu=0.5; //no unit
dh=mu^2*R;
printf('Maximum ... |
f511d54cffdab33e5cd81465f914611f8d6c3064 | 449d555969bfd7befe906877abab098c6e63a0e8 | /75/CH6/EX6.21/ex_21.sce | 5491b5bbefd2c93910ad4e3cef5659a27b35c29c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | ex_21.sce | // PG (405)
deff('[y]=f(x,y)','y=lamda*y+(1-lamda)*cos(x)-(1+lamda)*sin(x)')
lamda = -1;
[x,y]=Euler1(1,1,5,0.5,f)
lamda = -10;
[x,y]=Euler1(1,1,5,0.1,f)
lamda = -50;
[x,y]=Euler1(1,1,5,0.01,f)
|
62a5a4a098eb70a85368b8be8656d614824802f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH10/EX10.8/Ex10_8.sce | af91964e2febb01c56143421fc782a118c0b9ef4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | Ex10_8.sce | //EX10_8 PG-10.40
clc
A=61;//gain required for the non inverting amplifier
R1=1e3;
printf("Refer to the figure-10.36 shown\n")
printf(" \n The gain of the non inverting amplifier is A=1+Rf/R1")
//the gain of the non inverting amplifier is A=1+Rf/R1
x=A-1;//x=Rf/R1
Rf=x*R1;
printf("\n\n Therefore feedback resis... |
f244498a3d45a7328bc652321097fbb5877298dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH9/EX9.6/Ex9_6.sce | aa6cb2d9e989fffa6b8db0af5a821cea4a3f0c0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | Ex9_6.sce | //Chapter 9 Ionic Equilibria and Buffer Action
clc;
clear;
//Initialisation of Variables
C= 0.050 //M
K= 2.4*10**-17
c= 0.1 //M
//CALCULATIONS
c1= K*C/c**2
//RESULTS
mprintf("Concentration of carbonate-ion = %.1e mole per litre",c1)
|
f3f183f240c0d5d0327a97c920c5ecc757c50599 | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter6/Ch_6_Eg_6.23.sce | 46135b3e7b664c71e8508b7aab41cef6f60d2dbd | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 838 | sce | Ch_6_Eg_6.23.sce | [fd, SST, Sheetnames, Sheetpos] = xls_open("book1.xls");
s= ['The number of sheets are:', string(size(Sheetnames,2)), ' and their names are:', Sheetnames];
disp(s);
[Value, TextInd] = xls_read (fd, Sheetpos (1));
mclose(fd);
a=Value(TextInd(:)==0); // Extracting the numeric values
s= ['The numeric values in the E... |
61ddc2a2e37dfc17d6daa4e22989c05409860889 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH27/EX27.6/Ex27_6.sce | 17904f923a75e8476c92b00a61851520bb9bc230 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | Ex27_6.sce | //Example 27_6
clc();
clear;
//To find how many radium atoms in the vial undergo decay
t1=5.1*10^10 //Units in sec
lamda=0.693/t1 //Units in sec^-1
n1=6.02*10^26 //Units in atoms/Kmol
n2=226 //Units in Kg/Kmol
m1=0.001 //Units in Kg
N=n1*m1/n2 //Units in number of atoms
deltat=1 ... |
88e6f9e7d4a8e5280957bf3dece2c011f8763816 | 6cb749937ed1f53a5c22d6d7276c82f9a56ea0f4 | /arduino_svn/help/fr_FR/ARDUINO_SETUP_help.tst | a4122528e652b840344387657984fe98250c77cd | [] | no_license | fizcris/Scilab_Xcos_arduino_toolbox_david_MPU6050 | 2aacb3b5f75d49f1d8c8b46fa51f2b0c53afc985 | d488f268526d0cf6140f19426813b4b289566d37 | refs/heads/master | 2021-06-25T01:19:38.819142 | 2021-06-18T22:43:11 | 2021-06-18T22:43:11 | 26,444,710 | 2 | 6 | null | null | null | null | UTF-8 | Scilab | false | false | 1,516 | tst | ARDUINO_SETUP_help.tst | \name
ARDUINO_SETUP
\palette
Arduino
\smalldescription
Permet de configuration le port de communication série entre l'arduino et scilab.
\description
Ce bloc doit \bold{obligatoirement} être placé sur le schéma lors de l'utilisation d'autres blocs de la toolbox.
Il permet de définir le port de communication entre l... |
a37bef43bd675d3c4bc3ae1cd4be5ed1661da65b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH4/EX4.14/ex_4_14.sce | af94fbe24af21bb540a606ef0616b7883c72a3c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 384 | sce | ex_4_14.sce | //Example 4.14 //illumination under each lamp and midway between lamps
clc;
clear;
close;
format('v',5 )
CP=100;//
h=6;//in meter
d=16;// meter
x=sqrt(h^2+d^2);//
em=2*((CP/h^2)*(h/(d-h))^3);//illumination in the middle in lux
ee=((CP/h^2)*(1+(h/x)^3));//illumination iunder each lamp in lux
disp(ee,"illumination under ... |
d000ddccfe5891cb00ba61b176827d5e5ba526dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/DEPENDENCIES/l2r.sci | 26e61e0c8a0d065804824b2fb125c94ae6dadb65 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 467 | sci | l2r.sci | // function [Rnum,Rnumdeg,Rden,Rdendeg] = l2r(N,degN,D,degD)
// given Numerator and Denominator polynomial matrices in left form,
// not necessarily coprime, finds right coprime factorisation.
function [Rnum,Rnumdeg,Rden,Rdendeg] = l2r(N,degN,D,degD)
[N,degN] = transp(N,degN);
[D,degD] = transp(D,degD);
[Rn... |
c4a0bae74ecb82ae7a897d09d2ecea63fa6cc76e | abac61d8c2d8d88bc272a883215a7bf0b32a58ee | /binaryinterpolation.sci | e5bcb2735b01116b8afc6afbe77620867c43d6ee | [] | no_license | praveen-739/sci_lab-implemention | 9f095ff1202df36a98f51acdc2f98a1db7634922 | 997ec61631e701a9782424bbccff7a2594bfa3fc | refs/heads/master | 2020-03-10T10:23:09.515658 | 2018-04-13T09:38:14 | 2018-04-13T09:38:14 | 129,331,740 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sci | binaryinterpolation.sci | function []=interpolation(t0,vt0,t1,vt1,t2,vt2,t)
b0=vt0;
b1=(vt1-vt0)/(t1-t0);
b2=((vt2-vt1)/(t2-t1)-(vt1-vt0)/(t1-t0))/t2-t0;
pol=b0+b1*(t-t0)+b2((t-t0)*(t-t1));
disp(horner(pol,t))
endfunction
|
6fe633ea2a4d8a8256db0830cc3a5d3e8ff8108a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH3/EX3.6/chapter3_ex6.sce | fddf9575cbfb627b868dd3677667369d74fa95ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | chapter3_ex6.sce | clc
clear
//input
e=235;//e.m.f generated by an armature of a d.c. machine in volts
v=100;//velocity of armature of a d.c. machine in rad/s
i=16;//current in amperes
//calculations
p=e*i;//power of armature in watts
t=p/v;//required torque in newton meter
//output
mprintf('required torque is %3.1f Nm',t... |
8e7526ef6008f279d2b5f1edea05495422cf5beb | 717ddeb7e700373742c617a95e25a2376565112c | /149/CH2/EX2.16/ex16.sce | a232e0e945b1465fd5b508d92c5a1d6c074109bb | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 91 | sce | ex16.sce | clear
clc
A=[0 1 2;1 2 3;2 3 4]
B=[1 -2;-1 0;2 -1]
disp("AB= ")
A*B
disp("BA= ")
B*A |
45a08308b39d7d10a7be678187fc0ab4fea7bfe8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /462/CH11/EX11.7.a/ex_11_7_a.sce | 008e4c39c9671dfa2bd163500bd7d473ec4d8f13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sce | ex_11_7_a.sce | //example 11.7//
clc
//clears the screen//
clear
//clears already existing variables//
//given A1A0=11, I1I0=01//
disp('the association operation is performed with keyword 01. The memory locations 1, 5 and 7 match the keyword giving out logic 0 at the corresponding Y outputs. Therefore,')
disp('Y=01011101') |
16f20c790a24ac42b631627bfe2ab27839b06e3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH13/EX13.14/Example13_14.sci | bc6a0c638da7eee5c6c19eb1edf4915468975ff0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,184 | sci | Example13_14.sci | //Chapter 13_Voltage Regulators
//Caption : Inductor and Capacitor
//Example13.14: A switching voltage regulator operates at a switching frequency of 30kHz and is to supply a load current Io of 1 A at a dc output voltage Vo of +10V.The dc input voltage is Vin=20V and the output(peak-peak) ripple factor is not to exce... |
7418ad3ecc275de6ef7de74fb906636701d18568 | 449d555969bfd7befe906877abab098c6e63a0e8 | /287/CH4/EX4.4/Exa4_4.sci | 689596c60af46879457644f5e721c7baee7e2134 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sci | Exa4_4.sci | //Determine following parameters
N = 7;
C = 395;
Nc = C/N;
Se1 = 39.8/63.1;
Se2 = 5.8648/1.384;
disp(Nc, 'No. of voice channels/cell site')
disp(Se1, 'Spectral Efficiency in analog system')
disp(Se2, 'Spectral Efficiency in digital system') |
74822d2d6e738aaeeac85cf7afb567262d674005 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_T._L._Floyd_61.zip/Electronic_Devices_T._L._Floyd_61/CH8/EX8.1/ex8_1.sce | 2a1f7e278e6ea4a35b70f6616aa602c621151169 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 113 | sce | ex8_1.sce | errcatch(-1,"stop");mode(2);//ex8.1
g_m=4*10^-3;
R_d=1.5*10^3;
A_v=g_m*R_d;
disp(A_v,'Voltage gain')
exit();
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.