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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
baf2fac885da21836b684c71fd35adb5164370c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH14/EX14.2/14_2.sce | 18de8d17b34a1de3ab543f7de93bbfc225701b2b | [] | 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 | 76 | sce | 14_2.sce |
Ifsd=25/1000
Ix=4.975
Rx=Ifsd*5/Ix
disp(Rx)
Rx=20/Ifsd-5
disp(Rx)
|
6771b3ee038cdf2af6f6cf7c0a5cdf0cffe66616 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH10/EX10.18/Ex10_18.sce | e9324cb44d8368ceb2f9dfb382939580f3769c90 | [] | 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 | 398 | sce | Ex10_18.sce | //===========================================================================
//chapter 10 example 18
clc;clear all;
//variable declaration
V1 = 250; //voltage in V
V2 = 92; //voltage in V
t = 60; //time in seconds
C = 600*10^-12; //capacitance in F
//calculations
//V2 = V1*e^(t/C*R)
R = t/(C*log(V1... |
8e0c0462052bb4a6d1e9e00cabe249b928e74ae2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH10/EX10.1/Ex10_1.sce | 4c174d2c6f499a227b9a701df4b8bd90b634ad6b | [] | 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 | 218 | sce | Ex10_1.sce | clear;
clc;
//Example 10.1
Vbe=0.6;//(V)
b=100;
V1=5;
Io=200;//micro A
Iref=Io*(1+2/b);
printf('\nreference current=%.2f microA\n',Iref)
Iref=Iref*0.001;//mA
R1=(V1-Vbe)/Iref;
printf('\nR1=%.2f KOhm\n',R1)
|
3b9027392c359f96a1909dabf1fa5f3086917600 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH3/EX3.23/EX3_23.sce | 7785a193ddeca3c8394f63cc79a969240dac218c | [] | 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 | 736 | sce | EX3_23.sce | // Exa 3.23
format('v',8)
clc;
clear;
close;
// Given data
I_o = 10;// in mW
e = 1.6 * 10^-19;// in J/eV
hv = 2;// in eV
hv1=1.43;// in eV
alpha = 5 * 10^4;// in cm^-1
l = 46;// in µm
l = l * 10^-6;// in m
I_t = round(I_o * exp(-(alpha) * l));// in mW
AbsorbedPower= I_o-I_t;// in mW
AbsorbedPower=Absorbe... |
d74a12d277f3d6a349a7b0093f9fcd276cb249fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH14/EX14.25/example14_25.sce | d3ebf789b0193949c6bda69b6623e217df7f0184 | [] | 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 | 603 | sce | example14_25.sce |
//example 14.25
//calculate bed load transported by the channel in tonnes per day
clc;funcprot(0);
//given
S=1/5000; //bed slope
B=40; //width of channel
D=2.6; //depth of channel
d=0.38; //mean diameter of bed material
n=0.021; //Manning n
D65=0.64D-3... |
38d75f463c1f5f57727c460c334ab043826ec99c | 1f82dab98189a6c102d738401fb9a519861b4c0e | /scilab.sce | 5617343b95dea838ad847aa0b7706fb9e1ee62da | [
"MIT"
] | permissive | zenware/FizzBuzz | 3e1be7b353956444dbe4c848e79b464e4f4d9a72 | 82f7cbba2a38109e14311e217ccd2d6cbf9b8651 | refs/heads/master | 2022-12-11T16:34:19.148726 | 2022-06-16T19:54:18 | 2022-06-16T19:54:18 | 33,506,506 | 221 | 132 | null | 2022-12-05T19:36:40 | 2015-04-06T21:20:57 | Brainfuck | UTF-8 | Scilab | false | false | 271 | sce | scilab.sce | for i=1:100
if modulo(i, 15) == 0 then
mprintf("%s\n", "FizzBuzz")
elseif modulo(i, 5) == 0 then
mprintf("%s\n", "Buzz")
elseif modulo(i, 3) == 0 then
mprintf("%s\n", "Fizz")
else
mprintf("%s\n", string(i))
end
end
|
3c70c8c1bcb989c70dcb36343f92d454b3904b9d | 380a2443dfa80d98cc88d7130a44653cb98ae4d5 | /test/MF03.prev.tst | 6bffc595ee7aea8cf9b4bbc1e67726140c67b73b | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/gramword | c7f7fe036043799aa4faab9b6eaa543531620405 | ff66a01935dfdb6230aa8ec3a9d439f99ff80330 | refs/heads/master | 2022-02-13T20:38:14.321487 | 2022-01-28T20:18:06 | 2022-01-28T20:18:06 | 30,126,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 72,613 | tst | MF03.prev.tst | <?xml version="1.0" encoding="UTF-8"?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
</head>
<body>
<pre>
==Übersicht über die evangelische Perikopenordnung nach dem [[Kirchenjahr]]==
Innerhalb der [[EKD]] gilt seit 1977/1978 die folgende Ordnung der Predigttexte und Les... |
67e5040582be931aeeccea10362d65d4e2431f06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH11/EX11.11/Ex11_11.sce | 63085593e4224c5d9d73fa9e10ab5696214f356a | [] | 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 | 553 | sce | Ex11_11.sce | // Chapter 11 example 11
//------------------------------------------------------------------------------
clc;
clear;
// Given data
G = 6.67*10^-11; // Gravitational constant
M = 5.98*10^24; // mass of the earth in kg
Re = 6370*10^3; // radius of earth in m
// Calculations
... |
d3cde22dd851b93cca7d59fcf1c1733f559f25ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /3588/CH7/EX7.1/EX7_1.sce | e378b08cf71d6fbc7fe60191937da52a6a044c37 | [] | 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,096 | sce | EX7_1.sce | //Clearing console
clc
clear
//Intializing Variables
d = 0.06
k1 = 200
k2 = 389
L = 0.5
T(5,1) = 80
Q(1:4,1) = ((%pi*d^2)/4)*[4000;0;0;0]
A = (%pi*d^2)/4
//Calculating elemental stiffness matrices
function K= matri(k,A,L)
K=[(7*k*A)/(3*L) -(8*k*A)/(3*L) (k*A)/(3*L);-(8*k*A)/(3*L) (16*k*A)/(3*L) -(8*k*A)/(3*L);(k*... |
9e1639fdf6be1062868dec20e7e71a33ed2664e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH7/EX7.13.5/Ex7_5.sce | 528579ced667817fc3d55b968432dcc6a538a257 | [] | 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,347 | sce | Ex7_5.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 7 Junction Transistor Characteristics
clc
clear
disp("As the base is forward biased,transistor is not cut off.")
disp("Assuming the transistor in active region ")
VBB=5//VBB=base bias voltage
VBE=0.7//VBE=voltage between base and emitter terminal
RB=220//RB... |
1deb7a19f1e42d954c74389edff9d0c6a6e81a2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH8/EX8.1.37/8_1_37.sce | 0d5a0bf7a19cb2a1b61e4a2588e1595169885060 | [] | 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 | 365 | sce | 8_1_37.sce | clc
clear
//Input data
M=0.8 //Mach number
T=20+273 //Temperature in K
k=1.4 //Adiabatic constant
//Calculation
To=T*(1+(((k-1)/2)*M^2)) //Temperature of air at nose of aircraft in K
To1=To-273 //Temperature of air at nose of aircraft in degree Centigrade
//Output
printf('Temperature of air at nose o... |
6ff9fc58a1e6455d7ccaefd7ed8457500173fc65 | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /TugasBesar2018/poisson2d.sce | fad93605a84981c51af95c214ad0297bd32d7555 | [] | no_license | f-fathurrahman/ffr-MetodeNumerik | ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327 | e3a9da224c0fd5b32e671708e890018a3c4104c4 | refs/heads/master | 2023-07-19T22:29:38.810143 | 2023-07-07T10:02:34 | 2023-07-07T10:02:34 | 107,272,110 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 708 | sce | poisson2d.sce | function u = poisson2d(u0, x, y, Nx, Ny, TOL, f)
// Nx, Ny: no of nodes in x and y direction
MaxIter = 10000
hx = (x(Nx) - x(1))/(Nx-1)
kx = 1.0/(hx*hx)
hy = (y(Ny) - y(1))/(Nx-1)
ky = 1.0/(hy*hy)
kxy = 2.0*(kx + ky)
u = u0
for iter =1:MaxIter
err = 0.0
u_old = u
// loop only for inte... |
6f26cf233f27e72415bf28b827af5c512c927b8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH6/EX6.1/Ex6_1.sce | d43fbab83e5fe9e478c2f66303ffa01a665657ff | [] | 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,140 | sce | Ex6_1.sce | //Fluid System By Shiv Kumar
//Chapter 6 - Kaplan and Propeller Turbines
//Example 6.1
//To Find (a)Discharge (b)Diameter of Hub And Diameter of Runner (c)Speed
clc
clear
//Given:
P=37; //Shaft Power, MW
H=22; //Head, m
eta_0=92/100; //Overall Efficiency
dbyD=1/3; //Ratio... |
cc020f236233a6229474a9b32e1fd7d82759e86e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH4/EX4.2/aconv2.sce | 026cad3251d30423b118b643490ad9443d9c7fdf | [] | 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 | 299 | sce | aconv2.sce | // Plot of -0.9^n1(-n-1)
// 4.2
exec('stem.sci',-1);
exec('label.sci',-1);
a = 0.9;
n = -10:20;
y = zeros(1,size(n,'*'));
for i = 1: length(n)
if n(i)<= -1,
y(i) = -(a^n(i));
else y(i) = 0;
end
end
stem(n,y)
label('u2',4,'Time(n)','-0.9^n1(-n-1)',4)
|
41daaf7ff052fc9d95fc359f63f690cbbb47adc0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1022/CH4/EX4.1/4_1.sce | f7e33f885b2f18e1e86b8010bf5e8318206b4f59 | [] | 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 | 273 | sce | 4_1.sce | clc
//initialisation of variables
V= 1 //cp
//CALCULATIONS
SI= V*10^-2/10
BE= (V*10^-2*32.2)/(4.788*10^2)
RE= V*10^-2/(4.788*10^2*144)
//RESULTS
printf ('SI units= %.2e Pa s',SI)
printf (' \n BE units= %.2e lbm/ft s',BE)
printf (' \n Reyns units= %.2e reyn',RE)
|
0bad52df1100bc4031cdc27d80900c46b4bf80b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH16/EX16.2/eg16_2.sce | 6002dcc048d4e4b9c15a78d294fadd26cd7e759a | [] | 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,306 | sce | eg16_2.sce | clear;
//clc();
x2d=(%i)*0.3;
xl1=(%i)*0.08;
xline=(%i)*0.55;
xl2=(%i)*0.08;
ig=0.75;
z2t=x2d +xl1 +xline + xl2;
er=1;
eint=er+ig*z2t;
e2int=sqrt(real(eint)^2 + imag(eint)^2);
x2gf=imag(x2d + xl1);
i2d=e2int/x2gf;
x2bf=imag(xl1 +xline);
i2df=er/x2bf;
tot_i2d=i2d +i2df;
printf("The total subtransie... |
6b6369e9ee69e64167de1f7be70481b130dda494 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH29/EX29.4/Ex29_4.sce | 60e173253c3fe11fdd5797bbac672599088bdd29 | [] | 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 | 436 | sce | Ex29_4.sce |
//To find the Electric Potential
//Example 29.4
clear;
clc;
Q1=10*10^-6;//First Charge in Coloumbs
Q2= 20*10^-6;//Second Charge in Coloumbs
r=0.02;//Distance between the charges in metres
K=9*10^9;//Value of constant (1/(4*pi*ε0))
V1=Q1*K*2/r;//Electric Potential due to First Charge
V2=Q2*K*... |
8499bdd4392cb3e296a33e70688d9c073167db5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH5/EX5.1/Ex5_1.sce | bfe1954058f1dc648e513ccfd211eb650a5745c7 | [] | 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 | 415 | sce | Ex5_1.sce | // chapter 5 , Example5 1 , pg 149
//plane has intercepts a,2b,3c along the 3 crystal axes
//lattice points in 3-d lattice are given by r=p*a+q*b+s*c
//as p,q,r are the basic vectors the proportion of intercepts 1:2:3
p=1
q=2
s=3
//therefore reciprocal
r1=1/1
r2=1/2
r3=1/3
//taking LCM
v=int32([1,2,3])... |
6663d40a71e273347ed57bc649e15329cee2a72e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH12/EX12.7/ex12_7.sce | 0e8ff628ac900f557010124f07291595dbecb168 | [] | 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 | 307 | sce | ex12_7.sce | clc;
clear all;
delta = 0.012; // Relative refractive index
NA = 0.22;// Numerical Aperture
n1 = NA/(sqrt(2*delta)); //The refractive index of core
n2 = n1*(1-delta); // The refractice index of cladding
disp('',n1,'The refractive index of core is')
disp('',n2,'The refractive index of cladding is')
|
df6104ec5a896181c38e6706dc99f75dbe7eda0c | 5c808b0f55fefd29b91c7cb73f2f3a08093c5033 | /Code/Scilab Code/CoeffsToHz.sci | aec1331f4c2ea86af0fb9ee6bb4cee1fd02b0b0f | [] | no_license | JOfTheAncientGermanSpear/Filter-Bank-Guitar-Note-Chord-Detection | a01e2ce521561dfea555a588d6bb1e0f1deca18e | cb0d54c74275a990dcb984c4ec349e6ca4e72a1a | refs/heads/master | 2021-01-20T12:00:42.472605 | 2013-06-14T03:04:33 | 2013-06-14T03:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sci | CoeffsToHz.sci | function hz = CoeffsToHz(b, a)
bRev = b(length(b):-1:1);
aRev = a(length(a):-1:1);
bPoly = poly(bRev, 'z', 'coeff');
aPoly = poly(aRev, 'z', 'coeff');
hz = syslin('d', bPoly, aPoly);
endfunction |
080b4ecff4cb6a63d8ce16494e5cd148004474da | b59f38fb8e181f5a207854c050b30c5175333276 | /simulate.sci | cf65ec1fb2a0b246d323ba9276574e32826d3cd5 | [
"MIT"
] | permissive | Matii96/sand-simulation | da9ce8a6de5b50a606af4781f1e011096a8cc2f5 | e2ef4e63b7425cf8e15c414a4b497630ba844db9 | refs/heads/master | 2020-12-10T18:55:58.231143 | 2020-01-19T12:51:29 | 2020-01-19T12:51:29 | 233,679,584 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 392 | sci | simulate.sci | getd('./functions');
xdel(winsid());
exec setCases.sci;
//state = round(rand(7, 7) - .3);
state = StartingPosition();
shift = 0;
noChange = 0;
while 1
newState = Evolve(state, shift, .01);
if newState == state
noChange = noChange + 1;
if noChange == 3
break;
end
else
noChange = 0;
end
... |
3502d7d8b7113609690693e4c35d94cdc3fb5772 | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH3/EX3.34/ex3_34.sce | f4a4e9c51e5d83ef3e441d40f6d4d64a85930c5e | [] | 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,211 | sce | ex3_34.sce | //Caption:In a transformer find all day efficiency
//Exam:3.34
clc;
clear;
close;
KVA=1500;//Rating of the transformer(in KVA)
P_C=4.5;//copper loss for maximum efficiency(in KW)
P_I=3.2;//iron losss at maximum efficiency copper loss=iron loss
L_1=1200;//load for 6 hours (in KW)
L_2=900;//load for next 10 hour... |
dda681b02fbdb92d232a422622a2ab8f85dba30e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH13/EX13.3/13_3.sce | 81b8348567ce37f5cb21c097b358f55fff7e0c69 | [] | 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 | 253 | sce | 13_3.sce | clc
//initialisation of variables
clear
k= -8810 //cal
k1= -7.46 //cal K^-1
k2= 3.69*10^-3 //cal K^-2
k3= -0.47*10^-6 //cak K^-3
T= 298 //K
//CALCULAATIONS
dH= k+k1*T+k2*T^2+k3*T^3
//RESULTS
printf ('Standard heat of reaction = %.f cal',dH)
|
6eb34e79695b80d804ddc6d87ffeae1c7e8d4a6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH9/EX9.a.10/Example_a_9_10.sce | b9954bca82671888c454cc0212bb9711e7c20b0a | [] | 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,220 | sce | Example_a_9_10.sce | //Example_a_9_10 page no:409
clc;
Zrymag=10;
Zryang=0;
Zybmag=2;
Zybang=90;
Zbrmag=5;
Zbrang=-90;
Vrymag=400;
Vryang=0;
Vbrmag=400;
Vbrang=-120;
Vybmag=400;
Vybang=-240;
//calculating the line currents
Irmag=Vrymag/Zrymag;
Irang=Vryang-Zryang;
Iymag=Vybmag/Zybmag;
Iyang=Vybang-Zybang;
Ibmag=Vbrmag/Zb... |
64d72994c5cc2563671fc3b9b768911a6e6d9ec5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH6/EX6.41/EX6_41.sce | 081e41a4884b5d7438ba477c6f74dc665cc3d533 | [] | 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 | 359 | sce | EX6_41.sce | //Example6_41 // To find the value of resistance R1 for instrumentation amplifier
clc;
clear;
close;
A =100 ;
R2 = 450*10^3 ;
R3 = 1*10^3 ;
R4 = 1*10^3 ;
// The gain of differential amplifier
// A = (R4/R3)*(1+(2R2/R1)) ;
//but R3 = R4 then
// A = 1+(2R2/R1) ;
R1 = 2*R2/(A-1);
disp('The value of resi... |
3dfa34c544dcfc186000ebdc7e00bd501e25dc3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH16/EX16.a.19/Example_a_16_19.sce | b2a221454e8d4a2a81a851bf817bb4c60d7b58f8 | [] | 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,085 | sce | Example_a_16_19.sce | //Example_a_16_19 page no:793
clc;
I1=1;//assume I1=1 hence it will be canceled in solving the equation
V1=I1*(8+2*%i);
V2=I1*(3-4*%i);
A=V1/V2;
C=I1/V2;
I2=(I1*(3-4*%i))/(6-4*%i);
V1=I1*((5+6*%i)+(((3-4*%i)*3))/((3-4*%i)+3));
B=V1/I2;//B value slightly varies with textbook, hence values are rounded off in tex... |
71b936dbc12f7c5b0268e8b50f015058c88389fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.26/ex2_26.sce | 2e00da1862c0f8317d985dacbffd50ae4ca7283b | [] | 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 | ex2_26.sce | C=318*10^-6; //Assignig values to parameters
V=230;
f=50;
Xc=1/(2*%pi*f*C);
I=V/Xc;
Vm=sqrt(2)*V;
Im=sqrt(2)*I;
function y=f(t), y=Vm*sin(2*%pi*f*t),endfunction
function y1=f(t), y1=Im*sin(2*%pi*f*t+%pi/2),endfunction
disp("Volts",Vm,"Peak voltage value");
disp("Amperes",Im,"Peak currnet value"); |
5f5c1987639f88c51c26f0eea1d95cb75c7cf4e0 | d167200e784b8019615f6b37b5a46b91ec43b98d | /macros/gaussianBlur.sci | 3a6c0a2b42ef395900a46196250302391b98f16a | [] | no_license | AshishMantosh/FOSSEE-Image-Processing-Toolbox | ee9c1a00f97627f372fae1d7d851c4905ac9d83e | e4fbe1891e13e4dc9b62513f0aef2b101638f084 | refs/heads/master | 2021-01-01T19:05:15.966438 | 2017-07-27T07:16:11 | 2017-07-27T07:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,575 | sci | gaussianBlur.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
86a61ce08e279ff5c78603b761164bf86ff3757f | 717ddeb7e700373742c617a95e25a2376565112c | /343/CH4/EX4.4/ex4_4.sce | 1419627714924b700a54d762a151780afbf34a30 | [] | 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 | 338 | sce | ex4_4.sce | clc
n2=50 //Assigning values to parameters
n1=500
kva=25
e1=3000
k=n2/n1
i1=kva*1000/e1
i2=i1/k
e2=k*e1
fm=e1/(4.44*f*n1)
disp("Amperes",i1,"The primary full load current is");
disp("Amperes",i2,"The secondary full load current is");
disp("Volts",e2,"The secondary emf is");
disp("Wb",fm,"The ... |
da8dc71d5f78699e52e4bd2746caf6387d3b3d48 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_S._K._Srivastava_And_R._A._Yadav_2780.zip/Engineering_Physics_S._K._Srivastava_And_R._A._Yadav_2780/CH3/EX3.36/Ex3_36.sce | cfe2a3674d8073a0c2e18f7937c1bc211262e610 | [] | 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 | 260 | sce | Ex3_36.sce | errcatch(-1,"stop");mode(2);
//to calculate limit of resolution of the telescope
lambda=5890*10^-8 //wavelength in cm
a=1 //diameter in cm
theta=1.22*lambda/a
disp("the limit of resolution of the telescope is theta="+string(theta)+"radians ")
exit();
|
f789adcad3b7817d18585b710a0dedb719a32329 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH5/EX5.2/Ex5_2.sce | ac1cfb0777de922547bbf2b3427fb0bc9cc3a2a3 | [] | 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 | Ex5_2.sce |
//P5.2 determine the induced emf in the armature
P=4;//poles
A=4;//wave wound
N=50;//number of slots
SperCondctr=24;//slots/conductor
Z=SperCondctr*N;//total conductor
N=600;//rpm....speed of armature
F=10e-3;//webers....flux/poles
E=F*Z*N*P/(60*A);//emf induced
disp('e.m.f induced is = '+string(E)+' volts... |
37eaacebba1314820f151ade0ee6adb9e7fc0292 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH3/EX3.25/Example325.sce | 16b23644c4e604cc37238b9dcd4ef9f56bcf9c16 | [] | 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,004 | sce | Example325.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 25")
P = 5000//kW
alpha1 = 30//degrees
H= 30//m
g = 9.81;
Ns = 270
etah = 0.9
etao = 0.86
disp("Specific speed of the ... |
682463b2504ba3bd1566e4d7cdfc0a90991e3bb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH10/EX10.19/10_19.sce | 3c0f7865701e64b043a32dda9e0ef392353da97d | [] | 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 | 10_19.sce | //Problem 10.19: The current flowing through a resistor of 5 kohm(+-)0.4% is measured as 2.5 mA with an accuracy of measurement of (+-)0.5%. Determine the nominal value of the voltage across the resistor and its accuracy.
//initializing the variables:
I = 0.0025; // in Amperes
R = 5000; // in ohms
e1 = 0.4; // i... |
ddde72c0d9ad8e2d9940b39adca1ca8a1764ad7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH2/EX2.21/Exa2_21.sce | 06dbed3c3910a3cd29d24682c47943e574f5aa0f | [] | 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 | 458 | sce | Exa2_21.sce | //Exa 2.21
clc;
clear;
close;
//Given data :
format('v',5);
n1=1.447;//unitless
n2=1.442;//unitless
lambda=1.3;//in um
d=7.2;//in um
a=d/2;//in um
//Formula : v=2*%pi*a*sqrt(n1^2-n2^2)/lambda
v=2*%pi*a*sqrt(n1^2-n2^2)/lambda;//unitless
disp(v,"Value of v : ");
disp("To achieve single mode transmission in ... |
62412a965208f7a2e7a68be0d32ca462738b0d6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH12/EX12.19/19.sce | b15a9e53993fc45f10964635ba9a6a98646aa5b2 | [] | 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 | 398 | sce | 19.sce | clc
h1=3450; //kJ/kg
h2=3050; //kJ/kg
h3=3560; //kJ/kg
h4=2300; //kJ/kg
h_f4=191.8; //kJ/kg
//From mollier diagram
x4=0.88;
disp("(i)Quality of steam at turbine exhaust =")
disp(x4)
n_cycle=((h1-h2) + (h3-h4))/((h1-h_f4) + (h3-h2));
disp("(ii) Cycle efficiency =")
disp(n_cycle)
SR=3600/((h1-h... |
3b12eba9e21d86a3e758c2ee6b71d2213e60f7ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH2/EX2.9/2_9.sce | 65740adfcddcf0aed3148207bcd99bf3c25b914c | [] | 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 | 575 | sce | 2_9.sce | //To detemine the annual loss factor
//Page 58
clc;
clear;
TAE=5.61*(10^6); //Total annual energy in kW
APL=2000; //Annual peak load in kW
Lc=0.03; //Cost of energy per kWh in dollars
Plp=100; //Power at peak load in kW
Fld=TAE/(APL*8760);
Fls= (0.3*Fld)+(0.7*(Fld^2));
AvgEL=Fls*Plp; //Average energy los... |
c409f9f1393f2488ca07732bdfc41b3f058da50d | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.3_11.tst | e37a5b82cd655d14116e40e6eafbaaeb4c5431a8 | [] | 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 | 707,777 | tst | 5.3_11.tst | 3 581:1 656:1 838:1 1491:1 1497:1 1512:1 1569:1 1606:1 2279:1 2346:1 2568:1 3238:1 3264:1 3346:1 3459:1 3565:1 3621:1 3622:2 4007:1 4344:1 4439:1 4453:1 4553:1 4857:1 5188:1 5235:1 5372:1 5628:1 5643:1 5836:1 6355:1 6605:1 7619:1 7820:2 8100:1 8124:1 8582:1 9173:2 9825:1 9826:1 9847:1 9986:1 10125:1 10127:1 10281:1 106... |
a3022d3d9934277aa6fed1dc8fd2b85138575dee | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/scicos/c_pass1.sci | 2f917f1db421327fe29fce9b2c811a620f910b07 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | 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 | 13,515 | sci | c_pass1.sci | function [blklst,cmat,ccmat,cor,corinv,ok]=c_pass1(scs_m,ksup)
//%Purpose
// Determine one level blocks and connections matrix
//%Parameters
// scs_m : scicos data structure
// ksup :
// blklst : a list containing the "model" information structure for each block
//
// cmat : nx4 matrix. Each row contains, in or... |
125a16126b6c276a245789433e79bf63ef99d215 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH3/EX3.13/ex3_13.sce | 235b06147c0c590ea69926278b1a558a2c82028e | [] | 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 | 563 | sce | ex3_13.sce | // Exa 3.13
format('v',7);clc;clear;close;
// Given data
Rs = 25;//resistance in k ohm
Rs = Rs * 10^3;// in ohm
Rm = 1;//meter resistance in k ohm
Rm = Rm * 10^3;// in k ohm
V = 100;//voltage in V
// Rs = (S*V) - Rm;
S = (Rs+Rm)/V;//sensitivity in ohm/V
disp("For meter A: The value of S is : "+string(S)+" Ω/... |
ad371cd4b81fad0cb493dd76427aa002453c5e3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH4/EX4.4/Ex4_4.sce | 7c39012f9797119fcd33d726bce526fd44f9372e | [] | 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 | Ex4_4.sce | //Example 4.4
//Also see Example 4.3
m=12+7;//Total mass of System 2, mass of cart+mass of equipment, (kg)
a=1.5;//Acceleration (m/s^2), See Example 4.3
F_net=m*a;//Net external force (N)
f=24;//Net opposing force (N)
F_prof=F_net+f;//Force exerted by the professor on the cart (N)
printf('Force exerted by the pr... |
461a931e497ed17c62eb199afaabaefebb22e802 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH23/EX23.6/Ex23_6.sce | 4c50544f724c1646a73f590061be7ecc7fb528c5 | [] | 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 | 391 | sce | Ex23_6.sce | //Variable declaration:
Q = 20000 //Fuel input (Btu)
e = 1 //Energy produced (kW.h)
Btu = 3412 //Units Btu in 1 kW.h
//Calulation:
ER = Q/Btu //Energy requirement in 1990 (kW.h)
E = e/ER*100 //Efficiency of energy conversion (%)
... |
cc045386846f7287f6b2134d9821a6e7c123f9a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH1/EX1.34/Ex_1_34.sce | ef09f51a5d18aa480e07a73ecc29c8092b593340 | [] | 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 | 464 | sce | Ex_1_34.sce | //Example 1_34
clc;
clear;close;
//Given data:
IL=40;//A
VC=100;//V
t_off=60*10^-6;//s
C=t_off*IL/VC;//F
disp(C,"Value of C(F)");
//L>VC^2*C/IL
L_lower=VC^2*C/IL^2;//H
Ip=VC*sqrt(C/L_lower);//A
disp("Value of L should be greater than "+string(L_lower)+" H. For this value of L, Peak capacitor current is "... |
7adbabfc23ca43de543243f9cf28e761351a7a1d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH4/EX4.1.6/example4_6.sce | 6212e45aa327d549dc83644e5286804442aa2a6e | [] | 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 | 449 | sce | example4_6.sce |
//exapple 4.6
clc; funcprot(0);
// Initialization of Variable
rho=999;
rhos=8020;//density of steel
g=9.81;
pi=3.14;
df=14.2/1000;//dia of float
Af=pi*df^2/4;//area of float
Cd=0.97;
nu=1/rho;
Q=4/1000/60;
G=Q*rho;
//calculation
x=0.5*(18.8-df*1000)/280*(280-70);
L=df*1000+2*x;
L=L/1000;
A1=pi*L^2... |
ec53c61b615619c1f5c2db7826fc4628c1e45054 | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH3/EX3.1/3_1.sci | 58fcd1963986e815ce07d3257e8488bc7fdb7a62 | [] | 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 | 174 | sci | 3_1.sci | // calculating guarantee value of capacitance
clc;
As = 1;
Er=0.05;
Aau=As*(1+Er);
disp(Aau,'Upper limit(micro F)=');
Aal=As*(1-Er);
disp(Aal,'Lower limit(micro F)='); |
ce74dd3fae350442a861fd50b4fc6c2e9de7bf74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH20/EX20.3/Design_Example_20_1.sce | 67cc49af4737a40f45e5bc3e6cd541852e877991 | [] | 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 | 698 | sce | Design_Example_20_1.sce | //Design Example 20.1: Designing a cubic mixed-ferrite magnetic material
clear;
clc;
printf(" Design Example 20.1\n");
x=poly([0],'x'); // Defining X
Ms_Fe=5.25*10^5; //Required saturation Magnetisation
b_m=9.27*10^-24; //ampere*m^2 (Bohr Magneton)
a=0.839*10^-9; //a is edge length in m
M=5*10^... |
ae6109092fbf6bfe1b0b71c6dcd423245530dda4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH27/EX27.8/example27_8.sce | 50cff6de6824c17dc11dce6d470eac664f604fd6 | [] | 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 | 231 | sce | example27_8.sce | l=8;
r=400;
v=120;
f=60;
disp("Part a");
x_l=2*%pi*f*l;
q=x_l/r;
vc=q*v;
disp("the capacitor voltage (in V) is"); disp(vc);
disp("Part b");
c=1/(4*%pi^2*f^2*l)
disp("the necessary capacitance (in μF) is"); disp(c*10^6); |
1b9f1da2bfdfdb41749949620487af50e3f37889 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH5/EX5.3.1/5_3_1.sci | 589c51652965a900156fe5733144a19932cf1623 | [] | 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 | 376 | sci | 5_3_1.sci | //page 249
clear;
close;
clc;
A=[0 4;0 1/2];
disp(A,'A=');
eig=spec(A);
disp(eig,'Eigen values:')
[v,D]=spec(A);
u0=[v(:,1)];//Taking u0 as the 1st eigen Vector.
for k=0:5
disp(k,'k=');
u=A*u0;
disp(u,'U(k+1)(K from 0 to 5)')
u0=u;
end
u0=[v(:,2)];//Taking u0 as the 2nd eigen vector.
for k=0:5
disp(... |
aae77a268915e9502b55c828ad29a746c7c3e88e | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH9/EX9.6/9_6.sce | 48fbc94294aec0418b8012dc832bc0e0736f2ba8 | [] | 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 | 660 | sce | 9_6.sce | clear
clc
disp('Ex-9.6(a)');
delE=0.358;hc=4.14*10^-15; //hc in eV.nm and delE=1.44eV(given values)
f=(delE)/hc; //frequency
printf('The frequency of the radiation is %.3e.\n',f);
m=0.98; //mass in terms of u
k=4*%pi^2*m*f^2; //value o... |
347573fdef740e32b94046d5325e538349024035 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH16/EX16.18/Ex16_18.sce | 3ca09085fd55c8a9bab932db6b435850e9eb078c | [] | 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 | 276 | sce | Ex16_18.sce | //Initilization of variables
r=0.05 //m cylinder radius
g=9.8 //m/s^2
//Calculations
//Here the equation has been solved in terms of the veriables
//Hence we directly consider the final result
av=(2*g)/3 //m/s^2
//Result
clc
printf('The value of av is %f m/s^2',av)
|
734f0eaab03045e6f2f4ef93e169bd9fa7737671 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH3/EX3.08/3_08.sce | a38d5e3eb8446a39e9f4405299d76b3b40eb2ae5 | [] | 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 | 449 | sce | 3_08.sce | //Problem 3.08: A coil of copper wire has a resistance of 100 ohms when its temperature is 0°C. Determine its resistance at 70°C if the temperature coefficient of resistance of copper at 0°C is 0.0043/°C
//initializing the variables:
R0 = 100; // in ohms
T0 = 0; // in °C
T1 = 70; // in °C
a0 = 0.0043; // in per°... |
abe2a0d257831ad7e8513f7f308e0e91a2a07a05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH11/EX11.11/11_11.sce | 84dc3b7397bb722584a8c7667ab7ad5da8a0a784 | [] | 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,020 | sce | 11_11.sce | clc;
clear;
k=1.4;
T0=518.67;//degree R
T1=514.55;//degree R
p1=14.3;//psia
R=53.3;//(ft*lb)/(lbm* degree R)
cp=R*k/(k-1);//(ft*lb/(lbm* degree R))
Tratio=T1/T0;
Ma=(((1/Tratio)-1)/((k-1)/2))^0.5;
x=(R*T1*k*32.2)^0.5;//ft/sec; where x=(R*T1*k)^0.5
y=p1*144/(R*T1)*(Ma*x);//lbm/((ft^2)*sec); where y=d*V
//... |
8dfaeb97f02ef78baaa0f41de60bde6d2d1a1aa1 | 468a1ec1a04ab99eb46811103f55ed1a32266ff7 | /Mrophological.sce | 9b6e0ff44daf56241a68563bcb038f0e291c3a1d | [] | no_license | sricharraan/Image-Processing | e2c152b3127425c17ecd36548a457b81b4b74466 | 2ea4b68d172359ee2c58f4d2fc7a4f0cb99d4440 | refs/heads/master | 2022-04-16T04:11:31.984041 | 2020-04-22T05:18:47 | 2020-04-22T05:18:47 | 257,531,057 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,301 | sce | Mrophological.sce | clc
clear
close
a=imread('blobs.png')
a=double(a)
[r c]=size(a)
padded = zeros(r+2,c+2);
padded(2:r+1,2:c+1) = a;
a=padded
w=[1 1 1;1 1 1;1 1 1]
aa=find(w==1);
count=length(aa);
[r c]=size(a)
for i=2:r-1
for j=2:c-1
sum1=0;
x=a(i-1:i+1,j-1:j+1);
sum1=sum(x.*w);
if sum1==cou... |
6f88385260119fa4cf3bfe80a5697cf237043c76 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_meta_1_a.tst | 352d3f83fc4605ea8d90e311f5d91f6975f22529 | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 7,708 | tst | test_meta_1_a.tst | storage_init ciyam
session_variable @attached_file_path .
pc guest 20120102 100 105100 guest_model "105101=Sample,300500=guests,105102=0.1,105103=2012,105104=M001,105112=0,105118=0"
guest_model
pf 100 105100 guest_model "105101,105102,105103,105104,105105,105106,105107,105108,105109,105110,105111,105112,105113,105114,1... |
26729e04fa727ff553afaa03c26f372a929a441a | 1232196a72221f6cc0ee0a9a47111ef1188dafe9 | /xcos_blocks/hh_neuron_b_debug.sci | 8b74a3dfe7e420f982cf67f1c140a31e19a33aef | [] | no_license | sumagin/rasp30 | 06dc2ee1587a4eaf3cf5fb992375b8589617f882 | a11dcffaed22dbac1f93c2f4798a48c7b0b1f795 | refs/heads/master | 2021-01-24T23:51:54.459864 | 2016-07-08T22:03:43 | 2016-07-08T22:03:43 | 16,685,217 | 2 | 3 | null | 2015-07-23T15:28:49 | 2014-02-10T05:17:38 | C | UTF-8 | Scilab | false | false | 2,005 | sci | hh_neuron_b_debug.sci | function [x,y,typ]=hh_neuron_b_debug(job,arg1,arg2)
// Copyright INRIA
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' then... |
0b0d38a91c24f97e1ab041cdaffd8d57790d43c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH2/EX2.12/ex12.sce | f82be8d3a2123a4a5f6989267410215ee44fa783 | [] | 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 | 347 | sce | ex12.sce | //example 12
//heating effect of a fan
clear
clc
t1=25 //initial temperature of room in C
p=200 //power consumption of fan in watts
a=30 //exposed surface area in m^2
u=6 //in w/m^2
t2=p/(u*a)+t1 //final temp. of room in C
printf("\n Hence, the indoor air temperature when steady operating conditions are establ... |
04ef7213532c03f4cca2586b5c161280d77f1ca0 | b0aff14da16e18ea29381d0bd02eede1aafc8df1 | /mtlbSci/macros/moc_fliplr.sci | 7848650ab95de95a97f82b579738485a051f6a08 | [] | no_license | josuemoraisgh/mtlbSci | 5d762671876bced45960a774f7192b41124a13ed | 5c813ed940cccf774ccd52c9a69f88ba39f22deb | refs/heads/main | 2023-07-15T23:47:11.843101 | 2021-08-26T17:52:57 | 2021-08-26T17:52:57 | 385,216,432 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 694 | sci | moc_fliplr.sci | function y = moc_fliplr(x)
//Return a copy of X with the order of the columns reversed.
//Calling Sequence
//y = moc_fliplr(x)
//Description
// Return a copy of X with the order of the columns reversed. In
// other words, X is flipped left-to-right about a vertical axis. For
// Note that 'fliplr' only wor... |
15d6ee25ae7ad359b8543b417c8c59ac0d3e8922 | 542cf0bb990e80712856b7ab778624c29538a49d | /radioDiags/Filters/Int16/decimateHalfBand1.sci | f6e117ce378de39ceaea0ea44c578949ca2d755e | [] | no_license | wizardyesterday/RtlSdrDiags | e77cf60506deefa91d7b2fa9565bd7575ec5a6e2 | 19d3b1c2546b37738d8e1c2f175b9a6e59415871 | refs/heads/master | 2023-08-16T10:28:37.161708 | 2023-08-13T18:45:16 | 2023-08-13T18:45:16 | 219,863,229 | 21 | 1 | null | 2023-08-03T21:17:02 | 2019-11-05T22:32:53 | C++ | UTF-8 | Scilab | false | false | 5,852 | sci | decimateHalfBand1.sci | //******************************************************************
// This program generates the required filter coefficients so that
// an input signal, that is sampled at 2048000 S/s can be decimated
// to 1024000 S/s. We want to limit the bandwidth of the aliasing
// filter to 27200 Hz. The filter coefficients a... |
e8c25dce8156d5f7fce0ddfd383c1e6acfd06b8b | be72b348d2bbd0cd916ee42daf3151ca8d3d6fc5 | /Fourier-Transform-in-Image-Formation/roof.sce | 3734f74ca601c7b250f62ca54836c363746f87f3 | [] | no_license | albertyumol/Image-Processing-on-Scilab | f9b859b35cd4279abaa79aef65598425a7ef37c9 | 33032c819026222dc75b8364b81012986a5e46ab | refs/heads/master | 2020-04-26T15:40:55.463187 | 2019-12-06T16:25:15 | 2019-12-06T16:25:15 | 173,654,065 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | roof.sce | //Corrugated Roof
nx = 128; ny = 128;
x = linspace(-1,1,nx);
y = linspace(-1,1,ny);
[X,Y] = ndgrid(x,y);
A = sin(Y*10*%pi);
f = scf();
grayplot(x,y,A);
imwrite(A,'C:\Users\csrc-lab03\Desktop\Activity5\roof.jpg');
f.color_map = graycolormap(32);
|
46c5a4caf5bbc5418373fa599a8d23c9f26f8ee9 | e7e6e1633d484336268da303fbf34c87214e5669 | /Assignment3/assignment3.sce | fd7f333283bb092a760692e64014cd8ee253932d | [] | no_license | TarunGuptaJ/Scilab_Assignment | e65bbc6abaa4535b2faf13fbccad7b3d08c8f338 | 00b95c5970a7c13d32b83255f211f3041f8650a3 | refs/heads/master | 2020-12-28T09:12:15.189754 | 2020-04-18T11:12:39 | 2020-04-18T11:12:39 | 238,260,976 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | assignment3.sce | //Made the implementation a function so that it can take any input
function Best_Fit(A,b)
x=(A'*A)\ (A'*b);
disp (x, 'x=');
C=x(1,1);
D=x(2,1);
disp(C,"C =");
disp(D,"D =");
endfunction
//A=[1 -1;1 1;1 2];
A = x_matrix("Enter matrix A:",zeros(3,2));
disp(A, 'A=');
//b=[1;1;3];
b = x_matrix("E... |
1d47c8025e7e76c68fe3c39cfd78c5c43f279e31 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_And_Circuits__J._Paul_2045.zip/Electronic_Devices_And_Circuits__J._Paul_2045/CH3/EX3.3/Ex3_3.sce | 66fdc676c4024cd42af46be4c277269f1632ce3e | [] | 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 | 220 | sce | Ex3_3.sce | errcatch(-1,"stop");mode(2);//example 3 pagenumber 139
v=4.3;//volt
q=4;//volt
dop=10^17;//per cubic centimetre
fi0=0.254*log(dop/(5.1*10^10));
fi01=0.407+q+0.55;
disp('fi0 = '+string(fi01));
exit();
|
c3100cf54d00784c2c6dee222c11a3edcacbde0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH14/EX14.2/14_2.sce | d32f2d3e23a28a304b7a0dca0f8e1de8b5016305 | [] | 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 | 580 | sce | 14_2.sce | clc
clear
//initialisation of variables
Load= 50000 //N
torque= 1200 //Nm
d= 60//mm
t= 1.5 //mm
alpha= 60 //degrees
//CALCULATIONS
BM= Load*t
axialLoad= (Load*4)/(%pi*d^2)
bendingmoment= (BM*d*64)/(%pi*d^4*2)
Ts= axialLoad+bendingmoment
shearstress= (torque*10^3*d*32)/(2*%pi*d^4)
sigman= -Ts*(cosd(alpha-30))^2+shearst... |
6c1dc9ba35abee9b19e106ea2136bd95db9b6d9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /38/CH11/EX11.2/2.sce | a40c8912c22722ae005f0723a461273af55e5d4c | [] | 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 | 282 | sce | 2.sce | // Caption: Finding efficiency at rated voltage and frequency with starting winding open
clear;
close;
clc;
s=0.05;
//rotor speed
speed=(1-s)*1800;//in r/min
//torque
T=147/179;// in N.m
//Efficiency
op=244;//output
ip=147;//input
eff=ip/op;
disp(eff,'Efficiency=')
|
587daa3a2e54802fc398aa8f004b5ceabedf95c0 | bc0cc3311298e69d5931f0eb5f32c708df32857a | /Test/output/2.tst | 39d5806ad9c1ef0ac89ec40cfa2a4a434fea8210 | [] | no_license | Misho13/Min-DNF | 695096b79d795b70243208036668012b5eb05793 | bdf648d77a26eb6e277ecd583a6bb26bb9004f55 | refs/heads/master | 2021-05-12T16:19:05.027543 | 2018-05-30T21:07:01 | 2018-05-30T21:07:01 | 117,011,414 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 12 | tst | 2.tst | !x0!x1 U x2
|
592a9824d45c42bc2a8ba1b9472289962aa6790b | 49148682b78b6520a61de9a700f791835e1b32d5 | /Gachan/GachanGame/GachanGameObject/GachanGameObjectAncientCubeFiles/GachanGameObjectAncientCube.tst | e912acc13676b8037cb2451aa4cfc0c7ea8870b0 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Ashitagachan/Gachan | 535a19ea05bfcb3207a0a106b1d62db48a143f16 | 63b5410e128628222447c837a7209162487aa246 | refs/heads/master | 2021-08-07T21:53:13.048753 | 2020-05-16T08:01:10 | 2020-05-16T08:01:10 | 178,514,045 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14,930 | tst | GachanGameObjectAncientCube.tst | //skipped groundPlane_transform
//skipped Manipulator1
//skipped UniversalManip
//skipped CubeCompass
/////////////////////////////////////////////
// object_directionalLight1__
/////////////////////////////////////////////
#if 0
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
2.06514, 0, 0, 1
#endif
DX3D... |
c7c50ea4bf1dcde16f9a5bbfa1471aa7c9f2edc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH6/EX6.3/example6_3.sce | d4cb52bf2679fdeb3cb80d9a5c22c0e58e1f396c | [] | 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,272 | sce | example6_3.sce |
//example 6.3
//calculate storage capacity of reservior
clc;funcprot(0);
//given
V=475; //flow required to be maintained throughout the year
Y=V*365*8.64; //yearly demand
//yearly demand gives the slope of demand curve
t=[0:1:36]; //number of season startin from 1960;each year is div... |
d5c42402112d0198301290b3f56622f445f33457 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH6/EX6.1/ex6_1.sce | a1d962f744ba343a3c29f361febe42b7333c4c50 | [] | 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 | 59 | sce | ex6_1.sce | //ex6.1
disp('graph question, cannot be solved in scilab') |
29c57f6909409daa9631fce4d35602ac18a0250a | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH8/EX8.6c/eg8_6c.sce | 45d4068d56091a806ffe70f684aaec13c9993d11 | [] | 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 | 220 | sce | eg8_6c.sce | samplesize = 500;
p =0.04;
defective=16;
prob1 = cdfbin("PQ", defective, samplesize, p, 1-p)
prob2 = 1- cdfbin("PQ", defective-1, samplesize, p, 1-p);
pvalue = 2*min([prob1 prob2]);
disp(pvalue, "The pvalue is")
|
a8211b319288f8232a7e54e95915ecaed9a3aa3e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2231/CH4/EX4.17/Ex_4_17.sce | 1aa84a0ca37de62dfb240624bf3612494116cb48 | [] | 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 | 725 | sce | Ex_4_17.sce | ////Example 4_17
clc;
clear;close;
//Given data:
V=200;//V
R=2;//ohm
L=10/1000;//H
E=20;//V
T=1000/10^6;//s
Ton=300/10^6;//s
//Solution :
f=1/T;//Hz
alfa_min=1/(R*T/L)*log(1+E/V*(exp(R*T/L)-1));//duty cycle
alfa=Ton/T;//duty cycle
disp(alfa_min,"Minimum value required of alfa");
disp(alfa,"Actual va... |
4ca7ac9fdac28c905ba15633f657e3c936757ef5 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_ods_5_e.tst | d01e66310c5623e01b138f70599301433234740d | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 8,592 | tst | test_ods_5_e.tst | ** File Info
Version: 1.0
Num Logs = 1
Num Trans = 0
Num Writers = 0
Total Entries = 6
Tranlog Offset = 1051
Transaction Id = 5
Index Free List = n/a
Total Size of Data = 203
Data Transformation Id = 4
Index Transformation Id = 17
** Entry Info for: all
num: 0000000000000000 pos: 0000000000000051 len... |
1a2644d832585a5c7f0bcfa78d11637c2949e202 | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/GAssist-Interval-C/results/GAssist-Intervalar-C.thyroid-10-1tra/result6s0.tst | 9c27917b8671305561b61326c5fdf1332a51c37e | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,908 | tst | result6s0.tst | @relation thyroid
@attribute Age real[0.01,0.97]
@attribute Sex integer[0,1]
@attribute On_thyroxine integer[0,1]
@attribute Query_on_thyroxine integer[0,1]
@attribute On_antithyroid_medication integer[0,1]
@attribute Sick integer[0,1]
@attribute Pregnant integer[0,1]
@attribute Thyroid_surgery integer[0,1]
@attribute ... |
7ecf465e70b20361118ea90ffc8d4a0e86789158 | 7c4e0931bb85459599a2fde1bc9b9b0fdab7fb67 | /peak_detect.sci | 4fe9801154240c45637f797613dc7f9419e97a9e | [] | no_license | jendralhxr/directional_fft | 8182b731666d2cdd94ec244aea20160bc9e6f1ef | 37861c23da94c95a39b712983e34900a2231b154 | refs/heads/master | 2020-04-18T02:01:30.600285 | 2019-05-28T03:53:41 | 2019-05-28T03:53:41 | 167,143,446 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,380 | sci | peak_detect.sci | function peaks=peak_detect(signal,threshold)
// This function detect the peaks of a signal :
// --------------------------------------------
// For an input row vector "signal" , the function return
// the position of the peaks of the signal.
//
// The ouput "peaks" is a row vector (size = number of peaks),
// "peak... |
d83151035a5afb46cee46bd68c447da0638ac997 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH9/EX9.4/Ex9_4.sce | 906276247aecf117cef2dfa151941542ad18222b | [] | 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,339 | sce | Ex9_4.sce |
// Theory and Problems of Thermodynamics
// Chapter 9
// Air_water Vapor Mixtures
// Example 4
clear ;clc;
//Given data
V = 5 // volume of tank in m^3
X1 = 0.3 // volume fraction of Hydrogen
X2 = 0.3 // volume fraction of Argon
X3 = 0.4 // volum... |
b3092d4279a5b2efdc5f21a56d798425f791baaf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH5/EX5.7/Ex5_7.sce | 57cf234f927084259c54e519c2901c3804225aca | [] | 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 | 513 | sce | Ex5_7.sce | clear
//
//
//
//Variable declaration
n=1.55 //Core refractive index
L=10 //length(m)
delta=0.026 //relative refractive index difference
C=3*10**5
//Calculation
deltaT=L*n*delta/C //total dispersion(s)
blp=L/(2*deltaT) //bandwidth length product(Hz km)
//Result
printf("\n... |
3def520474290bd70dcd30b795658ca046377adb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH14/EX14.6/Ex14_6.sce | 7e971e4b6d9f6f5ad34b249a30e64517315569fa | [] | 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 | 530 | sce | Ex14_6.sce | clear;
clc;
disp(' Example 14.6');
// aim : To determine
// the power required to drive the blower
// given values
m_dot = 1;// air capacity, [kg/s]
rp = 2;// pressure ratio
P1 = 1*10^5;// intake pressure, [N/m^2]
T1 = 273+70;// intake temperature, [K]
R = .29;// gas constant, [kJ/kg k]
// solution
... |
afdf13a762060859b5a32056df298148867a072d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH6/EX6.4/Ex6_4.sce | 433d8a7a5df23a5f3c9c396cc159e4cfda9fba86 | [] | 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 | Ex6_4.sce | clear
//Given
a=10
b=5.0
c=9.0
d=19.0
//Calculation
I2=(a-c)/((b*a)-(d*c))
I1=(1-(5*I2))/c
I=I1+I2
pd=I*10
//Result
printf("\n Current through each cell is %0.2f A",I)
printf("\n Potential difference across 10 ohm wire is %0.3f V",pd)
|
1dd691c4f58506e94ce1710becef38337d9d5131 | 449d555969bfd7befe906877abab098c6e63a0e8 | /539/CH9/EX9.3.a/Example_9_3a.sce | bce434165b08a4d29a85ec7260bd1aa3521ced7f | [] | 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 | 309 | sce | Example_9_3a.sce | //Determination of Phases Present
clear;
clc;
printf("\tExample 9.3\n");
printf("\n\tPart A");
C1=40; // Overall alloy composition
Cb=98;
Ca=10;
Wa=(Cb-C1)/(Cb-Ca);
Wb=(C1-Ca)/(Cb-Ca);
printf("\nMass fractions for alpha and beta phases are : %.2f and %.2f respectively\n",Wa,Wb);
//End |
a0d5edbd779a834b5adb34cfe6bfd6d783c7a223 | afcf746e249b9463101019f07a47845355c6acc2 | /starter_files/hw2/And8Way.tst | 6c7481d136047b4dfd84d58e0d4e14bcb824f267 | [] | no_license | jyuan2pace/CS506 | afca44ee8df14436d72de97e658a61841091e651 | fa80d2786f006c226c6e6413ee23fe306d6c57d0 | refs/heads/master | 2020-07-28T13:04:37.077116 | 2019-11-24T20:15:20 | 2019-11-24T20:15:20 | 209,419,478 | 8 | 11 | null | null | null | null | UTF-8 | Scilab | false | false | 471 | tst | And8Way.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/01/Or8Way.tst
load And8Way.hdl,
output-file And8Way.out,
compare-to And8Way.cmp,
output-list in%B2.8.2 out%B2.1.2;
set in %B00000000,
eval,
output;
... |
177b1a7e488b1b245b7a3cb3475e424ca7512996 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.98/EX2_98.sce | 8d2d6832efc7280dc7b793ffc02ba4f1ac0e8115 | [] | 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 | 203 | sce | EX2_98.sce | //example-2.98 pg no-141
L1=37.5*10^-3;
M=63.75*10^-3;
K=0.85;
N1=250;
L2=((M/K)^2)/L1;
N2=250/((L1/L2)^0.5);
disp('i) L2 = '+string (L2)+' ');
disp('i) N2 = '+string (N2)+' ');
|
62683f67dedf41f8de21c6f04c5a22d3b1888493 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3876/CH13/EX13.14/Ex13_14.sce | 1256c353df00f867e8bef67be4898bf46c71659d | [] | 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 | 322 | sce | Ex13_14.sce | //Chapter 13 Thermodynamics Entropy and Free Energy
clc;
clear;
//Initialisation of Variables
T= 25 //C
F= 1160 //cal
P= 0.1 //atm
P1= 1 //atm
R= 2 //cal/mole K
//CALCULATIONS
F1= F+R*(273+T)*log(P/P1**2)
F2= F+R*(273+T)*log(P1/P**2)
//RESULTS
mprintf("Value of F = %.0f cal",F1)
mprintf("\nValue of F = %.0f cal",F2... |
33523b27417e71914af7fbf2979aabb830c8e3e9 | cda6eccbae64d9ff794abcc196579fa9c4e702a2 | /CN - Interpolacao Newton.sce | cbfc62f7eeab5ca018d54de1de4b425566fcc4d3 | [] | no_license | maurochiozzi/metodos-numericos | 95041be3fe4314c84ecde20b642888f28283ba9b | 4e8aa880126dd3190ae4116780cab3bdaccc8efc | refs/heads/master | 2020-03-23T04:09:42.069754 | 2018-07-16T00:25:11 | 2018-07-16T00:25:11 | 141,067,870 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 586 | sce | CN - Interpolacao Newton.sce | // Interpolação de Newton -----------------------------------------------------
function tabelaDiffDiv = tDD(x, y)
dimensao = length(x)
tabela = zeros(dimensao, dimensao)
tabela( : , 1) = y'
diffDiv(tabela, x, 1, dimensao)
tabelaDiffDiv = tabela
endfunction
function tabela = diffDiv(tabela, x, linha, coluna)
if ... |
d26c27cbb083d35be5b425e0e5b52fbf44778500 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH20/EX20.3/example20_3.sce | ff5795827b3e23764f0619ef3fc0bd81a4530216 | [] | 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 | example20_3.sce | clc
// Given that
V = 25e3 // voltage in V
// Sample Problem 3 on page no. 20.8
printf("\n # PROBLEM 3 # \n")
printf("Standard formula used \n ")
printf("Lambda_min = 12400/V \n")
lambda_min = 12400 / V
printf("\n Minimum wavelength of x-ray is %f Angstrom.",lambda_min)
|
4f670c2681f6f8e24130c2e37c5e899a8093d90e | 9733f939913e963ec556f5f89248dacb75801a8d | /scilab/divbzeroconstruction2.sci | 77664221f526060d3df2695eeba351ab6cb8a748 | [] | 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 | 1,186 | sci | divbzeroconstruction2.sci |
exec('../vtk/vacscalar2vtk3d.sce',-1)
m=.05; //m=%pi.*a.^2.*I/c ring current I radius a
len=0.1;
b0=1.0; //1kG
bz0=15/1000; //G
wid=1.1;
shift=0.0;
Z0=3.1
x=0.1:0.1:2.0;
y=0.1:0.1:3.0;
z=0.1:0.1:2;
[X1,Y1]=meshgrid(x-shift,z);
[X2,Y2]=meshgrid(x+shift,z);
X2=0.5*X2;
Y2=Z0-1.*Y2;
g=(-exp(-Y2)-Y2);
//R=sqrt(X2.^2... |
bc7e570d460eaaab39b38ae51a9a04af2d6d800e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH4/EX4.25/Ch04Ex25.sce | 645e56193139dd7cf3ea9d0baf33b35ce606cc19 | [] | 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 | 728 | sce | Ch04Ex25.sce | // Scilab Code Ex4.25:: Page-4.36 (2009)
clc; clear;
m = 80; // Mass of sugar in the solution, g
theta = 9.9; // Angle of rotation of the plane of polarization, degrees
l = 20; // Length of the tube, cm
S_pure = 66; // Specific rotation of pure sugar solution, degrees per dm per (g/cc)
c ... |
29e853e4012a9bb052e9c26a8e07092dcb001209 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3526/CH10/EX10.6/EX10_6.sce | 1b6ab86f5e55924267b4aac419ae6d74edc3df46 | [] | 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 | 918 | sce | EX10_6.sce | clc;funcprot(0)//EXAMPLE 10.6
//page 293
//INITIALISATION OF VARIABLES
c1=2;..........//NO.of independent Chemical components at 1300 celsius
p1=1;........//No.of phases at 1300 celsius
c2=2;........//NO.of independent Chemical components at 1250 celsius
p2=2;.........//No.of phases at 1250 celsius
c3=2;........... |
182fc43c23917f88fea883df69bf0a79d3d72c86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH12/EX12.2/Example12_2.sce | 22db03debeb7af56631c123f0b25afabdcff8fbc | [] | 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 | 262 | sce | Example12_2.sce | //Example 12.2
clear;
clc;
n=10;
Vfsr=10.24;
StoNDsumdB=56;
Eq=Vfsr/((2^n)*sqrt(12));
SNRdB=(6.02*n)+1.76;
ENOB=(StoNDsumdB-1.76)/6.02;
printf("Eq=%.2f mV",Eq*10^3);
printf("\nSNR(max)=%.2f dB",SNRdB);
printf("\nENOB=%.2f",ENOB); |
c6c117a1119a27526bf8bbb5d136ffbf9c751ee7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH18/EX18.1/Ex18_1.sce | b3c144cf2b36fafc4ab824c1f00cf3723e14a585 | [] | 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 | 356 | sce | Ex18_1.sce | //chapter18
//example18.1
//page396
L=1.25d-3 // H
C=250d-12 // F
R=10 // ohm
fr=(((1/(L*C))-(R^2/L^2))^0.5)/(2*%pi)
Zr=L/(C*R)
Q=2*%pi*fr*L/R
printf("resonant frequency of circuit = %.3f Hz or %.3f kHz \n",fr,fr/1000)
printf("impedence of circuit at resonance = %.3f ohm or %.3f kilo ohm \n",Zr,Zr/1000)
printf("quali... |
54e02d4b976fd0d04a4412238fc8226543861c82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH3/EX3.7.6/Ex3_6.sce | 54e34d33f8bda4af5b773156190ecd5831724ce3 | [] | 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 | 551 | sce | Ex3_6.sce | // Example 6// Ch 3
clc;
clear;
close;
// given data
z1=-1;//ion at a distance equal to mean free path, -x=mfp
z2=-5;//ion at a distance equal to five times the mean free path, -x=5mfp
//n0 is the density of ions at the origin
n1 = exp(z1);//density of ions at distance equal to the mean free path
n2 = exp(z2);... |
35e0c6073d659aac32572aa412e638623f68125c | 42ff06ff3eb61e8d3d1673dd014ab8ef8843c533 | /scripts/app.module_template.tst | cb554893b4c29f916412c1ca27a0b951e3245c9c | [
"MIT"
] | permissive | mckee-solutions/website | 60082b0ab8cfdc01fbf5a5075b7a752e80970a4d | b9656de27c561ced1e5c2da53740e8a4253b1e11 | refs/heads/master | 2023-01-20T04:36:07.346690 | 2020-01-11T03:12:15 | 2020-01-11T03:12:15 | 169,546,014 | 0 | 0 | MIT | 2023-01-07T03:02:24 | 2019-02-07T09:17:39 | TypeScript | UTF-8 | Scilab | false | false | 1,023 | tst | app.module_template.tst | import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { library } from '@fortawesome/fontawesome-svg-core';
import { faBars } from '@fortawesome/free-solid-svg-icons';
import { AppRoutingModule } ... |
9407483f22b577dcaf3844fd058270dff14d41fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH2/EX2.10/ex2_10.sce | 00d325a5e89de8323594a2bd351e771a1b914334 | [] | 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,432 | sce | ex2_10.sce | // Exa 2.10
clc;
clear;
close;
format('v',6)
// Given data
bita = 75;
V_CC = 9;// in V
V_CEsat = 0.2;// in V
V_BEsat = 0.8;// in V
R_C = 2;// in k ohm
R_C = R_C * 10^3;// in ohm
R_E = 1;// in k ohm
R_E = R_E * 10^3;// in ohm
R_B = 50;// in k ohm
R_B = R_B * 10^3;// in ohm
I_Csat= poly(0,'I_Cs')
// Part... |
a864d225a39e6137db522c5fea747711232a67c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1379/CH9/EX9.1.5/example9_5.sce | 7b3009a8abc13855ad91610faa7d6c5972eadc93 | [] | 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 | 744 | sce | example9_5.sce |
//exapple 9.2
clc; funcprot(0);
// Initialization of Variable
pi=3.1428;
rho=825;
mu=1.21;
g=9.81;
l=0.02;
de=0.02;//dia exterior
di=0.012;//dia interior
//calculation
//part 1
zi=pi*(6*(pi*de^2/4-pi*di^2/4)*l/pi)^(2/3)/(pi*l*(di+de)+2*pi*(de^2/4-di^2/4));
disp(zi, "sphericity of Raschig ring is:");
... |
91ba5af42c5a0b0a776a62ab61c70a9fcc97cfb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH11/EX11.6/Ex11_6.sce | 04b51eb913d9fcff746eb4e01749e02dc182d1c8 | [] | 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 | 746 | sce | Ex11_6.sce | // Example 11_6
clc;funcprot(0);
// Given data
T=25;// °C
T_dp=10;// The dew point temperature in °C
P=100;// kPa
V=150;// m^3
P_g=3.169;// kPa
M_v=18;// kg/k.mol
M_a=28.97;// kg/k.mol
R_a=0.287;// kJ/kg.K
// Calculation
// (a)
P_v=1.228;// kPa
P_a=P-P_v;// The partial pressure of air in kPa
w_1=0.622*... |
f32eabef56d36a511cf47396ac293633ebcf8720 | fd6e45f66c41ad779a3d47c3bf8ebfa140d3d657 | /P3 - Non-linear equations /Ejercicio 1.sci | 2b731ba1c2053eb5758002d4a6552bf8d8e74425 | [] | no_license | jere1882/Numerical-Analysis-Assignments | 7f474e2020d010f9f9c3dceff5e48c03b0d38652 | 1074f92ca93d0a402259f92a0f61f105f25e5230 | refs/heads/master | 2021-09-06T20:00:36.411386 | 2018-02-10T18:04:38 | 2018-02-10T18:04:38 | 121,039,769 | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 844 | sci | Ejercicio 1.sci |
// EJERCICIO 1 Determine gráficamente valores aproximados de las primeras tres raíces positivas de f(x)=cos(x)cosh(x)+1
deff ('y = f(x)', 'y = cos(x).* cosh(x)+1');
x=0:.01:15; // el 15 sale de ir probando a ver donde estan las raíces.
a=gca(); ... |
90afcbf3c54424f614a27ed8623a7395a5d68552 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH5/EX5.14/5_14.sce | 9aa16254c00fe185d933f95420926dbd5b16a023 | [] | 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 | 302 | sce | 5_14.sce | // To determine the ratio of weights of copper
clc;
clear;
n=3; //transformation ratio
// Ratio of weights of copper in an ato transformer and a two winding transformer
roc=(1-(1/n));
printf('Ratio of weights of copper in an ato transformer and a two winding transformer = %f \n',roc)
|
3eff083e42d0a7d7b2a94894a40f7caa3ba5827f | 9cd37a2b01b865c0bc7e2e6c246bf78efa5cd9cd | /examples/savedata.sci | 281d2b4e1e8e7cb6803902defc3a48defc470163 | [] | no_license | kenreurisontm/latex-examples | d125ab0422f8e4c7fdd3cee8580c34b2c734b2fb | f93c5361a04fd62b432e61f386be4367cc26a082 | refs/heads/master | 2020-12-30T19:57:40.550479 | 2016-05-15T13:47:16 | 2016-05-15T13:47:16 | 58,808,371 | 0 | 0 | null | 2016-05-14T13:08:36 | 2016-05-14T13:08:36 | null | UTF-8 | Scilab | false | false | 222 | sci | savedata.sci | function [] = savedata(filename, x, y)
fd = mopen(filename,'wt');
for i=1:length(x)
for j=1:length(y)
mfprintf(fd, "%f\t%f\n", x(i), y(j))
end
end
mclose(fd);
endfunction
|
609cd48598063187b2bbb221e6358e62f397cd8d | 584105ff5b87869494a42f632079668e4c3f82de | /TestCases/calib3d/composeRT/test2.sce~ | 8b322e86d4f4754e275d88e32f572af5d5eaeff5 | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | test2.sce~ | TransVec1 = [4 2 3];
RotVec1 = [2.3 4.5 7.8];
RotVec2 = [ 2.1 4 5];
TransVec2 = [2 3 1];
[RotVec3 TransVec3] = composeRT(RotVec1,TransVec1,RotVec2,TransVec2);
//output->
//!--error 999
//Only column vector is allowed. Make sure that the inputs are column vectors.
| |
40ae2bd7cebffd5cb509d5098285b3e6272638c4 | 3592fbcb99d08024f46089ba28a6123aeb81ff3c | /testLinkVdotx.sce | e75b9d4601e87f97b89589a6395d77b2bb01e6a6 | [] | no_license | clairedune/sciGaitanLib | a29ab61206b726c6f0ac36785ea556adc9ef03b9 | 7498b0d707a24c170fc390f7413359ad1bfefe9f | refs/heads/master | 2020-12-11T01:51:13.640472 | 2015-01-28T13:52:26 | 2015-01-28T13:52:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,608 | sce | testLinkVdotx.sce | //---------------------------//
// Compute a cost function over a time horizon
// With a free 3d camera
// December 11
// Dune
// Note :
//
// On etudie le lien entre dx/dt et v=(v, w)
//---------------------------//
clear
getd("src/transformation")
//posecMo_m = [0 0 1 0.3 0.2 0.1 ];
//cMo_m = ... |
1dcc39154de01cdc8fb9965a29a1ab809883d7d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.3.a/ex_1_3_a.sce | c075b11e126f5e9a727ff0cf44cb004b3e74d94c | [] | 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 | 208 | sce | ex_1_3_a.sce |
// Example 1.3.a : absolute error and correction
clc, clear
// given :
vm=2.65; // in volts
vt=2.70; // in volts
Es=vm-vt;
Cs=-Es;
disp(Es,"absolute error,Es = (V)")
disp(Cs,"correction,Cs = (V)")
|
2a7f1f10a4904f831da1aa2f4060f7cd87d11336 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH5/EX5.12/Ex5_12.sce | 2ce273a7b754599c4fd2d7965fe8fd354af1d1a9 | [] | 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 | Ex5_12.sce | clear
//
//
//
//Variable declaration
n1=1.48 //Core refractive index
n2=1.45 //Cladding refractive index
//Calculation
NA=sqrt(n1**2-n2**2) //numerical aperture
thetamax=asin(NA)*180/%pi
thetamaxd=int(thetamax) //angle of acceptance(degrees)
thetamaxm=60*(thetamax-thetamaxd) //angle of acc... |
5efe9a3caff7ee3c6366ff343485f3da3d509be1 | b825b6ce6352251fd4adf3aafd7e526689dc0370 | /src/Visual_oddball_discrimination_duration/Presentation Files/visual_oddball_165.sce | 792280f3e095abb29aa14a462c32e97d1109e3c0 | [
"MIT"
] | permissive | CognitiveNeuroLab/Oddball_experiments | 805723beb0199d993f787202a00bece8a2ec09b5 | d1a06011caeb2cc896b99b7eb40207e9c63d6543 | refs/heads/master | 2023-07-16T08:40:29.974788 | 2021-08-20T21:01:43 | 2021-08-20T21:01:43 | 391,151,013 | 0 | 0 | MIT | 2021-07-30T17:53:14 | 2021-07-30T17:53:14 | null | UTF-8 | Scilab | false | false | 2,130 | sce | visual_oddball_165.sce | # port code 201 = start recording
# port code 200 = pause recording
# port code 25 = standard
# port code 27 = deviant
scenario = "visual_oddball_165";
no_logfile = false;
scenario_type = trials;
active_buttons = 1;
button_codes = 1;
default_background_color = 128, 128, 128;
default_text_color = 255, 255, 255;
... |
7396c096d722c5cb689b3b090d20cf2fdd5d1e3d | f73ec22855f1c67e0dd31fff77c4f02c78300cad | /home/pi/Desktop/Test Progs/TEST.TST | a8b296db27e2917edf0a06ca08258517461aab3f | [] | no_license | silverfox0786/Arcade-Tester-AR81 | 61c442b29c26e98be345ff3e8bbd74b7a878c741 | ad11a45f4f1071bc03ac60cdd60dfa206412e77b | refs/heads/master | 2020-02-26T15:39:45.970905 | 2019-01-06T13:56:26 | 2019-01-06T13:56:26 | 69,001,576 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 288 | tst | TEST.TST | !M74LS08 5D 4 15Check A6 4678.33 1592.67 63
!M74LS157 5A 2 15 10.00 990.00 53
!M74LS375 3C 6 15 0.00 10000.0051
!SADDR 1200 0.00 0.00 51
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.