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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7024ccc235d0221694c643d512ef0ec79c3efbb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH11/EX11.3/Ex11_3.sce | 4daf3f2cb368d755bcb63cbb76427ebe870e0892 | [] | 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 | 230 | sce | Ex11_3.sce | //example 11.3
clc; funcprot(0);
K=0.25;
Ap=16*16/12/12;
phi=30*%pi/180;
Nq=25;
q=110*50/1000;
sigmao=q/2;
p=4*16/12;
L=50;
FS=4;
Qu=q*Nq*Ap+K*sigmao*tan(0.8*phi)*p*L;
Qall=Qu/FS;
disp(Qall,"allowed load in kip");
|
9ece042dc3622f9d7a05427e466f846be38c1762 | e46eeada1bd3e461d9e4c2913bb12e406391f603 | /Labdig/P12019-2.sce | 63d25ec2afef266cbf9f75fa316aa11a9d507731 | [] | no_license | JoseColombini/Poli | fcc73dcf863256055ff0eb5202617ebb3434fcf3 | c913de4597496164646b262fe2a66f1fdebc05b7 | refs/heads/master | 2023-03-11T21:49:04.619768 | 2023-03-04T20:41:46 | 2023-03-04T20:41:46 | 203,501,300 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | P12019-2.sce | Vl = 220
Vf = Vl/(sqrt(3))*expm(-30*%pi/180*%i)
Snom = 820+%i*500
Zcd = -%i*400
Zcy = Zcd/3
Zl = 3.5 + (8 - 6)*%i
Zcarga = (3*abs(Vf)^2/(Snom))'
Zto = Zl + (Zcy*Zcarga/(Zcy + Zcarga))
I = Vf/Zto
Vcarga = Vf - I*Zl
Scarga = 3*abs(Vcarga^2)/(Zcarga)'
Vcarga = 220/sqrt(3)*expm(-30*%pi/180*%i)
Vcarga = Vf - Zl*(Vcarg... |
2f46038ad65f28e34ba2813575ff47eedc201562 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH13/EX13.26/Ex13_26.sce | 5d13cb4df577a6fccbb4eea8f5fb5d47aafbea3a | [] | 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 | 401 | sce | Ex13_26.sce | clear
//Given
Ev=200 //V
Iv=10.0
f=50 //Hz
//Calculation
z=Ev/Iv
R=z*cos(30*3.14/180.0)
Xc=z*sin(30*3.14/180.0)
C=1/(2.0*%pi*f*Xc)
//Result
printf("\n (i) Value of resistance is %0.2f ohm",R)
printf("\n (ii) Capacitive reactance is %0.0f ... |
2c097ab9a0b951239146f5f34e2d1b7d26e288a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2492/CH3/EX3.4/ex3_4.sce | a3ba64bae195ff737266fd8649a3b779fda8bdb7 | [] | 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 | 648 | sce | ex3_4.sce | // Exa 3.4
format('v',6)
clc;
clear;
close;
// Given data
R_L = 18;// in ohm
Vz = 18;// in V
V1 = 22;// in V
V2 = 28;// in V
// Minimum voltage across R,
V = V1-Vz;// in V
Izmin = 200;// in mA
I_Lmax = Vz/R_L;// in A
I = I_Lmax+Izmin*10^-3;// in A
R =V/I;// in ohm
disp(R,"The value of R in ohm is : ")
... |
9754e650119cc68d02fea129d77e4bf63ef4ac90 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Programming/testoverloaddisplay.sce | 6dc8c87069b718af854bcb4644610395c8b8c28b | [] | 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 | 284 | sce | testoverloaddisplay.sce | exec('scilab-base-program-make_point.sce',-1) //to delete
exec('scilab-base-program-check_point.sce',-1) //to delete
M=make_point(0,1) // creates point M
function %point_p(P)
check_point(P)
printf('(x=%f,y=%f)\n',P.x,P.y)
endfunction
M // point M's display is modified
|
e5709ca8c8f85f51593c22d792c67d1fe14bd118 | 573df9bfca39973c9bf2fa36f6e5af2643d7771e | /scilab/lib/fat.sci | 26178d7af25e4258c354700f7f8303c4b82aff24 | [] | no_license | DCC-CN/152cn | ef92c691edabe211b1a552dbb963f9fd9ceec94a | 4fe0b02f961f37935a1335b5eac22d81400fa609 | refs/heads/master | 2016-08-13T01:34:17.966430 | 2015-04-07T07:31:58 | 2015-04-07T07:31:58 | 44,502,526 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sci | fat.sci | function resp = fat(n)
resp = 1;
for i = 2:n
resp = resp * i;
end
endfunction
|
3cc86dbf45853bad3f163b5f2fc6505f5989db6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH8/EX8.17/8_17.sce | e349e3ac463f9bc20e64e76bddd42d8f55f5b890 | [] | 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 | 462 | sce | 8_17.sce | clear; clc; close;
Ri_stage2 = 15*(10^(3))*4.7*(10^(3))*1300/(15*(10^(3))*4.7*(10^(3))+4.7*(10^(3))*1300+15*(10^(3))*1300);
Rd1 = 2.4*10^(3);
Rd2 = 2.2*10^(3);
gm = 2.6*10^(-3);
Vi1 = 20*10^(-3);
Vi2 = 1*10^(-3);
Av1 = -gm*(Rd1*Ri_stage2/(Rd1+Ri_stage2));
Av2 = -338.46;
Av = Av1*Av2;
Vo1 = Av*Vi1;
Vo2 = ... |
c33320ec58423b0a90a9fe1771d6253de71f7fe0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH6/EX6.22/ex_6_22.sce | 726ed7db6ed55a62d68e19fb0d275c2d37ad77a3 | [] | 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 | 717 | sce | ex_6_22.sce | clear;
close;
clc;
n=-10:10;
N=2;
for i=1:length(n)
if n(i)>=-N & n(i)<=N then
x(i)=1;
else
x(i)=0;
end
end
x=x';
figure
subplot(2,1,1)
plot2d3(n,x);
title("x[n]")
plot(n,x,'r.')
w=-10:0.1:10;
Xw=x*exp(-%i*n'*w);
subplot(2,1,2)
plot2d(w,Xw);
title("X[w] fourier transfor... |
34ca17bde00e352d8a6caa734a0ff8274b0bf3b1 | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/macros/kpca.sci | cf63d2600c19199240f6bee268aa1e795c1c03f9 | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,883 | sci | kpca.sci | ///////////////////////////////////////////////////////////////////////////////
// Author: Jia Wu
// Version: 0.1
// Date: Nov 2009
// Description: Kernel Principal Component Analysis
//
// Copyright (C) 2009 OpenPR
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or witho... |
4bb2abac7b01427ab79ba5fd7d40587f23e24217 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH34/EX34.23/34_23.sce | da8e8e1457dcdbf75083359d40eb75815f19115b | [] | 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 | 327 | sce | 34_23.sce | //ques-34.23
//Calculating quantum yield of a reaction
clc
c1=0.0506; c2=0.0394;//initial and final concentration of oxalic acid (in M)
q=8.81*10^8;//(in ergs)
w=245;//wavelength (in nm)
n=(c1-c2)/100;//moles of oxalic acid decomposed
QY=(n*1.196*10^15)/(q*w);
printf("The quantum yield of the reaction is %.3f."... |
84687d807b9a75702b434b651f33bcfa64a5b4f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH8/EX8.1/Ch08Ex1.sce | 00b0dc1c86eaf98a7efb21764b7bdb3c88dac52f | [] | 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,149 | sce | Ch08Ex1.sce | // Scilab code Ex8.1: Pg 253 (2008)
clc; clear;
C = 8e-06; // Value of capacitance of capacitor, farad
R = 0.5e+06; // Value of series resistor, ohm
E = 200; // Value of d.c. voltage supply, volt
// Part (a)
tau = C*R; // Time constant of the R-C circuit while charging, s
printf("\nThe circuit ti... |
34832e2423d82a4b974f86b97a326e9588da05d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH11/EX11.3/3.sce | 7b5020f298ead90f109c4dfc4f8a33a6f75f71cf | [] | 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 | 493 | sce | 3.sce | clc
clear
//INPUT DATA
ni=2*10^16//intrinsic charge carriers in m^-3
Na=5*10^23//density of acceptor concentration of silicon with arsenic in atoms
Nd=3*10^23//density of donor concentration of silicon with arsenic in atoms
//CALCULATION
nh=(Na-Nd)//density of hole in m^-3
ne=(ni^2/(nh))/10^9//The electron co... |
014b3fcf58017acaedc06edaa7d377e0a6a61bec | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/cmd/test/expanderwcurve.tst | 76a107726f3cbecd386f007cd024c8cce1b1dd26 | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,372 | tst | expanderwcurve.tst | optimizecode 1
maxversions 0
units Field
/LiquidPhases = 2
/StdLiqVolRefT = 288.15
/StdLiqVolRefT = 60 F
/RecycleDetails = 1
displayproperties
displayproperties VapFrac T P MoleFlow MassFlow VolumeFlow StdLiqVolumeFlow StdGasVolumeFlow Energy H S MolecularWeight MassDensity Cp ThermalConductivity Viscosity molarV ZFa... |
be06af289ee2b4243a0457871205cf74c06d6f37 | e9d5f5cf984c905c31f197577d633705e835780a | /data_reconciliation/linear/scilab/P13/P13.sce | 650b474c4acd6b90627d19b2d419f72c0cdd71c0 | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,920 | sce | P13.sce | // Data Reconciliation Benchmark Problems From Lietrature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
// Fictitious but realistic mineral processing plant
//Alhaj-Dibo, Moustapha, Didier Maquin, and José Ragot. 2008.
//Data reconciliation: A robust approa... |
37b92008a400448f75e6546090b904570da6926f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH2/EX2.10/Example_2_10.sce | 104de24ed000afb87d389d56148420892b89a969 | [] | 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 | 439 | sce | Example_2_10.sce | //Example 2.10 the overall percentage of failure
clc;
clear;
function value = binomial(n, k, p)
value = factorial(n)*(p^k)*((1-p)^(n-k))/(factorial(k)*factorial(n-k));
endfunction
q=40/100;
n=6;
p=1-q;
disp(n,"No. of candidates =",p,"Proabab. of(success) in a single trial",q,"Probab. of failure of a candid... |
a6a547a8ac28886e647fb63baff3a8adcb0775ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH9/EX9.8/ex_8.sce | 34afa8581d02c2d5d498821ec72f5e21b7c005b9 | [] | 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 | 390 | sce | ex_8.sce | // Chapter 9_The bipolar transistor
//Caption_Breakdown voltage
//Ex_8//page 387
Wb=0.5*10^-4 //metallurgical base width
NB=10^16
eps=11.7*8.85*10^-14
e=1.6*10^-19
Vpt=25 //punch through voltage
x=Vpt*2*eps/(e*Wb^2*NB)
y=x-1
NC=NB/y
xn=(2*eps*(Vpt)*NB/(e*NC*(NB+NC)))^0.5*10000
printf('The collector d... |
885ec559887d7103718b98bb3258a69119064888 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH2/EX2.18.21/2_18_21.sce | 8d238b60f248b7a5920eec0620ed85db080c0408 | [] | 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,340 | sce | 2_18_21.sce | //water and its treatment//
//example 2.18.21//
clc
Purity_Lime=.85
Purity_soda=.95
W1=55.5;//amount of CaCl2 in ppm//
W2=20;//amount of SiO2 in ppm//
W3=12.6;//amount of NaHCO3 in ppm//
W4=250;//amount of KCl in ppm//
W5=48;//amount of MgSO4 in ppm//
W6=2.2;//amount of CO2 in ppm//
W7=43.8;//amount of ... |
8a4d184d1c2fd49565bea29ab8661d288a7e4042 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH19/EX19.13/169ex5.sce | 35027a79d9a861cff1c1517c3d6fbae3f30b9bd8 | [] | 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 | 167 | sce | 169ex5.sce |
//divide -5.3716 by 3
clear;
clc;
close;
//characteristic=-5=-6+1 or the log as -6+1.3716
characteristic=-6/3;
mantissa=1.3716/3;
characteristic-mantissa
|
d49bddd5524491197a411ba1ed159bb9e98ea3f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH5/EX5.3/5_3.sce | 6f5e2bffe84d19739569f7f405b92318d7ca4006 | [] | 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 | 269 | sce | 5_3.sce | //example 5.3
clc; funcprot(0);
// Initialization of Variable
h1=3213.6;//kJ/kg
V1=10.0;
V2=665.0;
mdot=2.0;
h2=h1+(V1^2/2-V2^2/2)/1000;
//using table with given h2 values
v2=0.1627;//specific volume
V2=665;
A2=mdot*v2/V2;
disp(A2,"Area in m^2");
clear()
|
4e2e1821a99599867c3661141c3b1c43363ceb51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH8/EX8.a.15/Example_a_8_15.sce | 4bcef3437e136200504ed452e7ab67f4cae45380 | [] | 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 | Example_a_8_15.sce | //Example_a_8_15 page no:335
clc;
V=220;
f=50;
Vr=550;
Ir=1;
R=V/Ir;
C=1/(Vr*2*%pi*f);
C=C*10^6;
L=1/((C*10^-6)*(100*%pi)^2);
disp(R,"the resistance is (in ohm)");
disp(L,"the inducatance is (in H)");
disp(C,"the capacitance is (in microFarad)");
|
372b34f03f03a0a19b9787fd3e97c426646fd361 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH10/EX10.21/10_21.sce | f638a941cd3eb481e4b6a5a7f9f08d0fb4cba1e1 | [] | 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 | 374 | sce | 10_21.sce | //Chapter 10, Problem 20, figure 10.35
clc;
fr=400e3; //resonant frequency
Qf=100; //Q factor
C=400e-12; //capacitance
L=((2*%pi*fr)^2*C)^-1; //calculating inductance
R=2*%pi*fr*L/Qf; //calculating resistance
printf("(a) Inductance = %f mH\n\n\n",L*1000... |
058146336afee1f9a698eadae4c89d92aec30641 | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH6/EX6.7/exm6_7.sce | cc86b6bca1c33de0b7671c6c1692e3f1d7b56733 | [] | 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 | 696 | sce | exm6_7.sce | // Example 6.7
//The program illustrate the use of continue statement
disp("Enter 9999 to STOP");
count=0;
negative=0;
while(count<=100)
number=input("Enter a number:");
if(number==9999) then
break; //EXIT FROM THE LOOP
end
if(number<0),
disp("Number is ... |
322682218a9d28467c598b7ed7cfa386f4b5c525 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.8_3.tst | 66a654764f0f7a2dda0f475125de144c03688ddd | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 26,548 | tst | bow.8_3.tst | 8 5:4.0 6:0.17391304347826086 34:0.1111111111111111 42:0.4 54:1.0 56:0.25 82:0.25 143:0.16666666666666666 150:0.017543859649122806 180:1.0 251:0.14285714285714285 273:0.3333333333333333 286:1.0 327:0.16666666666666666 345:1.0 407:1.0 473:0.5 494:1.0 583:1.0 644:1.0 664:1.0 672:1.0 768:0.5 1037:0.5 1067:1.0 1183:0.5 156... |
de47e96cb34e36d7ff310142d3e2e4ca710bccde | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH10/EX10.6/ex10_6.sce | e1aec98fc10902163c60d2a5472c5019defcd2ce | [] | 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 | 269 | sce | ex10_6.sce | // Example 10.6
format('v',6)
clc;
clear;
close;
// given data
V_CC= 30;// in V
PP= V_CC;// in V
R_L= 100;// in Ω
// The value of P_Lmax
P_Lmax= PP^2/(8*R_L);// in W
disp(PP,"The value of PP in volts is : ")
disp(P_Lmax,"The value of P_Lmax in W is : ")
|
8e415c133f01091399ca64a13269a6734a6954d9 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-StatisticalFunctions/FLShuffleCorrelWinStr-NZ-01.tst | a50ea826a8153f8817139ab93be5d40b5530375d | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,014 | tst | FLShuffleCorrelWinStr-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Teradata
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
... |
4237b961c09ced8076c13b6ca2ae153a1feb6008 | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH13/EX13.10/example13_10.sce | 755f9330708d435be28904f4e9bac355392ac8f5 | [] | 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,829 | sce | example13_10.sce | clear;
clc;
//Example13.10[Heat Transfer through a Tubular Solar Collector]
k=0.02588;//[W/m.degree Celcius]
Pr1=0.7282,Pr2=0.7255;//Prandtl no
nu1=1.608*(10^(-5)),nu2=1.702*10^(-5);//[m^2/s]
T1=20,T2=40;//[degree Celcius]
Tavg=((T1+T2)/2)+273;//[K]
Do=0.1,L=1;//Dimensions of glass tube[m]
Di=0.05;//Inner diameter of ... |
bc6123efe24ed3bb4d4522608a07546ae16baa05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH22/EX22.13/Ex22_13.sce | 711db9fe1ebf7236ac2f35b40b3b570d9c29134d | [] | 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 | 153 | sce | Ex22_13.sce | clear
//Given
l=6000*10**-8
D=254.0
//Calculation
a=(1.22*l)/D
//Result
printf("\n Limt of resolution of a telescope is %0.1f *10**-7 Radian",a*10**7)
|
e09b80bc7278b14cfcb5e238542322c72b9d2f7f | a76fc4b155b155bb59a14a82b5939a30a9f74eca | /ProjetTomEval/tomeval/carat8.tst | 9374bf5b045b634380fb0f3ad9b480a92118dcbc | [] | no_license | isliulin/JFC-Tools | aade33337153d7cc1b5cfcd33744d89fe2d56b79 | 98b715b78ae5c01472ef595b1faa5531f356e794 | refs/heads/master | 2023-06-01T12:10:51.383944 | 2021-06-17T14:41:07 | 2021-06-17T14:41:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 712 | tst | carat8.tst | Plan Carat 8
16,Ensemble 15-24 ans
101
-1
1
1
0
1,B198,101
f:\source\SFR01
7070000
1
1
1,1410,1,1,0,1.9, 02/02/98,1
1,2140,1,1,0,5.5, 02/02/98,1
2,0810,1,1,0,0.5, 02/02/98,1
3,2057,1,1,0,3.3, 02/02/98,1
16,1830,1,1,0,1.6, 02/02/98,1
2,0930,2,1,0,0.4, 03/02/98,1
16,1340,2,1,0,3.5, 03/02/98,1
16,2005,2,1,0,5.5, 03/02/... |
3d7b60d5f9c1653bdc1bbdd55ba24bbd2c006cc3 | f98e6eb45cba97e51f3e190748f75d277fc4c38d | /Lab/Lab4/Lab4.sce | cd8cb6c2d0ae7208350769bc267c17974ffc1693 | [] | no_license | sctpimming/SC422401 | 68359adab92095e4c60121ff17ac43efc9c46fb4 | 5c43c58c9bf0e923b640c115b4ef618ad72d15a6 | refs/heads/master | 2020-11-25T18:37:53.377582 | 2020-02-26T07:56:39 | 2020-02-26T07:56:39 | 228,796,306 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 942 | sce | Lab4.sce | clear
function [grade] = get_grade(x)
if(x > = 76) then
grade = "H"
elseif (x >= 60) then
grade = "S"
else
grade = "U"
end
endfunction
printf("-----------------------------------------------------\n")
printf("Score\t\tGrade\n")
printf("----------------------------------------... |
625a28d174ae6578e7099eac7d52519d745aa967 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/err_defineSort3.tst | 25829102347d1871e63bbf3244bcab7086bbcad1 | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 85 | tst | err_defineSort3.tst | ; define-sort with duplicate parameters
(set-logic QF_UF)
(define-sort A (X X) Bool)
|
76c3450928f17b852913c97c8ffea3d98c3a2ce2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1586/CH7/EX7.9/EXP7_9.sce | 7b64a20f418cdb8eff8ba82ae722901a2906a162 | [] | 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 | 478 | sce | EXP7_9.sce | clc;funcprot(0);//EXAMPLE 7.9
// Initialisation of Variables
n=7;.............//The total number of specimens
F=n+1;...........//The probability of failure of ceramic
sigma1=52;........//the maximum allowed stress level on ceramic at one point in MP.
sigma2=23.5;.......//the maximum allowed stress level on ceramic... |
7c0210e2880f19b57c0e7786b323026fb65f5044 | 53bdf5ec3d505c23a6dbff1555c838c03e7ce670 | /Assignment 2/q2.sce | ac0196ee90e31e9147bd20734bd80c29779e1c3d | [] | no_license | dishvyas/AI | 6e7fb662a04b99d5fca4380f97ac94eb5b18debe | a0903084fe210faee4b571b4cade5e5d410ad504 | refs/heads/master | 2020-05-22T00:50:06.362841 | 2019-05-12T20:29:20 | 2019-05-12T20:29:20 | 186,180,759 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 473 | sce | q2.sce | function k=Map_Matrix(A)
k=zeros(A);
N=unique(A);
disp("The Total Unique are : ")
disp(length(N))
for i =1:1:length(N)
indexes = find(A==N(i));
for j = 1:1:length(indexes)
k(indexes(j))=i;
end
end
endfunction
A=imread('D:\example.png');
//disp("The image contents of the image are as follows : ")
disp(A)... |
5c636dbbc9e2749ed762f3fdbe1439657d082a46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH1/EX1.22/Exa_1_22.sce | fe3b78b6b521fe77c93037331994c3f0ca747a0c | [] | 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 | 377 | sce | Exa_1_22.sce | //Exa 1.22
clc;
clear;
close;
format('v',6);
//Given Data :
Rdegree=8314.3;//Universal Gas Constant
M=32;//Molecular weight of gas
p1=3*10^6;//N/m^2
V1=250*10^-3;//m^3
T1=20+273;//K
p2=1.8*10^6;//N/m^2
V2=V1;//m^3
T2=16+273;//K
R=Rdegree/M;//Nm/KgK
m1=p1*V1/R/T1;//Kg
m2=p2*V2/R/T2;//Kg
mass_used=m1-m... |
e0ac3729b5987b6a0e742d118e1fa0e0a5fd1797 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH11/EX11.3/Ex11_3.sce | c1738101004b5d342058a8800e82ca5e4b309719 | [] | 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 | 248 | sce | Ex11_3.sce | clear;
clc;
//Example 11.3
V1=10;
V2=-10;
Iq=0.8*10^-3;
Rc=12000;
Ro=25000;
b=100;
Vt=0.026;
Ad=Iq*Rc/(4*Vt);
printf('\ndifferential gain=%.3f\n',Ad)
Acm=-(Iq*Rc/(2*Vt))/(1+(1+b)*Iq*Ro/(Vt*b));
printf('\ncommon mode gain=%.3f\n',Acm)
|
e2ec1b496d7f388f897f0f379edfb7b2d910821e | 449d555969bfd7befe906877abab098c6e63a0e8 | /851/CH6/EX6.2/Example6_2.sce | b8d13946d7d4e2a0d14bfe74010fd8eb78572f0f | [] | 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,204 | sce | Example6_2.sce | //clear//
//Caption:Duobinary Encoding
//Example6.2: Precoded Duobinary coder and decoder
//Page 256
clc;
b = [0,0,1,0,1,1,0];//input binary sequence:precoder input
a(1) = bitxor(1,b(1));
if(a(1)==1)
a_volts(1) = 1;
end
for k =2:length(b)
a(k) = bitxor(a(k-1),b(k));
if(a(k)==1)
a_volts(k)=1;
else
a_volt... |
d44f2300fdcf43544ed09f93ddba026d9c0e7d16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH2/EX2.3a/eg2_3a.sce | 636998c8a85b87ec9d19afdfbb6c96c35a66fa7a | [] | 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 | 141 | sce | eg2_3a.sce | scores=[284, 280, 277, 282, 279, 285, 281, 283, 278, 277];
new_scores = scores - 280;
final_mean = mean(new_scores)+ 280;
disp(final_mean) |
f8b22d38c853ecf9ffba0edbe48054a8be4eb70c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH7/EX7.15/Ex7_15.sce | 0381b48af9d560bb82a179b15eff243dcf8c7520 | [] | 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 | 212 | sce | Ex7_15.sce | clear
//Given
m=900
w=100.0
c=1
a=80
b=4.2
V=210 //V
x=12
y=60
//Calculation
Hout=(m+w)*c*a
Hin=(V*x*y)/b
Hin1=90/w*Hin
I=Hout/Hin1
//Result
printf("\n Strength of the current is %0.3f A",I)
|
dd7aecf84114ac46ebddcf6846ecfffadec0cee7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH2/EX2.17/Ex2_17.sce | 051a69b8002a098fc494bbb1bd4236b1a3886ea0 | [] | 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 | Ex2_17.sce | //Example 2_17
clc();
clear;
//To find the slit width
theta=15 //units in degrees
lemda=6500 //units in angstrom
lemda=6500*10^-8
n=1
a=(n*lemda)/sin(theta*%pi/180)
printf("slit width of white light is %f",a)
|
f652956ca910bec5f0012d2f7f3f06dcd7b247ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH6/EX6.7/C6P7.sce | 11a6a24d42e9477d34000443fccdebc6b5d355ed | [] | 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 | 833 | sce | C6P7.sce |
clc
//to find final speed of larger craft
// GIVEN::
//refer to diagram 6-14 from page no. 127
//we consider +ve x direction as original motion of spaceship(and also that of final velocity of smaller craft)
//total mass of spaceship
//M = m//in kg
//let us consider m = 1
M = 1//in kg
//mass of smal... |
f6bc343dca549e45d1e48cd647f48c514627c6f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH1/EX1.3.6/ex1_3_6.sce | a003c8508ce2d9f134b30e1277c6b32385ebe350 | [] | 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 | 459 | sce | ex1_3_6.sce | //Chapter-1,Example1_3_6,pg 1-18
A=132.91 //atomic weight of chromium
N=6.023*10^26 //Avogadro's number
p=1900 //Density
a=6.14*10^-10 //lattice constant
//step 1 : type of structure
n=(p*N*a^3)/A... |
8be7a45dc7605c4e4f3fd9b838979d27639127c4 | 1c0a381442e787465dcbfc8eb1ae5192c322ab86 | /scilab/examples/adc.sci | 415ad5404323bbc94df3e013d1342fb9e5dcf69b | [
"MIT"
] | permissive | sfuxy/stDAQ | 1ea87f0dd2ee49812e52208b6bb26cba78b90b1a | bdef5de7c806612feae0b2669b9abfb9f90b7955 | refs/heads/main | 2023-08-11T13:54:01.531127 | 2021-09-01T14:59:14 | 2021-09-01T14:59:14 | 382,806,217 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 539 | sci | adc.sci | // Example for stdaq_get_adc() as from the Reference Manual in docs/refman
stdaq_open("COM0");
chseq = [0]; // [ch0]
clkdiv = 0; // 1 MHz
stdaq_set_adc(chseq,clkdiv);
stdaq_set_dac(0);
stdaq_enable_dac();
tapsperperiod = 20; periods = 10; out = [];
value = floor(2047.5*(1 + sin(2*%pi*(1:tapsperperiod*periods)... |
00d5838669065f23752b65e6ee6e0603c55b3cdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH3/EX3.16/example3_16.sce | 7c52f81f053e2edc635316297221c2deb4d21022 | [] | 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 | 524 | sce | example3_16.sce | // Estimate value of capacitance needed
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 3-16 in page 161
clear; clc; close;
// Given data
Vrms=230; // RMS voltage in V
f=50; // Frequency in Hz
gamma_hwr=0.003; // Ripple factor assumed
I=0.5; ... |
f6b12429231cdcd7404b884107427571e586e035 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH11/EX11.9/Ex11_9.sce | af2e4c5cd9f4a8d748c9c5a25a3e97f1a1c68973 | [] | 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 | 489 | sce | Ex11_9.sce | //pagenumber 520 example 9
clear
induct=0.33;//henry
c=0.065*10^-12;//farad
c1=1*10^-12;//farad
r=5.5*10^3;//ohm
//(1) series resonant frequency
freque=(1/(2*(3.14)))*sqrt(1/((induct)*c));
disp("frequency = "+string((freque))+"hertz");
//(2)exceed of frequency
ratio1=sqrt((1+(c/c1)))
disp("ratio parallel... |
a8f83aaf0e1e2d4e485f3dbb443b2f94e2195fc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH12/EX12.3/Ex12_3.sce | 7fbe3a486371dc8fdb270c5a6a81b4bb6061d7d3 | [] | 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 | 431 | sce | Ex12_3.sce | //Ex12_3 Pg-588
clc
L=0.33 //inductance in henry
C=0.065*10^(-12) //capacitance in farad
Cm=10^(-12) //capacitance in farad
R=0.55*10^(3) //resistor R in ohm
disp("Series resonant frequency, fs = 1/2*pi*sqrt(L*C)")
fs=1/(2*%pi*sqrt(L*C))
printf(" = %.2f MHz \n",fs*1e-6)
disp("Q of the crystal ... |
ee0321b76f27645829aad1a6bf3aae1a6ecec6f5 | 3657fc1930eafc01513d51a4940a60f85cfc6522 | /Bacchus/ClientApp/models/Model.tst | 7d3d76a2c1cc56ea9ff084ffe2da9da9004c9f3a | [] | no_license | mchaelml/Auctiony | 3abc8a0458bb198a3fa5211258bb1e7cee914210 | 97bf7958d233135d9f9c15fdd55d61f472ff7033 | refs/heads/master | 2020-04-24T04:12:25.079946 | 2019-02-20T15:16:31 | 2019-02-20T15:16:31 | 171,695,225 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 104 | tst | Model.tst | module App { $Classes(Bacchus.Models*)[
export class $Name { $Properties[
public $name: $Type;]
}]
} |
38d921f6730acd4877da747142686d4e6c4acefb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3269/CH3/EX3.12/Ex3_12.sce | f1d86caf6f6514935ff6e43eacc23c858c1031fb | [] | 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 | 554 | sce | Ex3_12.sce | // Example 3.12
clear all;
clc;
// Given data
N = 120; // Number of fuel rods
P = 100; // Reactor power in MW
t = 1; // Estimation time of fuel rod after removal in days
T = 365; // Tim... |
52c457177084e773980ae0910cb2e003ddb6fa61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH39/EX39.5/Ex39_5.sce | 67e2193d3734127e3c894f7663897bbe223f5e5a | [] | 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 | 364 | sce | Ex39_5.sce |
//To Calculate the Number of Turns in the Primary Coil
//Example 39.5
clear;
clc;
E1=220;//Input Voltage to the Transformer in Volts
E2=6;//Output Voltage by the Transformer in Volts
N2=18;//Number of Turns in the Secondary Coil
N1=(E1/E2)*N2;//Number of Turns in the Primary Coil
printf("Number... |
da8726491b54f8ef46f1cd2b27c7f248854b026b | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH3/EX3.6/3_6.sce | 7fcef1d6b79407f4f3dd145b688056ab0da40e31 | [] | 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 | 770 | sce | 3_6.sce | clc;
clear;
v1=100;//mi/hr
ht=10000;//ft
//from standard table for static pressure at an altitude
p1=1456//lb/ft^2(abs)
P1=1456*0.006947;//psi
d=0.001756;//slugs/ft^3
//1 mi/hr = 1.467 ft/s
p2=p1+(d*(v1*1.467)^2/2);//lb/ft^3
//in terms of gage pressure p2g
p2g=p2-p1;//lb/ft^2
//1lb/ft^2 = 0.006947 psi
P2=... |
6c503979d0cf5a5c06ad66e768da8ec5d6a75032 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH2/EX2.16/Ex2_16.sce | 36811d549c4ece3ed811224daa9b64470b96ed0d | [] | 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 | 421 | sce | Ex2_16.sce | //Forces in various segments of cable
//Refer fig. 2.21 (a) and (b)
//Apply Lami's theorem at point D
T1=250*sind(180-60)/sind(60+45) //N
T2=250*sind(90+45)/sind(60+45) //N
//Now consider system of forces acting at B
//Resolving the forces we get
T3=(T2*cosd(60)+200)/cosd(30) //N
T4=T3*sind(30)+T2*sind(60) ... |
ccc44ac9ed621cf223d2d49208067477a39315b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH13/EX13.10/ch13_10.sce | a77a96176654fac12ef42a70df5b805b9c393b8e | [] | 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 | 364 | sce | ch13_10.sce | // To determine the short circuit capacity of each station
clear
clc;
X=1200*100/800;// percent reactance of other generating station
Xc=.5*1200/(11*11);
Sc=1200*100/86.59;// short circuit MVA of the bus
Xf=119.84;// equivalent fault impedence between F and neutral bus
MVA=1200*100/Xf;
mprintf("short circuit ... |
9d70941c1dba4dd07950989fc444f498ebd0c7b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2129/CH5/EX5.13.12/ex5_13_12.sce | 505a7e3e9cb69c35b91f112e9585ae3179351f4a | [] | 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 | 983 | sce | ex5_13_12.sce | // Exa 5.13.12
clc;
clear;
close;
// Given data
V_CC = 9;// in V
V_BE = 0.8;// in V
V_CE = 0.2;// in V
R_B = 50;// in kΩ
R_C=2;// in kΩ
R_E = 1;// in kΩ
bita=70;
// Applying KVL to input loop, V_CC= I_B*R_B +V_BE +I_E*R_E
// V_CC- V_BE= (R_B+R_E)*I_B + R_E*I_C (i)
// Applying KVL to output loop, ... |
6163468d7af2cf1ad8f1dda380cbcaae4d885cdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH19/EX19.8/ex19_8.sce | ff481221a0aea5c110c257ca86e7364a503184e1 | [] | 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 | 114 | sce | ex19_8.sce | //Example 19.8
clc
mo=4*%pi*10^-7//Tm/A
d=0.1//in m
x=1*10^-4//F/l
I=sqrt((x*2*%pi*d)/mo)
disp(I,"Current in A=")
|
67f85fde24ebee3f1a504611a003eb3cb962fcd9 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/net/dhcp/server/dhcpds/test/listsrvr.tst | 2f9b4bce47ba7131682b71fa74dbd08b5ef1214f | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 50 | tst | listsrvr.tst | DsServer=VK-TEST
Object=CN=DhcpRoot
EnumServers=
|
1cb328b39fff36e40a3ebc3db17936ac0ee69fc8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH4/EX4.1/Ex4_1.sce | 672f934385d4644cc4fd0e9f17b279d700ef1589 | [] | 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 | 853 | sce | Ex4_1.sce |
//Variable Declaration
El=50 //Elevation Angle(degrees)
h0=0.6 //Earth station altitude(km)
hr=3 //Rain height(km)
R01=10 //Point Rain Rate(mm/hr)
f=12 //frequency(GHz)
ah=0.0188
bh=1.217
av=0.0168
bv=1.2
//Calculation
Ls=(hr-h0)/sin(El*3.142/180) //Slant path length(km)
LG=Ls*cos(El*3.142/180) //Horizonta... |
79e848ee7326c4624e5edb1c83cee6a1668933ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH10/EX10.3/Ex10_3.sce | 157c8f1068ce4899ef7768935441e9fc061beb4d | [] | 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 | 695 | sce | Ex10_3.sce | //Ex10_3 Pg-517
clc
R1=10*10^(3) //resistor R1 in ohm
Rf=50*10^(3) //feedback resistor in ohm
Vin=10*10^(-3) //input voltage in V
Ro=5000 //load resistor in ohm
disp("A'' = Vo/Vi = (-1)*Rf/R1*(1+1/A*(1+Rf/R1))^-1 ")
A=5000
Vo=Vin*(Rf/R1)/(1+1/A*(1+Rf/R1)) //output voltage
printf("\n When gain A=%.0f",A)
... |
37e3be22d1b7b8dd466ad6de618cd327a1ade6a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3834/CH8/EX8.1.1/Ex8_1_1.sce | 2708bc69fb751f5a646666e0737bfdfe45002c4f | [] | 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 | 968 | sce | Ex8_1_1.sce | //Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
//Example 8.1.1
//windows 8
//Scilab version-6.0.0
clc;
clear ;
//given
//case 1
d1=65.5E-6;//diameter of the core considering 62.5+3 in m
d2=59.5E-6;//diameter of the core considering 62.5-3 in m
Losscore=-10*log10((d2/... |
b4c6e48118fe0035af1fdc2a84b8298879c891dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH8/EX8.5/Ex8_5.sce | 887bd08619ba1e27442fe2303d04ecb57cc402eb | [] | 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,189 | sce | Ex8_5.sce |
// Theory and Problems of Thermodynamics
// Chapter 8
// Power and Refrigeration Cycles
// Example 5
clear ;clc;
//Given data
P = 10 // condenser pressure in kPa
P1 = 2.5 // leaving pressure of steam in MPa
P2 = 3.5 // leaving pressure of steam in MPa
T1 = 5... |
43bbbaed64cbd2df04d4095591f77015d1b68433 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1385/CH9/EX9.1/9_1.sce | 04ed30db557f5611e43a813aebba7c3bbf132131 | [] | 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 | 200 | sce | 9_1.sce | clc
//initialisation of variables
c= 0.1 //M
p= 1.34 //per cent
T= 25 //C
//CALCULATIONS
C1= c*p/100
C2= c*p/100
C3= c-C1
Ka= C1*C2/C3
//RESULTS
printf (' ionization constant = %.2e ',Ka)
|
42268859996902e1fb947227bbb1931e3ef5634c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH14/EX14.4/14_4.sce | 66c3a0852565c58973d871dd69958aefb683c42e | [] | 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 | 142 | sce | 14_4.sce | //chapter 14
//example 14.4
//page 441
clear all;
clc ;
//given
Av=1;//voltage follower
printf("\nc1=500 pF\nc2=2000 pF\nc3=1000 pF")
|
7af133a61a924a8edb6de605c0e30c74bc1525bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH16/EX16.3/Ex16_3.sce | f87b75a2e99a8bbc91559e6d226309deca4e52df | [] | 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 | 525 | sce | Ex16_3.sce | Df=100//in mm
bf=1500//in mm
bw=300//in mm
d=700//in mm
Ast=4510//in sq mm
fy=250//in MPa
fck=15//in MPa
Asf=round(0.36*fck*bf*Df/0.87/fy)//area of steel required for flange, in sq mm
//as Ast>Asf, Xu>Df
Xu=round((0.87*fy*Ast-0.446*fck*(bf-bw)*Df)/0.36/fck/bw)//in mm
Xc=0.531*d//Xc>Xu; hence OK
a=0.43*Xu//as... |
6d1c48542b3a065b5a3520371504ef12f047bc75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2642/CH4/EX4.10/Ex4_10.sce | 66839a9731198edeaec03086aeacb63b12fd43c2 | [] | 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 | 930 | sce | Ex4_10.sce | // FUNDAMENTALS OF ELECTICAL MACHINES
// M.A.SALAM
// NAROSA PUBLISHING HOUSE
// SECOND EDITION
// Chapter 4 : DIRECT CURRENT GENERATORS
// Example : 4.10
clc;clear; // clears the console and command history
// Given data
Pw = 12 // power in kW
P = 4 // number of poles
Z = 500 ... |
5c7f1252ebfe2dbba84cbec4c22def6fb42f5c98 | f78a758dc17a311b355e12366d1315f7a9c2b763 | /Ford/ES-XW7T-1A278-AC 2003/16.0 Immunity to Voltage Offset CI 250 0.tst | a5959243e9966d4f21b1ae4966081cac9b4a93ac | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,850 | tst | 16.0 Immunity to Voltage Offset CI 250 0.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AutoTestC version="2.0.0">
<Pulse>CUSTOM WAVE</Pulse>
<Title>Waveform</Title>
<Organization>Ford</Organization>
<Standard>ES-XW7T-1A278-AC 2003</Standard>
<Item>16.0 Immunity to Voltage Offset CI 250</Item>
<voltage>13.5</voltage>
<cou... |
5e0e319eb29d888b0226eac011bda4909633ef93 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH5/EX5.24/EX5_24.sce | e0b4faa01b8e165608a714ba70d16c8521ec0626 | [] | 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 | 848 | sce | EX5_24.sce | clc;funcprot(0);//Example 5.24
//Initilisation of Variables
Tm=45;.....//Inlet Temperature of water in degrees celcius
a=0.02;......//Length of the tube in m
b=0.03;.......//width of the tube in m
Tw=85;........//Temperatube of tube wall in degrees celcius
//Properties of water at 55 d c
rho=985.5;......//Densit... |
43942ecdcd3fc9c8a8deeddc2594310c8b30b6cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH4/EX4.3/exm4_3.sce | 52d44fbcd06a565c756403fd86badb1628174c6c | [] | 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 | 462 | sce | exm4_3.sce | // Example 4.3
// A program that reads a character from the keyboard and then print in reverse
//case ,that is,if input is in upper case,the output will be lower case and vice-versa
disp("Enter an alphabet");
alphabet=scanf("%c"); //Reading character
if((ascii(alphabet))>=9... |
28fa5254773f0577a12ac4ac267847de482f093f | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/ok_setLogic_QF_RDL.tst | a0400748b7c100f9c471afaf1d9c98940fdee6eb | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 46 | tst | ok_setLogic_QF_RDL.tst | ; testing loading QF_RDL
(set-logic QF_RDL )
|
a6c9d82de1d8e21d718a603dbc9ffebb918cf822 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH8/EX8.11/11.sce | 8cd57ca86c89125c2d9d12df5134912baa383dff | [] | 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 | 210 | sce | 11.sce | clc
clear
//input
ep=150*10^3 //electric energy to primary
e=0.69 //efficieny
t=70 //time
//calculation
es=e*ep//transformer equation
ps=es/t//power
//output
printf("the power output is %3.3e W",ps)
|
5dbef9faff74d6e954ad2e5cfc73f579b5b805f7 | 60fd7045bbb867eac717f3a5d1970bff2f95f267 | /examples/wn3.tst | 32da6c0afccd26b2344448baa7d9dc5ad67e6a03 | [] | no_license | ltzone/hipsleek | a045275a223a88b509287855fa4095ca4f6c4326 | 596f7fa7f67444c8309da2ca86ba4c47d376618c | refs/heads/master | 2023-06-26T16:38:20.062207 | 2020-12-11T15:48:52 | 2020-12-11T15:48:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 636 | tst | wn3.tst | data node {
int val;
node next;
}.
pred ll<n,u,sm,lg> == self=null & n=0 & sm<=lg & u=1
or self::node<v, null> & n=1 & sm<=v<=lg & u=2
//or self::node<v, null> & n=1 & sm<=v<=lg & u=1
or self::node<v, q> * q::ll<n-1,_,sm,lg> & q!=null & sm<=v<=lg & u=2
inv n>=0 & sm<=lg.
pred ll2<n,u,... |
2a57d2dcabb009904c5802c5a7d7afc1feeeaae2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH8/EX8.3/Ex8_3.sce | 8066cd27624b18ee6789f094fee72911f00b4b89 | [] | 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 | 127 | sce | Ex8_3.sce | clc;
//e.g8.3
a=0.967;
Ie=10*10**-3;
Ic=Ie*a;//a=Ic/Ie
disp('mA',Ic*10**3,"Ic=");
Ib=Ie-Ic;
disp('mA',Ib*10**3,"Ib=");
|
8bd41c796879f0bd6e067bd79974730003510bc7 | c7ca7c2793552f5f73495c73ad14a36f10d92e80 | /TI/TP3/tp3.sce | 12bab62769d48e6b67027d57290aeeb27cd916cf | [] | no_license | UchihaMadamiaow/Lille1-Master-Info | f402fb69497b1dd100236ed634590deae983bbcc | 353b05ede296d729bc66b0cec8fa146a3552448b | refs/heads/master | 2021-09-07T19:14:09.730841 | 2018-02-27T19:13:57 | 2018-02-27T19:13:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,980 | sce | tp3.sce | clear();
stacksize(100000000);
function im = quantification(img,n)
quantificateur = 2^n
im = img ./(256/quantificateur)
im = im.*(256/quantificateur)
endfunction
function im = surEch(img,n)
img = im2double(img);
colonne = size(img,1)*n
ligne = size(img,2)*n
im = zeros(colonne,ligne)
for i = 1 : c... |
f57af64ccd8e9a5d8d11f9697255bcd1b3a82131 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH8/EX8.5/Ex8_5.sce | 432fffce5e31d66e9d39028d22f298c1d28b2774 | [] | 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 | 581 | sce | Ex8_5.sce |
clc
//initialisation of variables
T=2000 //F
T1=1000//F
T2=300//F
T3=500//F
s1=0.4369
s2=1.7085
p1=100 //lbf/in^2
T0=537 //F
M=1009.5
h=0.26
Me=M/(h*(T-T1))
h1=269.6//lbf/in^2
h2=1279.1//lbf/in^2
p=2460/1460//lbf/in^2
//CALCULATIONS
We=(h1-h2)-T0*(0.4369-1.7085)//Btu/lbm
Wre=Me*(h*(T-T1)-T0*(h*log(p... |
bbc2cd903276d72464d98527057a4660e1b34bf7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH7/EX7.8/7_8.sce | 7154aedb1f43ad3390e8726d57e8dae81dd61907 | [] | 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 | 354 | sce | 7_8.sce | clc
//initialisation of variables
d=163*48.5//cfs
a=48.5//ft
q=100//cfs
Q=45.5*a//cfs
c=0.57//cfs
v=1.8//cfs
p=0.45//ft
//CALCULATIONS
P=d/(q*sqrt(a))//percent
C=Q/(a^0.8*(1+2*a^-0.3))//cfs
d1=2.6//cfs
T=(1-p*c+v*c*2)//cfs
//RESULTS
printf('the meyers rating =% f percent',P)
printf('the magnitude of the... |
d423bee5a3e24075c576b360331c784b24223187 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH5/EX5.09/5_09.sce | 49e7ee86ee79f691d81c67b67248164b9c151360 | [] | 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,046 | sce | 5_09.sce | //Problem 5.09:
//initializing the variables:
nCO2 = 7.5
nCO = 1.3
nO2 = 8.1
nN2 = 83.1
//calculation:
//Determine the amount of oxygen fed for combustion. Since nitrogen does not react (key component), using the ratio of oxygen to nitrogen in air will provide the amount of oxygen fed:
O2f = (21/79)*83.1
/... |
fec743ab801bfadeb3608069cc8cf03e63a75706 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH18/EX18.9/Ex18_9.sce | c8521f0e3fa18f3e5ea07535ad732e9f42867f8c | [] | 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 | 628 | sce | Ex18_9.sce | b=250//column width, in mm
D=500//column depth, in mm
lex=4//in m
ley=4//in m
Pu=300//in kN
Asc=1472//in sq mm
Ast=1472//in sq mm
fck=15//in MPa
fy=250//in MPa
c=50//cover, in mm
Max=Pu*10^3*D/2000*(lex/(D/10^3))^2/10^6//in kN-m
May=Pu*10^3*b/2000*(ley/(b/10^3))^2/10^6//in kN-m
Puz=(0.45*fck*(b*D-(Asc+Ast))... |
8651a0672b5ac98a36c97584b2fbc557555f6d2f | c2c094e5792a8d99eec660157b9b22bf111f175b | /Hardware/MRAM8.tst | 05cc6e429d6dfb9d1cba8b6959fa9d6360f36ba1 | [] | no_license | z2512690268/nand2teris | 087bfbdb56fee154ee76d7d9e8d75a92a246be04 | 6f190f3d77b7b24fb0f2ae3a56691b2d60a19c33 | refs/heads/main | 2023-04-19T00:21:49.516211 | 2021-05-05T12:10:30 | 2021-05-05T12:10:30 | 364,537,511 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,569 | tst | MRAM8.tst | load MRAM8.hdl,
output-file MRAM8.out,
output-list time%S1.4.1 in%B1.16.1 address%B1.3.1 load%B2.3.2 out%B1.16.1;
set in %B1101101010101101,
set address %B100,
set load 1,
tick,
output;
tock,
output;
set in %B0110000100001001,
set address %B010,
set load 0,
tick,
output;
tock,
output;
set in %B00000101011101... |
3f02bf210d1f4f4174255f8ca47f1c2615d54fb7 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/examples/addinter-examples/ex15c.sce | a903632c2575465f45e3a70a167b991435b5698a | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 78 | sce | ex15c.sce | // Accessing a Scilab string inside an interface
Mystr='My string';
ex15c()
|
7da9549421426a60ed4c0eec6c128d6d3aaee976 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH8/EX8.7/ch8_ex_7.sce | 510984fa89f7b2f738031dd4aee38f1cbad5d4b9 | [] | 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,055 | sce | ch8_ex_7.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 7
disp("CHAPTER 8");
disp("EXAMPLE 7");
//VARIABLE INITIALIZATION
p_o=20*746; //output power from H.P. to Watts (1 H.P.=745.699 or 746 W)
v_t=230; //in Volts
N1=1150; //speed in rpm
P=4; //... |
21c3d13e4b8f2ac88bdcef3b6125cc84a017b249 | 449d555969bfd7befe906877abab098c6e63a0e8 | /37/CH4/EX4.5/s5.sci | b252b75b89a4e15c60efb4438e3f7e862c78e41c | [] | 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 | 4,971 | sci | s5.sci | //STACK USING CIRCULAR LINKED LIST
funcprot(0)
function[link2]=append(ele,link1)
link2=list(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,0,0);
if(link1(1)(1).add==0)
link1(1)(1).data=ele;
link1(1)(1).add=1;
link1(1)(1).nexadd=1;
link2(1)=link1(1)(1);
else
if(link1(1)(1)... |
3a08ee1e5608f530be28fa298704e3d9b22801ba | bdbafbcce90eb6b9aa54964c32057b8117961b58 | /Verification.sci | 1528dcd446e64be7195228cae01cb0572e329241 | [] | no_license | Rachine/Tp_Optim | 617191c586b46d8d44fc1bd24b24e3d3b760c851 | 68cabcb55cd4f343796d6f0f3823e4aa03edbe25 | refs/heads/master | 2016-09-05T09:23:21.650931 | 2015-05-10T20:37:58 | 2015-05-10T20:37:58 | 34,060,544 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,378 | sci | Verification.sci | function []=Verification(q,z,f,p)
///////////////////////////////////////////////////////////////////////////////
// //
// VERIFICATION DES EQUATIONS D'EQUILIBRE D'UN RESEAU DE DISTRIBUTION D'EAU //
// ... |
e8f2a115b96bc3d6951b16263facfa264e797f46 | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH4/EX4.33/EX4_33.sce | c6334beb56d30631d19cd1990ccfe4874edb2ab7 | [] | 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 | 777 | sce | EX4_33.sce | //Calculating the rotor current at slip 3 precent and when the rotor develops maximum torque
//Chapter 4
//Example 4.33
//page 351
clear;
clc;
disp("Example 4.33")
E20=100;...............................//induced emf between slip terminals in volts
E20p=E20/sqrt(3);.......................//induced emf per phas... |
32e0b00c99ca6bdc4779ec1f223e812a21fdc3a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1394/CH10/EX10.2.1/Ex10_2_1.sce | 933f296c73a6759a9bb46dcce9a1eec7cd6a1a30 | [] | 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 | Ex10_2_1.sce |
clc
//initialization of variables
c = 0.92
F = 93 // ft^-1
nu = 2 // cs
dl = 63 // lb/ft^3
dg = 2.8 // lb/ft^3
G = 23 //lb/sex
//Calculations
G11 = c*((dl-dg)^0.5)/(((F)^0.5)*(nu^0.05))// lb/ft^2-sec
A = G/G11// ft^2
d = sqrt(4*A/%pi)//ft
//Results
printf("The diameter of the tower is %.1f ft",d)
|
486b3e9e169b1cd89e92ddc5933291f9bbb5ca95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH27/EX27.12/Ex27_12.sce | dd42f1eda8bcc16a1c45ff62768139a043b818cd | [] | 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 | 297 | sce | Ex27_12.sce | //Example 27_12
clc();
clear;
//To estimate the age of the axe handle
n_no=0.034
t1=5730 //Units in Years
t=-(log(n_no)*t1)/0.693 //Units in Years
printf("The age of the axe handle is t=%d years",t)
//In textbook answer is printed wrong as t=28000 years correct answer is t=27958 years
|
4cc1dbefa939d331f7bb9f9afb0d2f9c3756ee73 | 15ff2aaf59d00ffdc078f735955c5c41dd8f31eb | /LogicCircuit.tst | ea5caa92d0ab0f5d30f1a82f30ccc632957f0423 | [] | no_license | davidsmithmke/nand2tetris-project2 | bcce2c15a2752a7bfd09ee8b1660b6ed65b5d3f2 | c50b0517b373bdb81d75e1428619d0d3d5189d24 | refs/heads/master | 2020-05-01T08:20:51.117514 | 2014-02-03T17:24:10 | 2014-02-03T17:24:10 | 16,486,939 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 634 | tst | LogicCircuit.tst | load LogicCircuit.hdl,
output-file LogicCircuit.out,
compare-to LogicCircuit.cmp,
output-list in%B1.16.1 zin%B2.1.2 nin%B2.1.2 out%B1.16.1;
set in %B0000000000000000,
set zin %B0,
set nin %B0,
eval,
output;
set nin %B1,
eval,
output;
set nin %B0,
set zin %B1,
eval,
output;
set nin %B1,
eval,
output;
set in %B11111... |
e35f98ca9322ca27c92866c002eca63a7fe8c7c7 | 9b046504c3b7683d3bfa294fe100408058e75aa3 | /Metodos/Clase3/ScriptsClase/biccecion.sce | 1f6ab6e9a9226d2a855ebeed03ab43cadce839f8 | [] | no_license | DavidAlex99/Cursos | f15cb4f4fbb35a6eb62cbae0a9b51ea671f3ea8f | aee547ab09db7e535bea5a6d41ed6e455f8a9a89 | refs/heads/master | 2023-01-08T02:46:07.502656 | 2020-11-14T00:45:57 | 2020-11-14T00:45:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 119 | sce | biccecion.sce | function y = f(m)
g = 9.8
cD = 0.25
t = 4
v = 36
y=sqrt(g*m/cD)*tanh(sqrt(g*cD/m)*t)-v
endfunction
|
d865d6d045e85a84329c4b6dcbf5a5292dcc180d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH9/EX9.3/Ex9_3.sce | ddac9747108e166b4621254598bf89f062b614f4 | [] | 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 | 304 | sce | Ex9_3.sce | clc
//initialisation of variables
c=0.005//cm
v=2*10^-1/2//N.s/m^2
l=7.5//cm
mu=2*10^-2//N.s/m^2
d=5*10^-2//m
N=1500*(1/60)//rev/s
L=7.5*10^-2//m
//CALCULATIONS
F=(2*(mu)*(%pi)^2*(d)^2*N*L)/(c*10^-2)//N
HP=(F*(%pi)*d*N)/746//hp
//RESULTS
printf('The friction horsepower loss is=% f hp',HP)
|
9ace42398f69fbb94bda7e70779f062c36dc15c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH2/EX2.30/2_30.sce | 40580acc5f6feb2f7d1f32c4ba85c7ad8ad65e27 | [] | 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 | 188 | sce | 2_30.sce | function p=parallel(r1,r2)
p=r1*r2/(r1+r2)
endfunction
R=parallel(60,120)
//Mesh Analysis
A=[6,-4;-4,12]
I=inv(A)*[2.4;-3.6]
I3=I(1)-I(2)
I60=I3*120/(120+60)
disp(I60) |
7f9a0ba8e3c55ad8947aec2c40eca8726651840b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH8/EX8.27/Ex8_27.sce | 0e84cc791a602ad26b8732e654ac7982629af771 | [] | 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,292 | sce | Ex8_27.sce | // chapter 8
// example 8.27
// Determine range of duty cycle, peak-to-peak choke ripple current and average supply current
// page-523-524
clear;
clc;
// given
Edc=24; // in V (dc source)
f=50; // in KHz (switching frequency)
L=500; // in uH
E0=15; // in V (average output voltage)
Edc_max=26; // in V (maximum voltage ... |
e502eb32f1d90f4d92997accb2a942604abde9a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH7/EX7.10/7_10.sce | 901012573d4164bff968b6084981bc594803329d | [] | 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 | 511 | sce | 7_10.sce | //Example 7.10
//Calculate the view factors of the surfaces.
//Given
ds=0.3 //m, diameter of shell
r1=0.1 //m, distance from the centre
//Calculation
//by the defination of view factor
F12=1
printf("The view factor from surface 1 to 2 is %f\n",F12)
//F21
R=ds/2 //m, radius of sphere
... |
668e14108631b96dbc29ac4b9d24e4ee1e6ca11d | c8c6673c602ed995c0af8bf1320fb7e2b20973b3 | /A1/results/c4.5/result1.tst | 19b7d2d8745c4c061b8646c7ed494984662eaab8 | [] | no_license | minminmail/PrepareData | f27d8c7d92d789238572cba918283fe32abf5590 | c49d83f50fa79074cd7e8554888a42b99f85bc99 | refs/heads/master | 2023-07-05T03:49:03.428530 | 2021-08-30T22:08:57 | 2021-08-30T22:08:57 | 396,642,286 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | tst | result1.tst | @relation distaa1828a1828
@attribute 5.3 real[0.19,16.0]
@attribute 5.5 real[0.0,12.0]
@attribute green{green,red}
@inputs 5.3,5.5
@outputs green
@data
red red
green green
green green
green green
red red
green green
green green
green green
green green
green green
green green
green green
green green
|
475e3384351d00c5032c490f5d64c62e830edcb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH2/EX2.2.b/EX_2_2_b.sce | 9ae2e8bbb7ac1dc79fbb11c0d0942b1c1f5635f0 | [] | 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 | 210 | sce | EX_2_2_b.sce | // Example 2.2.b:Numerical Aperture
clc;
clear;
close;
n1=1.50;//Waveguide Refractive Index
n2=1.47;//Cladding Refractive Index
NA=sqrt(n1^2-n2^2);// Numerical Aperture
disp(NA,"Numerical Aperture is")
|
b554d73928f854b78118bdaf64f80b35c8778e69 | e9d5f5cf984c905c31f197577d633705e835780a | /GED/linear/scilab/functions/ged_generate_data.sci | 3d52f4d4ad600d43857a44f956e1e46c93353cb6 | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,742 | sci | ged_generate_data.sci | // Data Reconciliation Benchmark and GED Problems From Lietrature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
// we have 4 functions in this file:
// -generate_data
// -generate_data_multiple
// -generate_data_random_err
// -generate_data_errors
function ... |
aeb052799794cfc587010285d8e093afa86fe635 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH14/EX14.10/Ex14_10.sce | b8dd45d23b292e7e36cbe747e9212d0355f8458b | [] | 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 | 809 | sce | Ex14_10.sce | // Initilization of variables
a=10 // m/s^2 // acceleration of the particle
S_5th=50 // m // distance travelled by the particle during the 5th second
t=5 // seconds
// Calculations
// The distance travelled by the particle in time t is given by, S=(u*t)+(1/2)*a*t^2.....(consider this as eq'n 1)
// Here, The dista... |
8de04c771d264c2f2ea28c520af3728a875d96d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH10/EX10.9/Ex10_9.sce | a604c24a4557fcfee8d1d3cf6a17765c9ac04b49 | [] | 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 | 441 | sce | Ex10_9.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex10_9.sce
clc;
clear;
P_in_HP=10;
eta=0.9;
pf=0.8;
Vl=400;
Vsc=160;
Isc=7.2;
P_in_watt=P_in_HP*735.5;
If=P_in_watt/(sqrt(3)*Vl*pf*eta);
Isc_400=Isc*Vl/Vsc;
I... |
2d7d464e4bec7a23ae78a42a9805f1f520ed7db5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH1/EX1.3/Ex1_3.sce | 56fe9e9dc592a6abc4f04da71369a86c5aeaf6c6 | [] | 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 | 122 | sce | Ex1_3.sce | //Example 1_3 page no:3
clc
clear
E=50;//Energy in joules
t=2.5;//Time in second
P=E/t;
disp(P,"Power(in watts):")
|
162dfe0476cc3c3564e75c80ee31c7bb532f5658 | 9733f939913e963ec556f5f89248dacb75801a8d | /scilab/arcadefield1.sci | d9b7277d8d9a176e904c798a30fa60d7405c234b | [] | no_license | mikeg64/solar | 4546c0182bb7f7cde21bc7f102e659ff7a488ad8 | 46ab043441a4f2523daa7cfaf5008c959f61d7d6 | refs/heads/master | 2023-08-22T04:29:33.974673 | 2023-08-19T09:19:40 | 2023-08-19T09:19:40 | 17,345,330 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sci | arcadefield1.sci |
b0=1; //m=pi.*a.^2.*I/c ring current I radius a
l=1;
x=-1.0:0.1:1.0;
y=0.1:0.1:2.0;
[X,Y]=meshgrid(x,y);
bx=b0.*cos(%pi*X./l).*exp(-%pi.*Y./l);
by=-b0.*sin(%pi*X./l).*exp(-%pi.*Y./l);
bmag=sqrt(bx.^2+by.^2);
contour(x,y,bmag',[0.005 0.006 0.007 0.008 0.009 0.01 0.05 0.1 0.15 0.2 0.25 0.3 .3... |
cc0792854ccbd32e8743257ac71c040cb2ab9b26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH1/EX1.20/1_20.sce | 526b00b2d0c286946329c515c16996136144ed76 | [] | 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 | 251 | sce | 1_20.sce | //1.20
clc;
T=.5*10^-3;
V=10;
Vp=0.6*V+0.5;
Ip=5*10^-3;
Rmax=(V-Vp)/Ip;
printf("Rmax=%.0f ohm", Rmax)
C=1*10^-6;
R=T/(C*log(1/(1-0.6)));
printf("\nR=%.1f ohm", R)
disp('since the value of R is less than Rmax so the value is suitable')
|
570ad6db077b9d46c2d553482e18a12e28508ae6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH10/EX10.3/Ex10_3.sce | ca20b861d752eba7e8fc460ed6a16f724028a46a | [] | 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 | 875 | sce | Ex10_3.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 10.3\n\n\n");
// Chapter 10 : Refrigeration
// Problem 10.3 (page no. 505)
// Solution
T1=70+460; //70F=70+460 R //Energy flows into the system at reservoir at constant temperature T1(unit:R)
T2=20+460; //20F=20+460 R //Heat is rejected to the constant... |
23fa41dcc41388e9163d835c9b79079d3cf9c0cf | e00d793a546a9e3deb32b7ca5e23bb1f99f29b0a | /Livre_ECE_ecrits/Figures/ESSEC-I_2018/Figure_Essec-I_2018.sce | bb647ef28e9bd72d1fd5e515ecdf90f50dc632f6 | [] | no_license | RoxaneDuroux/ECE2 | 295459a2f2d26fdecd4df25027e6f2abf96b869a | e2ca87258179cde20cd104835d2f04e7377eed3c | refs/heads/Roxane-branch | 2020-07-07T20:18:17.558174 | 2019-08-20T22:44:11 | 2019-08-20T22:44:11 | 203,446,061 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 295 | sce | Figure_Essec-I_2018.sce | n=6;
lambda = 0.2;
alpha = 50;
x=0.5:.1:50;
l = length(x);
s=zeros(1,l);
//for i = 1:l
// s(i) = (n-1)*lambda*x(i)/((n-1)*lambda +1);
//end
for i = 1:l
s(i) = sigma(x(i),n,alpha,lambda);
end
clf()
plot(x,s,color='black', 'Linewidth', 2)
//plot(x,0.5*x, color = 'blue', 'Linewidth', 2)
|
02ed7d31b337ae49cbfd866f23949a4c696d26f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH2/EX2.7/2_7.sce | e473badcce7d229be9376b34d63bf49038955dd7 | [] | 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 | 325 | sce | 2_7.sce | clc;
//for part (i)
hf=89.8;//kJ/kg
x=0.95;
h_fg=(1420-89.8);//kJ/kg
hi=hf+x*h_fg;//kJ/kg
disp("enthalpy of part (i)");
disp("kJ/kg",hi);
//for part (ii)
//ammonia heated by (60-20) K
x=40/50;
hf=1462.6;//kJ/kg
h_fg=(1597.2-1462.6);//kJ/kg
hii=hf+x*h_fg;
disp("enthalpy of part (ii)");
disp("kJ/kg",hi... |
4e39182d610a544587ba31b6369d7e5ea8f2dc72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH9/EX9.18/Ex9_18.sce | c6c105ad4ae80c5c47a0a4b449733a7f9f558f2b | [] | 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 | 272 | sce | Ex9_18.sce | clear
//Given
q=1.6*10**-19 //C
r=0.6 //m
m=1.67*10**-27 //Kg
f=10**7
//Calculation
//
B=(2*%pi*m*f)/q
K=((B**2*q**2*r**2)/(2.0*m))/1.6*10**-13
//Result
printf("\n Kinetic energy of the protons is %0.1f Mev",K*10**26)
|
a8524db6bf0022bfecf3e05d05e8e126b89ae32f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH6/EX6.21/ex6_21.sce | a0470798e2015ed59d9dc930e2d7eef90800d7f0 | [] | 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,515 | sce | ex6_21.sce | clc;
// (a).Restoring to initial state by throttling process
T1=303; //Temperature of air at state 1 in kelvin
p1=1; //Pressure of air at state 1 in bar
p2=5; //Pressure of air at state 2 in bar
p3=1;//Pressure of air at state 3 in bar
T3=303; //Temperature of air at state 3 in kelvin
Cpo=1.0035; // Specific he... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.