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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c6b770831706d74a3168a43ad80b3fffea5859a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH1/EX1.54/Ex1_54.sce | 78a174178a367aed1372100afbd4bdd4b58d1575 | [] | 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 | 970 | sce | Ex1_54.sce | //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 54
clc;
disp("CHAPTER 1");
disp("EXAMPLE 54");
//VARIABLE INITIALIZATION
v=5; //voltage source in Volts
r1=1; //LHS resistance in Ohms
r2=5; //in Ohms
r3=1; ... |
acbf7f2ad438a804fdc0aeecd63f20aac36b76d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH14/EX14.3/S_14_3.sce | f415e72491bbb0f4a2e9b4e53abd1066e310d22f | [] | 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 | 950 | sce | S_14_3.sce | clc;
m=200;//kg, mass of space vehicle
vo=150;//m/s i, relative velocty of vehicle with frame at t=0
mA=100;//kg, mass of part A
mB=60;//kg, mass of part B
mC=40;//kg, mass of part C
vA=[270,-120,160];//m/s, velocity of A
t=2.5;//s, given time
A=[555,-180,240];//m, Position of A at t=2.5
B=[255,0,-120];//m, Po... |
f7c94b11ed00b083e3b67a2cd08a7f3e26f204c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2510/CH23/EX23.7/Ex23_7.sce | cf3dec1b30be790f751f42f737cfe7023311d8aa | [] | 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 | 500 | sce | Ex23_7.sce | //Variable declaration:
ADL1 = 2 //Average daily load (MW)
R = 25/100 //Reduction in electrical load (%)
//Calculation:
L = 1-R //New load fraction
ADL2 = ADL1*L //New average daily load (MW)
AR = ADL1-ADL2 //Average... |
d6a5d78c5532c753f24be1a9c8a5c5b698acbf69 | 96cece03aa96585411c6709e747ac7fba5656722 | /graficacomplejascilab.sce | 3a4bebc0b173350223a84132f64f54fcd19d9f58 | [] | no_license | nickdpz/Ana-isis-de-Funciones-Basicas-Matlab | a830c9eaca2a3a7563ae1942be53fb835017a6ff | 2ce690720d8fbc1e96570e2988b52046500ca084 | refs/heads/master | 2021-09-06T20:14:57.361111 | 2018-02-10T23:28:15 | 2018-02-10T23:28:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 676 | sce | graficacomplejascilab.sce | clc,clear
fig=figure('Name','Autor Nicolas David Pastran');
t = 0:0.01:12;
f = exp((2*%pi*%i-0.5)*t)
p1=plot3(t, real(f),imag(f));hold on;
p2=plot3(t, zeros(t),zeros(t));
p1.LineWidth = 2;
p1.Color = 'blue';
p2.LineWidth = 2;
p2.Color = 'black';
title('$\textstyle f(t) = e^{(2 \pi -1/2)t }$','Fontsize',5,'Font... |
9881603c5d21975d8bfb7b7f8cac547054dffbe9 | 23573b967e8324d44226379d70559b8f0ea34905 | /code/intqpipopt/intqpipoptExample2.sce | c10e04996f8b904587042258c49851e680ccb8f9 | [] | no_license | FOSSEE/FOT_Examples | 91c8b8e9dc58545604b2c2af41a7e22f702b78f3 | 75947a7aa5a3955fe5a72e09f55bbdc05e3b8751 | refs/heads/master | 2020-03-22T09:00:48.306061 | 2018-07-24T04:49:25 | 2018-07-24T04:49:25 | 139,807,736 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,767 | sce | intqpipoptExample2.sce | //Reference: K. Deep et al.,"A real coded genetic algorithm for solving integer and mixed integer optimization problems", Applied Mathematics and Computation, 212, p 505-518,2009
//=====================================================================
// Copyright (C) 2018 - IIT Bombay - FOSSEE
// This file must be used... |
9102a667412f790f7a9fdbe60a8f9f293ebc1010 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH7/EX7.7/Ex7_7.sce | b769c65588f2d10e6e01d045134f7271f68479e4 | [] | 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 | 240 | sce | Ex7_7.sce | clc
I2=poly(0,'I2')//Defining I2
R2=poly(0,'R2')//Defining R2
R=poly(0,'R')//Defining R
ra=(R2-0.3*R2)/0.3//Equation drawn by neglecting stator impedance
Id=I2*sqrt(3/2)//From Copper Losses
R=2*ra
disp(R,'value of resistance = ')
|
aebc1faca42539ddb3c36c602a319fc503a7aaa8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/percent/%s_n_r.sci | 320fda58ed8cbdf2bdd75c4f61a345d4b4459b2d | [
"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 | 244 | sci | %s_n_r.sci | function [r]=%s_n_r(l1,l2)
//%s_n_r(l1,l2) <=> l1<>l2 l1 constant l2 rational
// et l2 une fraction rationnelle
//!
// Copyright INRIA
r=degree(l2('num'))==0°ree(l2('den'))==0
if r then r=coeff(l2('num'))./coeff(l2('den'))==l1,end
r=~r
|
2ffbc7ec50f8e31175ca69c16cdbb708fb2fa0f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1151/CH2/EX2.11/example11.sce | 1576d394f7398575ec276b7fd48bad429d265025 | [] | 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 | 576 | sce | example11.sce | printf("the second order control system has transfer function Q(s)/T(s)=1/(J*s^2+f*s+k)");
printf("given T(s)= 10/s");
printf("Q(s)=1/(s*(J*s^2+f*s+k)");
printf("characterstic equation of the given system is J*s^2+f*s+k =0");
printf("compare it with the standard second order characterstic equation s^2+2*d*w*s+w^2=... |
a7c5acbd565e14736cb752fa053192a09e3dc802 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3665/CH11/EX11.5/Ex11_5.sce | 7ce3e122a350c510b96ebb7fa722685a01a7b6ef | [] | 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 | 317 | sce | Ex11_5.sce | clc//
//
//
//Variable declaration
r=5*10^-2 //radius(m)
I=500*10^-3; //current(A)
//Calculation
A=2*%pi*r^2;
mew_m=I*A; //magnetic moment(Am^2)
//Result
printf("\n magnetic moment is %0.3f *10^-3 Am^2",mew_m*10^3)
printf("\n answer given in the book varies due to rounding off errors")
|
cb616fae28fedb9686ba4b269214240b281dc512 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH1/EX1.26/Example1_26.sce | ac6c767db6174cb6661061f464f8bdddb543f9b9 | [] | 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,820 | sce | Example1_26.sce | //Example 1.26
clc
disp("Step 1: Identify topology")
disp("The feedback voltage is applied across the resistance R_e1 and it is in series with input signal. Hence feedback is voltage series feedback")
disp("")
disp("Step 2 and Step 3: Find input and output circuit")
disp("To find input circuit, set Vo = 0, which ... |
b060628dec447936441cec011ea8da54a3c60a5d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1/tests/rtitr.tst | c8969c4a151079eebfd58810048fcf9e208cabf2 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"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 | 1,962 | tst | rtitr.tst | //test de la fonction rtitr
eps=100*%eps;
//
//siso
//----
//
//causal
//n1 scalaire
n1=1;d1=poly([1 1],'s','c'); // yj=y(j-1)+u(j-1)
r1=[0 1 0 1 0 1 0 1 0 1 0];
r=rtitr(n1,d1,ones(1,10));if norm(r1-r)>eps then pause,end
//redemarrage a chaud
r=rtitr(n1,d1,ones(1,9),1,0);if norm(r1(2:11)-r)>eps then pause,end
//n... |
fb7b95b5c5d25ec0cb34b9203c6db219cc2fc25d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH2/EX2.9.8/Ex2_9_8.sce | 84a6d5fb96ca653ac72fba1dc1c2fe1eae061680 | [] | 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 | 500 | sce | Ex2_9_8.sce | //Ex 2.9.8
clc;clear;close;
format('v',8);
//Given :
Vs=10;//V
disp("Case(i) : Vb=9.8V");
Vb=9.8;//V
//D1 forward & D2 reverse biased: Breakdown D2
VD2=Vb;//V
VD1=Vs-Vb;//V
disp(VD1,"VD1(V) : ");
disp(VD2,"VD2(V) : ");
disp("Case(ii) : Vb=10.2V");
Vb=10.2;//V
//D1 forward & D2 reverse biased: none will... |
c2002402d2ef8408b58dc5d7ebe375d09254829e | 67a55a3ce27f3b074becff1487807e97611a0db3 | /migraphx_driver/glue/CoLA.tst | 5e11dac6abd9ae72ab8f0bc2afa3ffc912253291 | [] | no_license | mvermeulen/migraphx_sample | 083425ea5de80bd5fa6ecb84a3a7dc8423ce3872 | ea1f7bb3298ee74800bf2baecd16e0de05cc0e1c | refs/heads/master | 2020-05-05T00:56:04.103853 | 2020-03-11T15:45:29 | 2020-03-11T15:45:29 | 179,588,065 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 53,331 | tst | CoLA.tst | 1 1109,12428,8335,1103,10647,2330,1104,1103,5753,119
1 1109,17981,1189,1103,8090,7461,1166,1103,3373,2254,119
1 1109,6676,13559,192,17305,8384,2111,5768,119
1 1409,1128,1125,8527,1167,117,1128,1156,1328,1750,119
0 1249,1128,3940,1103,1211,117,1128,1328,1103,1655,119
0 1109,1167,1128,1156,1328,117,1103,1750,1128,11... |
5759a23bfe4c973f593cbe8611d45cd235a60016 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH15/EX15.1/Ex15_1.sce | edcb3dce692a329a58a6d61931a561f0eccd7cc4 | [] | 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 | 491 | sce | Ex15_1.sce | //Chapter 15 : Dielectric Material
clear;
//Variable declaration
V=15 //potential difference
C=6*10**-6 //Capacitance
epsilon0=8.854*10**-12 //absloute permittivity
epsilonr=8 //relative permittivity
A=360*10**-4 //surface Area
//Calculations
E=(V*C)/(epsilon0... |
3ce3c51b8ce7273d2aa62431362c65d28760baa2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH5/EX5.25/Ex5_25.sce | a36e6d2b6567cc797656b4d55df0c906e0ffd26a | [] | 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 | 343 | sce | Ex5_25.sce | //Ex:5.25
clc;
clear;
close;
n1=1.55;// core refractive index
n2=1.48;// cladding refractive index
l=150;//fiber length in m
c=3*10^8;//the speed of light in m/s
dl=(n1^2-n2^2)/(2*n1);
dL=0.068;
dt=(l*n1*dL)/(c);// intermodel dispersion in s
dT=dt*10^9;// intermodel dispersion in ns
printf("The intermodel d... |
f1833b320f9f1738862025ace044e9a23a1ec20c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3434/CH10/EX10.2/Ex10_2.sce | 12f33460bb3daaae6899aa02146e6fbad442aaf1 | [] | 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 | 540 | sce | Ex10_2.sce | clc
// given data
a=2.0/2 // in m
T=8.0 // in secs
rho=1025.0 // in kg/m^3
w=2*%pi/T // angular frequency in radian/sec
g=9.8 // gravitational acceleration in m/sec^2
Lamda=2*(%pi)*g/(w**2) // in m
printf( "wavelength is %.2f m",Lamda)
v=g/w // phase velocity in m/s
printf( " \n phase velocity is %.2f m/s",... |
2a872f690fd645b5183970b99daf0ad76ef31575 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.19_2.tst | 3ce6a5a432d32ef3d1eda1eb7f78df42b11d835d | [] | 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 | 441,922 | tst | 5.19_2.tst | 19 244:1 710:1 1472:1 1488:1 1661:1 1777:1 2085:1 2376:1 2407:1 2490:1 3916:1 4075:1 4508:1 4973:1 5090:1 5440:1 5581:1 5948:2 5957:1 5994:1 6168:1 6281:1 6411:1 6959:1 7015:1 7436:1 8300:1 8345:1 8419:1 8893:1 9400:1 9468:7 9884:1 10388:1 10873:1 12866:1 12889:1 13043:1 13048:1 14596:1 14609:1 15168:1 15606:1 16308:1 ... |
6a815839aeaf3b00d4e6034c5781298ea49c88b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3293/CH3/EX3.3/Ex3_3.sce | 170e8bbb622cbb54e66aa025a4e7be142266b406 | [] | 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 | Ex3_3.sce | //page 68
//Example 3.3
clc;
clear;
close;
disp('A is an m * n matrix defined in field F');
disp('Linear transformation function from F^(n*1) into F^(m*1) is given as:');
disp('T(X) = AX');
disp('Linear transformation function from F^m into F^n is given as:');
disp('U(a) = aA');
//end
|
4b91a3a951429d08df5b17db5470ad5da76b2469 | 12817c122486397fcb765ebb74f61e7d383d8821 | /InversaCofactores.sce | 98b258d6883d9c9a3bbe451b294fb164e21790a7 | [] | no_license | jluisfgarza/NumericalMethods | d58b0d901e1f64ff0db8939106df2950bb7f1a65 | 6b74a992e6ea891191b8bab79e9c09a149fecba7 | refs/heads/master | 2021-01-10T09:50:44.828082 | 2020-04-20T11:29:30 | 2020-04-20T11:29:30 | 53,004,641 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,313 | sce | InversaCofactores.sce | clear
////////////////////////////////////////////////////////////////////
// Inversa por factores
//
// Se introduce una matriz cuadrada de la cual se imprime:
// su matriz de cofactores transpuesta, su determinante y por
// ultimo su inversa
//
// Autor:
// Juan Luis Flores A01280767
////////... |
d042eb9d2850150f3466c56ec4c3f4207d90d1cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3516/CH17/EX17.5/Ex17_5.sce | 5b5774818d45ce2891b93735a9070d1011ab4200 | [] | 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 | 3,503 | sce | Ex17_5.sce | printf("\t example 17.5 \n");
printf("\t approximate values are mentioned in the book \n");
T1=85;
T2=120;
R=0.93; // R=(L/G), for 1500 gpm
printf("\t for 120percent of design \n");
R1=1.2*R;
printf("\t R is : %.3f \n",R1);
H1=39.1; // at 87.2F
H2=H1+(R1*(T2-T1));
printf("\t H2 is : %.1f Btu \n",H2);
// The... |
839ffe6763228ce98cd065c3ec99c2567d48c225 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH1/EX1.11/exa_1_11.sce | bbfc9c88c89860fb7b5795fc135926a4e58e9117 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | exa_1_11.sce | //Exa 1.11
clc;
clear;
close
// given data
k_Al=202;// in W/mK
x_Al=0.005;// in m
del_T=80;// in degree C
R_contact=0.88*10^-4;// in m^2K/W
sigmaR=x_Al/k_Al+R_contact+x_Al/k_Al;// in m^2K/W
q=del_T/sigmaR;// in W/m^2
//Temperature drop across the rough surface
del_T=q*R_contact;//in degree C
disp(del_T,"Te... |
c6ac691e61eee721b10771a4ec21faea73a8d099 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH7/EX7.1/Ex7_1.sce | 8e2eb4286a69a647fd432fd6a9a7842c398b4892 | [] | 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 | 521 | sce | Ex7_1.sce | //example-7.1
//page no-203
//given
//outward flux of copper is
Jx=10^21 //per m^2 per sec
//concentration of copper at room temp on one side of aluminium which is 3 mm thickness
C1=2*10^13 // per m^3
dx=3*10^-3 //m
//concentration on the other side of aluminium
C2=4*10^6 // per m^3
//concentration gradie... |
c99e996537bc443a51308efb0bf79506a15dd871 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH2/EX2.5/2_5.sce | d07aeedcf62aa22d5e4860c1ccc4cbb195fe4aa3 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | 2_5.sce | clc;
//from tables;
v_a=0.1115;//m^3/kg
p_b=20;//bar
v_d=0.4743;//m^3/kg
hf=763;//kJ/kg
h=2650;//kJ/kg
h_fg=2015;//kJ/kg
x=(h-hf)/h_fg;
vg=0.1944;//m^3/kg
v_c=x*vg;
clf();
x=linspace(0.05,0.5,1000);
y=(0.09957*20)*((x)^(-1));
plot2d(x,y,style=1);
y=20;
plot(x,y)
y=10;
plot(x,y);
y=(0.4743*6)*((x)^(-1));
plot2d(x,... |
58752f1b2a2a64a9ce395355409b4a47a7e32bc0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH12/EX12.6/ex12_6.sce | 7d7de21d82f5c40947361e9d16cb04202335cc99 | [] | 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,871 | sce | ex12_6.sce | clear;
//clc();
// Example 12.6
// Page: 324
printf("Example-12.6 Page no.-324\n\n");
//***Data***//
Temp = 273.15+25;//[C]
P = 1;//[bar]
R = 8.314;//[J/(mol*K)]
// We have the reaction as
// H2 + 0.5O2 = H2O
// Using values of the Gibbs free energies of formation in the Table A.8(page 427) we have
... |
abaaeb0ab4eff9ce05580409baef8deba9b1abec | 139d4a83f28a14dc04c48d99a492bec7abcc3229 | /lab2_v8/2_reverse_matrix.sce | 4ffeac724dc530ffca121ad3fa907d70ed998a99 | [
"MIT"
] | permissive | s-kostyuk/labs_alg | 0f78d0a5df7b94f9190bc3b45a077fb3e68e74fb | 320902e94d9bfde9d7a13a427b315605929dec17 | refs/heads/master | 2021-01-10T03:54:40.483782 | 2015-12-03T22:52:39 | 2015-12-03T22:56:46 | 44,764,651 | 0 | 2 | null | 2015-12-01T15:07:01 | 2015-10-22T18:20:28 | Scilab | UTF-8 | Scilab | false | false | 149 | sce | 2_reverse_matrix.sce | clear;
exec( get_absolute_file_path('2_reverse_matrix.sce') + "support.sce", -1 );
x = inv( A ) * b;
checkSolving( A, x, b );
disp( x, "x = " );
|
198b375f20a5a4edaaa236919b9d75e80e99e228 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH6/EX6.m.10/ex_m_6_10.sce | df6d0e6e2dee3857302b57d493a6eb8215d48f89 | [] | 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 | 301 | sce | ex_m_6_10.sce | // Exa Misc. 6.10
clc;
clear;
close;
format('v',6)
// Given data
R_F = 60;// in ko hm
R1 = 20;// in k ohm
Vin1 = 2;// in V
Vin2 = 0.1;// in V
// The output voltage, by using super position theorm,
Vo = ((-R_F/R1)*Vin1) + ((1+(R_F/R1))*Vin2);// in V
disp(Vo,"The output voltage in V is");
|
30c44741494f71d26494be2bd6e9b0f0ebf3e599 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH10/EX5.10.15/Ex5_10_15.sce | d68d5df5364cfb44cd7136f50ed086edb787e9af | [] | 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 | 223 | sce | Ex5_10_15.sce | //Section-5,Example-2,Page no.-D.19
//To calculate the required temperature.
clc;
k_2=10000
k_1=5000
K=log10(k_2/k_1)
E_a=6*10^4
R=8.314
T_2=-1/(((K*2.303*R)/E_a)-(1/298))
disp(T_2,'Required temperature(K)')
|
260e2c13181a77ea9fd69bb8e0e4bf37c31edafc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH7/EX7.4/ch7_4.sce | 9ab7999e54944e7d33da110bba57a8e3c0f26681 | [] | 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 | 409 | sce | ch7_4.sce | // To determine the clearence between the conductor and water level
clear
clc;
T=2000;// working tension (kg)
w=1;
c=T/w;
h=90-30;
l=300;//span(m)
a=(l/2)-(c*h/l);
b=550;
d1=a*a/(2*c);
d2=(400^2)/(2*c);// sag at 400 metres(m)
Hm=d2-d1;//height of mid point with respect to A
Cl=30+Hm;
mprintf("the clearenc... |
1d60690237bda46b762e826f51f3c2f311589450 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH11/EX11.6/EX11_6.sce | 912f94e7fb5fb7441b7bd2464414f5011bf9b08b | [] | 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 | 928 | sce | EX11_6.sce | clc;funcprot(0);//EXAMPLE 11.6
// Initialisation of Variables
as=4.6;........................//Air supply in kg/min
p1=1.013;.......................//Atmospheric pressure in bar
t1=298;......................//Atmospheric temperature in Kelvin
C2=80;........................//Air flow velocity in m/s
Cv=0.8;.......... |
40094e1c867bcb26d06f4131cd6c7930c88b7139 | ccb8240d4b010d52c8c42e7bc3739ff50d23dbae | /OtherResources/Examples_Sept_2020/ExampleScenario/RingRoad_Sumo_With_ManyObservers.sce | 515963ff96fb0e52f6ae250cce0c8fb9fc6ceeae | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"Vim",
"BSD-3-Clause",
"Python-2.0",
"EPL-1.0",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | vim-tum/vim-platform | adc74e786d294e11391dc5e55748d1040ea96f89 | 490ed67107723f34f66f6f0083ce0c00fad3c085 | refs/heads/master | 2023-03-16T22:28:53.763652 | 2022-01-02T17:47:44 | 2022-01-02T17:47:44 | 194,869,545 | 2 | 1 | Apache-2.0 | 2023-03-07T00:40:33 | 2019-07-02T13:34:20 | JavaScript | UTF-8 | Scilab | false | false | 2,616 | sce | RingRoad_Sumo_With_ManyObservers.sce | {
"ID" : "sim42",
"RoadMap" : "",
"SimulationStart" : "1",
"SimulationEnd" : "3600",
"Inputs": [{
"Processing" : "native",
"Layer" : "micro",
"Path" : "traffic.xml"
}],
"Execution": {
"RandomSeed" : "123",
"Constraints" : "",
"Priority" : "0",
"SyncedParticipants"... |
4c17c099c7196c60d3897ae4d56788f090dd86b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH14/EX14.7/Ex14_7.sce | 270d4d325a1f076cabf8f46f78d05dbc58e9e8c2 | [] | 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 | 562 | sce | Ex14_7.sce |
clc
//initialisation of variables
k=1.4
g=32.17 //lbm-ft/sec^2
R=53.34 //ft-lbf/lbm-R
Te=0.5089*(660)//R
P=100//lbf/in^2
Pe=0.0939*(P)//lbf/in^2
A=2.0//ft/lbm
Me=2.197 //ft/lbm
P0=0.0939 //lbf/in^2
T0=0.05089 //lbf/in^2
Pe1=0.9371//lbm/in^2
Me1=0.306 //lbm/in^2
Te1=0.9816 //lbf/in^2
PE=Pe1*P//lbf/in^2
... |
bc004f9426041255227e5a6f836ffa0381a41cf2 | abdfb2db73e5240261372a514baa0c1a7bed7467 | /cudd-3.0.0/nanotrav/s27c.tst | 10d5a75cf8a3f345522dc6cb142edadc7309c5ec | [] | no_license | steefbrown/ece6740 | 21001ca156e24e23b71d6b719f11010ba4ce2a40 | cefe8dd498c7849546ece98fbd4d70b844f2bd5c | refs/heads/master | 2021-01-01T05:23:01.008122 | 2016-05-09T19:16:56 | 2016-05-09T19:16:56 | 57,227,414 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,636 | tst | s27c.tst | # Nanotrav Version #0.12, Release date 2003/12/31
# nanotrav/nanotrav -p 1 -trav -image depend -depend ./nanotrav/s27c.blif
# CUDD Version 3.0.0
**************READING IN NETWORK***************
Number of inputs: 1
**************GENERATING NETWORK BDD***************
Printing the BDD for f: ptr to the nodes, T & ... |
d8fefc7d97d0720005fe60c93116a129271fa2c7 | bacd6919260d728f4316702bbe1edf811810bede | /legacy/39.middle/console/a.sce | 4942cdd6183a7250e0fc2cd6463acfe3c34b174b | [] | no_license | vopl/sp | 332d8c2ff536fc5d8772ff2f3fbeca9b50c47641 | a4313f4d7af47cc3132d7546947d4d668c7e487e | refs/heads/master | 2020-04-16T02:09:36.036424 | 2016-10-05T18:08:30 | 2016-10-05T18:08:30 | 65,293,458 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | a.sce | stacksize('max');
tsa = read("P:\finance\spectrumSeparator\nhel.Composite\13\console\spectr",-1,3);
clf
plot(tsa(:,1), tsa(:,2),'g');
plot(tsa(:,1), tsa(:,3),'r');
|
c5a58bdd279919a660ea91da29448d770dc5226f | 6b4495c42c44bc844a98bf2f938f4e576de5efd9 | /tp/tp2/ben_aurore.sce | 4bd0d24a1dea90d3994c62f5ae034062333733fd | [] | no_license | Wanna-Get-High/TI | 089d52d342c3afebf2006c6631e5f477f008103e | 5e3000aa51635ff5bfd94269399be6dfa2e9d52c | refs/heads/master | 2021-01-10T20:36:49.267573 | 2013-04-11T12:51:13 | 2013-04-11T12:51:13 | 7,775,096 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,839 | sce | ben_aurore.sce | //TP2 : Modele simple d'objet 3D
exec("functions.sci",-1);
//cube
matriceCube = [-0.5,-0.5,0.5,0.5,0.5,0.5,-0.5,-0.5;
0.5,0.5,0.5,0.5,-0.5,-0.5,-0.5,-0.5;
-0.5,0.5,0.5,-0.5,-0.5,0.5,0.5,-0.5;
1,1,1,1,1,1,1,1];
matriceCube_seg = [1:7,1,2,3,5,8;
... |
d611d3d0a1f3ac874b0646e755178e43218c0151 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH4/EX4.14/Ex4_14.sce | ecf0c748676088310f4849e3801fdc20ff873058 | [] | 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 | 238 | sce | Ex4_14.sce | //Chapter 04:Number Theory and Cryptography
clc;
clear all;
n1=input("Number 1:")
n2=input("Number 2:")
a=n1
b=n2
while n1 ~=n2
if n1>n2 then
n1=n1-n2
else
n2=n2-n1
end
end
mprintf("GCD(%d,%d) is:%d",a,b,n1)
|
9b8b438f5a155a8fe9489768859ac6d8241684ff | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/ismaxphase/ismaxphase2.sce | 8ce6b846c149c4f643ea9f85063f7b4a0f13aa89 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | ismaxphase2.sce | //
b=[1.0000 -0.9999];
a=[1.0000 0.4500];
flag1=ismaxphase(b,a);
disp(flag1);
//output
//0
|
cac770c230a2c2c736a2895a22ea5ffe974797eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH12/EX12.8/W_8.sce | f21a1471a7af764191668ecd033b7e409d7d6d4a | [] | 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 | W_8.sce | // sum 12-8
clc;
clear;
l=300;
P=30*10^3;
T=P/(2*l);
Ta=124;
t1=T/Ta;
h1=sqrt(2)*t1;
M=P*l;
Ixx=2*100*110^2;
sigb=M/Ixx*110;
//Let the allowable bending stress is Tab
Tab=200;
t2=sigb/Tab;
h2=t2/0.707;
h2=3;
// printing data in scilab o/p window
printf("h is %0.0f mm ",h2); |
ecf3ed15a94a0291b13ea3f14286006c835d3636 | 449d555969bfd7befe906877abab098c6e63a0e8 | /125/DEPENDENCIES/conv2d2.sce | 37350bebab9b62a5f95b61ca125bd8eef0ab2764 | [] | 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 | 395 | sce | conv2d2.sce | function [y,X,H] = conv2d2(x,h)
[x1,x2] = size(x);
[h1,h2] = size(h);
X = zeros(x1+h1-1,x2+h2-1);
H = zeros(x1+h1-1,x2+h2-1);
Y = zeros(x1+h1-1,x2+h2-1);
for i = 1:x1
for j = 1:x2
X(i,j)=x(i,j);
end
end
for i =1:h1
for j = 1:h2
H(i,j)=h(i,j);
end
end
disp(X,'x=')
d... |
42acaa319b9c9bc283ebaca67c74be273e2608b7 | 2ba48648eefadee113a7c2f5d608cab5209c3a8b | /Unit&Func Test/单元测试文档/CagOS单元测试结果/THREAD/SYSPRIO/sysPrio.tst | 369d8b81a5eddc4d9261b6b6b0793e279d8aea79 | [] | no_license | wangdong412/Consen-SIS | 879762175575d0a62f26ec1effeb46c3fd62e3e8 | bca3fac35c961c3558a3438bca55e6d20825da3a | refs/heads/master | 2020-07-11T05:17:18.814104 | 2019-08-27T09:41:41 | 2019-08-27T09:41:41 | 204,450,874 | 1 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 2,551 | tst | sysPrio.tst | -- VectorCAST 6.4d (02/29/16)
-- Test Case Script
--
-- Environment : THREAD1
-- Unit(s) Under Test: sysApi sysCfg sysCore sysMsg sysMutex sysPrio sysQueue sysSem sysTime
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT... |
3afa6c31cfc7683ffada40b3a1a925b29db646a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH13/EX13.14/ex13_14.sce | 77fe4cb76ac02bd0221b144eb53d83bd5e4a9496 | [] | 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 | 420 | sce | ex13_14.sce | // Exa 13.14
clc;
clear;
close;
// Given data
f = 1;// in kHz
f = f * 10^3;// in Hz
T = 1/f;// in s
T = T * 10^3;// in msec
T_d = T/2;// in msec
T_d = T_d * 10^-3;// in sec
C = 0.1;// in µF
C = C * 10^-6;// in F
R2 = T_d/(0.69*C);// in ohm
R2 = R2 * 10^-3;// in k ohm
disp(C*10^6,"The value of C in µF is ... |
a38f4a7acd8f9c99718333aef57cb5a9b4de043e | c565d26060d56f516d954d4b378b8699c31a71ef | /Scilab/virtual_old/2dof_controller/twodof.sci | b242b0b54a7c028eb8875a75d53696c660ef8974 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 769 | sci | twodof.sci | function [stop] = twodof(setpoint,fan)
global temp u_old_old u_old r_old_old r_old y_old_old y_old u_new heat r_new y_new
r_new = setpoint;
y_new = temp;
//u_new = (1/Rc(1))*(gamm*Tc(1)*r_new + gamm*Tc(2)*r_old + r_old_old*Tc(3)*gamm - Sc(1)*y_new -Sc(2)*y_old - Sc(3)*y_old_old - Rc(2)*u_old - Rc(... |
e88cd9fe86763ce362d9a4c92f962b88fa5b633b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1976/CH7/EX7.19/Ex7_19.sce | 6b6356888a37ea156f48bba3bd90f16df2739c31 | [] | 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,262 | sce | Ex7_19.sce |
//To determine the value of resistance to be connected in the motor circuit
//Page 411
clc;
clear;
N1=600; //Intial Speed
E1=[252,522,750,900,951]; // Voltages At 600 RPM
Ia=[20,40,60,80,100]; // Field Current
N2=400; //Changed Speed
E2=E1.*(N2/N1); // Voltages at 400 RPM
T=350;
Raw = 0.05; //Armature and ... |
edf7be4eec7e358ed79e4633a2b65fa964bbf1b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH1/EX1.11.2/Ch1Exa1_11_2.sci | 1cb564a33d3edf94dcf7d477750d5b479c3443ca | [] | 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,064 | sci | Ch1Exa1_11_2.sci | // Scilab code Exa 1.11.2 : To determine distances between the isotopic Ar ions in Bainbridge mass spectrograph : Page 41 (2011)
amu = 1.673e-027; // Atomic mass unit, kg
E = 5e+04; // Electric field, V/m
B1 = 0.4; // Magnetic field, tesla
v = E/B1; // Velocity of ions, m/s
B = 0.8; // Magnetic field, tesla
e = 1... |
14a08f6ddd0a93a721cbd087f79f5716c0b136fb | b6021eff22c8ea544160e5f1a9bc1b01fcac1248 | /delta_documentation/Scilab_resources/workSpaceValidation.sce | 785bcba7bf5e7451021b8a604f3591332b7bfca6 | [] | no_license | x-itg/ros_delta_robot | 190a1a8d9e8b35f7fc69bafb95b5b2a838ebfc5c | 5940f173e6c5ca05aa4bb1cbf7bc135b6618412b | refs/heads/master | 2023-08-28T16:04:59.792250 | 2018-02-16T15:33:34 | 2018-02-16T15:33:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,421 | sce | workSpaceValidation.sce | //Work space validation
close
// Aquest script validarà i dibuixarà l'espai de treball del Delta, seccionat en
// diferents alçades.
// Per tant, es requereix l'execució de l'script inverseDelta.sce. Totes les
// subrutines estan en aquest arxiu. Abans, però, cal definir els paràmetres de
// la màquina al mateix inve... |
16702b8fa6fd3adcced6c607ea2a9ccc397bb823 | 127061b879bebda7ce03f6910c80d0702ad1a713 | /Rotation/PIL_Euler_finder.sci | 8b6b0c06a0bee5fb89e86c56cbefbe330f8512c6 | [] | no_license | pipidog/PiLib-Scilab | 961df791bb59b9a16b3a32288f54316c6954f128 | 125ffa71b0752bfdcef922a0b898263e726db533 | refs/heads/master | 2021-01-18T20:30:43.364412 | 2017-08-17T00:58:50 | 2017-08-17T00:58:50 | 100,546,695 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,821 | sci | PIL_Euler_finder.sci | // **** Purpose ****
// find Euler angles between two coordinates
// **** Variables ****
// [basis_set_1],[basis_set_2]: 3x3, real
// <= the basis vectors in row
// [view]: 1x1, string, 'passive' or 'active'
// <= the view point of your rotation
// [conv_seq]: string, 'x,y,z' combination or 'axis'
// <= the convention ... |
46956738864c16b78fa585bd1406f09e4e32389e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH4/EX4.13/Ex4_13.sce | a061e3fc085f35d952800ecbeed6abe4e77c4732 | [] | 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 | 727 | sce | Ex4_13.sce | clc,clear
//Example 4.13
//To determine area of intersection of 2 circles
d=7 //distance between centres in cm
r1= 5 //radius of first circle in cm
r2= 4 //radius of second circle in cm
//use law of cosines
cos_alpha=(d^2+ r1^2 - r2^2 ) /(2*d*r1)
cos_beeta=(d^2+ r2^2 - r1^2 ) /(2*d*r2)
//from the geomet... |
71d44dd79905ff11becbed517c7d9c2114fe4abe | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH7/EX7.7/Ex7_7.sce | e4c49bfe37ca27e664ba1f29e9b12e698cf553a8 | [] | 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 | 570 | sce | Ex7_7.sce | clc
Jro=10^-9
disp("Jro = "+string(Jro)+" A/cm^2") //initializiation the value of recombination current density.
Jo=10^-12
disp("Jo = "+string(Jo)+" A/cm^2") //initializiation the value of reverse saturation current density.
Vbe=0.5
disp("Vbe = "+string(Vbe)+" V") //initializiation the value of base emitter volta... |
ab40453190a2667873f3a0d4d302343621cf20d5 | ddc2bfc3e1d587ceef787a861dc69a929132cb2e | /cp/concen.tst | 3be5a4674da4ea4334a33e94f5c1e0349f37f46d | [] | no_license | bigwood177/smcSource | d01f46418e571486fc76b03894e2ff084e95d36d | 35c7250973a93a6e30498dd87cb805762bc91528 | refs/heads/master | 2023-03-15T10:08:52.898056 | 2021-03-10T12:50:43 | 2021-03-10T12:50:43 | 283,564,655 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 311 | tst | concen.tst | ::Company, Customer,5721100
::h, c=consent.rtf
{\rtf1\ansi\ansicpg1252\deff0\deftab720{\fonttbl{\f0\fswiss MS Sans Serif;}{\f1\froman\fcharset2 Symbol;}{\f2\fmodern Courier New;}{\f3\fmodern\fprq1 Courier New;}}{\colortbl\red0\green0\blue0;}
\plain\f3\fs20\cf0
\par
\par
\par
\par
test test test
\par
|
89086f4444db8df89c00a842ec9e6880fac654c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH19/EX19.5/exm19_5.sce | f8b4e4fb906b8617cd9f56cd2eec4a6ca7db8553 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | exm19_5.sce | // page no 626
// example no A.5
// SUBTRACTION OF TWO NUMBERS
clc;
printf('Subtrahend= 32H \n');
printf('Minuend= 45H \n \n');
// finding 2's complement of subtrahend (32H);
m=hex2dec(['45']);
x=hex2dec(['32']);
y=bitcmp(x,8); // 1's compliment of 32H
z=y+1; // 2's compliment of 32H
s=m+z;
f=s-256; // to ... |
d479392f1bcd472080df540a29a73dc76266ec95 | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/share/octave/packages/interval-2.1.0/test/pow_rev.tst | c21b83a76acdb0eeac9f5ac6eccf46c34acca702 | [] | no_license | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 102,104 | tst | pow_rev.tst | ## DO NOT EDIT! Generated automatically from test/pow_rev.itl
## by the Interval Testing Framework for IEEE 1788.
## https://github.com/nehmeier/ITF1788/tree/92558f7e942665a78f2e883dbe7af52320100fba
##
## Copyright 2015-2016 Oliver Heimlich
##
## This program is free software; you can redistribute it and/or modify
##... |
d1e6ff38441174acb9ea88ae908bf00f8b82abe9 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/ofemdemo/gartfe.sce | 126ba8f15676e21e94277824cde5b74830823a15 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,367 | sce | gartfe.sce | // Demonstration of the finite element mesh building capabilities of the SDT
// for the case of the GARTEUR SM-AG-19 Testbed.
//
// See also demos d_truss, demo_fe, beambar, d_plate, d_ubeam
// doc fem, dfeplot
fegui();
FEelt=[];
FEnode = [1 0 0 0 0 0 0;2 0 0 0 0 0 .15;
3 0 0 0 0.4 1.0 .176;4 ... |
332a4612c944265064cc6dbdf6e7794ce34f012a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH5/EX5.18/ex_18.sce | 101c07cea1006524b03e080a4b5e8947ff7a6c6d | [] | 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 | 340 | sce | ex_18.sce | //Example 18 //speed
clc;
clear;
close;
sa=332;//m/s
pa=16;//density of air
ph=1;//density of hydrogen
vn=sa*sqrt(pa/ph);//m/s
t1=0;//degree celsius
t2=546;//degree celsius
t1k=0+273;//kelvin
t2k=t2+273;//kelvin
v2=vn*sqrt(t2k/t1k);//m/s
disp(vn,"speed of sound in first case is ,(m/s)=")
disp(v2,"speed of sound in seco... |
a1e0689b85ac2f2663f08e4140bec4f85127f0af | 449d555969bfd7befe906877abab098c6e63a0e8 | /2471/CH4/EX4.2/Ex4_2.sce | 9b91875f2613543cf8f7850271d50700a66ed35f | [] | 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 | 546 | sce | Ex4_2.sce | clear ;
clc;
// Example 4.2
printf('Example 4.2\n\n');
printf('Page No. 89\n\n');
// given
K1 = 45// Thermal Conductivity of mild steel in W/m-K
K2 = 0.040// Thermal Conductivity of insulaton in W/m-K
L1 = 5*10^-3;// thickness of mild steel in metre
L2 = 50*10^-3;// thickness of insulation in metre
T1 = 100... |
1c752cab60a2953bc082f1af6b08b46886aaba9d | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH8/EX8.3/Ex8_3.sce | f6544e512a39e60acf1d0b651ed9b46376ae2eb3 | [] | 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 | 98 | sce | Ex8_3.sce | //Ex:8.3
clc;
clear;
close;
V_out=10;
t=4;
SR=V_out/t;
printf("Slew rate = %f V/us",SR);
|
288141ae068ef284884e8457c47ca14e73682861 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH17/EX17.2/17_2.sce | b55ae09cafb98eadd28bdca03edb23243eb84a5d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 255 | sce | 17_2.sce | clc;
//page no 624
//prob no. 17.2
//Determination of group velo for waveguide in example 7.1
f=5*10^9;//freq.in Hz
fc=3.75*10^9;//cut-off freq from eg.7.1
c=3*10^8;//speed of light in m/s
vg=c*sqrt(1-(fc/f)^2);
disp('m/s',vg,'The group velo.is'); |
83a9e6aee007cd36efa844bfe929440f294a6c26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH10/EX10.22.a/data10_22.sci | e294e1cfacf4edb0a50d8d720ddc839719c3e379 | [] | 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 | 330 | sci | data10_22.sci |
//(Springs) Example 10.22
//Maximum torque to be provided by the spring M (N-mm)
M = 1200
//Maximum bending stress sigmab (N/mm2)
sigmab = 800
//Thickness of the steel strip t (mm)
t = 1.25
//Modulus of elasticity E (N/mm2)
E = 207000
//Number of rotations of the arbor when the bending stress decreases from sigmab to ... |
e5d01a11f919ad0dea56f82b7d5b0a7edfe6321d | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/zpkbpc2bpc/test_5.sce | 19bdf7a1021cf180ae2066c2a548bbfede4658ef | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | test_5.sce | // Test # 5 : When either Input Argument #4 or Input Argument #5 is of complex type
exec('./zpkbpc2bpc.sci',-1);
[z,p,k,n,d]=zpkbpc2bpc(3,0.2,7,[0.5*%i,0.6],[0.4,0.8]);
//!--error 10000
//Wo must be real and numeric and must contain only 2 elements
//at line 45 of function zpkbpc2bpc called by :
//[z,p,k,n,d]=zp... |
b5750598dbcbde2a36be449b4bd4902c3e6ae671 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1316/CH1/EX1.7/example1_7.sce | 18ce19f4f3108b262fdb6c93b81c5b0f5f12938a | [] | 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 | 423 | sce | example1_7.sce | //Chapter 1
//Example 1.7
//Page 25
clear;
clc;
T_min=20;
T_max=120;
i_min=4;
i_max=20;
T1=66;
I1=6.5;
m=(i_max-i_min)/(T_max-T_min);
I0=i_min-(T_min*m);
//Calculation of current represented by 66 degree celcius
printf("Here the value of current for 66 degree celcius = %.2f mA \n",(m*T1)+I0);
pri... |
77369eb4b7bb3126ca9c215d37a72e48a2072bcd | e806e966b06a53388fb300d89534354b222c2cad | /macros/getkerneltype.sci | fafe18d48b5d71ca422a51539950d6713120c8d6 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 140 | sci | getkerneltype.sci | function [out]=getkerneltype(InputArray,pointpx,pointpy)
out=opencv_getkerneltype(InputArray,pointpx,pointpy);
endfunction;
|
135b528fe0700899bc1e9d527a607798ea14304a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH8/EX8.10/eg8_10.sce | 1f0dbc990e281aeb639649faf00f7fe017cef3ad | [] | 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,187 | sce | eg8_10.sce | clear;
//clc();
function [zpu]=puz(z1pu,sb2,sb1,vb1,vb2)
zpu=z1pu*(sb2/sb1)*(vb1/vb2)^2;
endfunction
previousprot = funcprot(0)
funcprot(0)
z1pu=0.15;
sb2=20;
sb1=20;
vb1=11;
vb2=12.5;
zpu=puz(z1pu,sb2,sb1,vb1,vb2);
printf("\n the per unit reactance of the generator is: %.2f",zpu);
xg=zpu;
zpu=... |
396a23c274d2e35e7de1aed1d8fd5f0b8e429b4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH3/EX3.4/Ex3_4.sce | d88ca7335dc227f8edebc0c330ee16010263827c | [] | 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,679 | sce | Ex3_4.sce | clc
un1=1000
disp("un1 = "+string(un1)+"cm^2(Vs)^-1") //initializing value of mobility of electron of silicon
e = 1.6*10^-19
disp("e= "+string(e)+"C")//initializing value of charge of electron
un2 = 400
disp("un2 = "+string(un2)+"cm^2(Vs)^-1") //initializing value of mobility of electron of GaAs
up1 = 350
disp(... |
214918d5c3f0322941a17f3b840a0cb8d0d6b7bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /293/CH15/EX15.5/eg15_5.sce | 151ccb4cc82fedc9ef1b8c343e6d6a946d7e376d | [] | 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 | 265 | sce | eg15_5.sce | //b
mu0 = 4*%pi*10^-7 ;
//plunger magnet dimensions (in meters)
x = 0.025;
h = 0.05;
a = 0.025;
g = 0.00125;
mmf = 1414; //(in At)
F = %pi*a*mu0*(mmf^2)*(h^2)*(1/(x + h)^2)/g; //magnitude of the force
disp(F, "magnitude of the force (in Newtons) = ") |
1c0d3520623040b1599715472a65aa63e48816db | 39c5c468df5e2bde0147a30cf092fc8da3e7ed3e | /UFRGS/calcNumerico/area1/m3_10.sce | 59d82e944b74b09bf198725d88135e7c2a03516d | [] | no_license | andredxc/Files | 9dffc9fe5f7e923b83035d794dfa15c930cdb898 | e32309b9ab548b829b04be66c2776cf9c9c6656e | refs/heads/master | 2021-06-03T10:44:01.606242 | 2020-09-21T15:39:48 | 2020-09-21T15:39:48 | 107,410,076 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 212 | sce | m3_10.sce | // A resposta no moodle tem uma iteracao a menos, ainda nao sei por que
a = 23.4
b = 27.8
count = 0
dif = b - a
while (dif > 0.0001) then
dif = dif/2
count = count + 1
disp(dif)
end
disp(count)
|
8e0ef1c6ec2b227d024c9854e5b93889c81257c1 | 2ba48648eefadee113a7c2f5d608cab5209c3a8b | /Unit&Func Test/单元测试文档/CagOS单元测试结果/THREAD/SysTick/sysTick.tst | 3c224df368a22eceb841db364c6ef3112d0e3b66 | [] | no_license | wangdong412/Consen-SIS | 879762175575d0a62f26ec1effeb46c3fd62e3e8 | bca3fac35c961c3558a3438bca55e6d20825da3a | refs/heads/master | 2020-07-11T05:17:18.814104 | 2019-08-27T09:41:41 | 2019-08-27T09:41:41 | 204,450,874 | 1 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 32,428 | tst | sysTick.tst | -- VectorCAST 6.4d (02/29/16)
-- Test Case Script
--
-- Environment : THREAD1
-- Unit(s) Under Test: sysApi sysCfg sysCore sysMsg sysMutex sysPrio sysQueue sysSem sysStat sysTask sysTick sysTime
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCR... |
2d4a3630f96627ba9733cc26ade108b8c97c99da | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH1/EX1.25/Ex1_25.sce | 1e0a8e0907c51e9fd30d8767e4c87ea09fefacde | [] | 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 | 171 | sce | Ex1_25.sce | clc
//
//
//
//Variable declaration
D3=10**-2
lambdaa=5890*10**-10
//Calculations
R=(D3*sqrt(3))*10**-2/(24*lambdaa)
//Result
printf("\n The Radius is %0.2f m",R)
|
b6841c186b7ee7ca4f5b0b19108623a7db0518f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH8/EX8.2/8_2.sce | 78b219dfffb0b6b5f7bf45be2c90cdefec59f170 | [] | 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 | 451 | sce | 8_2.sce | //Chapter 8, Problem 2
clc
r1=100e3 //resistance in ohm
r2=10e3 //resistance in ohm
c1=10e-9 //capacitance in farad
c2=100e-9 //capacitance in farad
//calculation
w=sqrt(1/(c1*c2*r1*r2))
f=w/(2*%pi)
g... |
7e3121dd08fad9a154039abba176a1c6bef440d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH4/EX4.7/4_7.sce | 33f1b235f739260c7563b88702686918fe6b20a1 | [] | 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 | 261 | sce | 4_7.sce | q = 1 ; // Uniform load intensity in k/ft
M0 = 12 ; // Couple in k-ft
Rb = 5.25 ; // Reaction at B in k
Rc = 1.25 ; // Reaction at C in k
b = 4 ; // Length of section AB in ft
Mb = -(q*(b^2))/2 ; // Moment acting at B
disp("k-ft",Mb,"Bending moment at B") |
7d74acf4301ca58a83d896a8cd832253c6509f10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH7/EX7.6/Exa_7_6.sce | aa3b57c4b2181e4e3e72f04513522b1a41c77075 | [] | 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 | 562 | sce | Exa_7_6.sce | //signal reconstruction from samples
//(a)By step interpolation method
x=[-1 2 3 2];
t=2.5;
ts=1;
t1=ceil(t);
t2=floor(t);
x1t=x(t2)
//(b)By linear interpolation method
x2t=(x(t1)+x(t2))/2
//(c)By sinc interpolation method
x3t=0;x1=[1 2 3 4];
for k=1:4
x3t=x3t+(x1(k)*sinc(%pi*(t-(k-1))));
end
x3t//si... |
5b00ad031dcdce44485df6f901263c3edceff713 | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/inout_runme.sci | 6c25a6deb721e16a1075b2874131ebce43f72db6 | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 307 | sci | inout_runme.sci | exec("swigtest.start", -1);
a = AddOne1(10);
if a <> 11 then swigtesterror(); end
[a, b, c] = AddOne3(1, 2, 3);
if a <> 2 then swigtesterror(); end
if b <> 3 then swigtesterror(); end
if c <> 4 then swigtesterror(); end
a = AddOne1r(20);
if a <> 21 then swigtesterror(); end
exec("swigtest.quit", -1);
|
7b316ec2a7ae825a8294e5806c8f2cefe87aa4eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH34/EX34.32/Ex34_32.sce | ea90c6ea8f53f7241de139e886d540ce55f66176 | [] | 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,336 | sce | Ex34_32.sce | // Example 34_32
clc;funcprot(0);
//Given data
P=200;// MW
Fc=24*10^6;// Fixed cost Rs./year
Cf=1800;// Cost of fuel in Rs./ton
CV=20000;// Calorific value in kJ/kg
Oe=280;// Other expanses in Rs./kW
Q_1=18000;// Plant heat rate at 100% capacity factor in kJ/kWh
F_c1=100/100;// Capacity factor
Q_2=10500;// Pl... |
056a00a976679328342190689e0d1e3eec998d64 | 18cad26774280601c8ca41624d7e9886a1925f96 | /onda/onda.sce | 378b695bb8dc8c221278dac1e9e3d3055fe4add1 | [
"MIT"
] | permissive | omar-mendoza/diferencias_finitas | b6302249098dd8a84edc7b87ee896d672791c98e | 6b293356c61d880ba0753b5924c61dcf18e5d8db | refs/heads/master | 2021-01-20T03:22:06.836873 | 2017-05-03T22:49:35 | 2017-05-03T22:49:35 | 89,530,697 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,952 | sce | onda.sce | // Ejemplo para la ecuación de onda en 1D
// u_tt - 4 u_xx = 0
// x in [0,1]
// u(0,t) = u(1,t) = 0
// u(x,0) = sen(%pi * x)
// u_t(x,0) = 0
// Solución analítica
// u(x,t) = sen(%pi * x) * cos(2* %pi * t)
// Dominio
a_ = -1
b_ = 1
// Particion en x
m = 1001; // número de nodos
h = (b_ - a_)/(m-1)
dt = 0.001 // salto... |
885741d09a94ba85d526f5b95132ccc8c6a69bfa | 38d53ea42d3bdc149a4436cb16f0ed6593a2a384 | /1 задание.sce | a25a1a96e4f35e371208f13a27b4b8b66cd3c765 | [] | no_license | AlexsandrKomarov/Kursovoyq | bf00f957f4c76974b2c7675d70431c6fed01151b | a3e6631ebc27c85a271a55a504f5858250ca430b | refs/heads/master | 2020-04-18T18:51:46.454252 | 2019-01-26T15:14:26 | 2019-01-26T15:14:26 | 167,696,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 298 | sce | 1 задание.sce | //Решение уравнения f (x) = g(x) {В h(x) = f (x) - g(x) х равен (Нахождение области определения функции )[х не равен]}:
deff('[y]=h(x)','y1 = (sqrt(3))*(sin(x))+(cos(x)), y2 = cos((2*x) + ((%pi)/3)) - 1, y=y1-y2')
fsolve(0,h)
|
3834ff9f15852b17789cce86c3eaa225b12cf3cf | 61129043aed87983b640a33b1c260316043fa570 | /drawing/primitives/circle_2d.sci | e99423ac3285ade89289c9f0a5a15987d6605512 | [] | no_license | dgerod/gfx4scilab | 7643dbb42fcbea772af12017dccf484544da6f79 | 4aafc59f241a9383de65e4fb25eefef80660bf64 | refs/heads/master | 2021-01-19T03:35:08.368764 | 2017-04-08T06:05:33 | 2017-04-08T06:05:33 | 61,438,380 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 718 | sci | circle_2d.sci | // =============================================================================
// gfx4scilab - drawing
// dgerod@xyz-lab.org.es
// =============================================================================
function [Circ2d] = dw_Circ2d_create(Cx, Cy, Radius)
c = [Cx,Cy]';
Circ2d = struct("c", c... |
dfe061ecba6824dc7743f736a4a5aa8d198bd38d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH1/EX1.38/ex1_38.sce | 9a5bc7ca6dd4a94f629c09cb3e106476d3fa00f0 | [] | 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 | 423 | sce | ex1_38.sce | // Exa 1.38
clc;
clear;
close;
format('v',6)
// Given data
R1 = 1;// in k ohm
R1 = R1 * 10^3;// in ohm
R2 = 2;// in k ohm
R2 = R2 * 10^3;// in ohm
V = 10;// in V
V1 = 0.7;// in V
// V * (I_D*R1) - (R2*I_D) - V1 = 0;
I_D = (V-V1)/(R1+R2);// in A
I_D = I_D * 10^3;// in mA
disp(I_D,"The value of I_D in mA ... |
cd36f6b530f5637ea6451877d69f28facfb95aef | 449d555969bfd7befe906877abab098c6e63a0e8 | /3836/CH13/EX13.2/Ex13_2.sce | da77789efa892088ad18f6240743aee1b164aa4f | [] | 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 | 392 | sce | Ex13_2.sce | clear
//Initialization
l=25*10**-3 //length in meter
b=10*10**-3 //breadth in meter
d=7*10**-6 //distance between plates in meter
e=100 //dielectric constant of material
e0=8.85*10**-12 //dielectric constant of air
//Calculation
c=(e0*e*l*b)*d**-1 ... |
6f944b2e208d7e05a3a11f5bbe4ef2aa8849d1dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH1/EX1.27.a/27_a.sce | 1ad211f4e87e44a9e475f0296ebff5e3806c9d4b | [] | 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 | 27_a.sce | //gray code to binary conversion//
//Example 27.a//
//gray code to binary//
clc
//clears the console//
clear
//clears all existing variables//
a=101110
for i=1:6
x(i)=modulo(a,10)
a=a/10
a=floor(a)
end
y(6)=x(6)
k=5
while(k>0)
if (bitand(y(k+1),x(k))==1) then
a=bitand(y(k+1),x(k))
... |
69a0a53b422cac39e7e061af3f47b86d67cbe69f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH9/EX9.5/9_5.sce | b7a05a065df3c0d3d97dcfabf07846f17a3afa53 | [] | 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 | 9_5.sce | //Example 9.5
//Difference Equation
//Page no. 291
clc;clear;close;
y(1)=1.5;y(2)=3;
n=poly(0,'n')
x=poly(0,'x')
f=x^2-2*x+1;
disp(f)
x=roots(f)
disp(x,"x = ")
A=[1,1;1,2];
B=[y(1);y(2)]
C=inv(A)*B
for i=1:2
printf('\nc(%i) = %g\n',i,C(i))
end
yn=C(1)+C(2)*n
disp(yn,"yn = ") |
2223949d49953c90b62c725170945636a218d6e0 | 3befbd90d9241348c61727665559b5192e187f2e | /Reroll.Web/Reroll.Web/ClientApp/src/models/Template.tst | 51cda33c1961c97aee1265650e0112739232b0b0 | [] | no_license | e-borysiuk/Reroll | d208c2be983276353decbcb71e7ea2ce2d29acc9 | d14eb8e907329d696881c84841cfc16f21630820 | refs/heads/master | 2023-03-07T10:07:48.597660 | 2019-11-14T22:45:52 | 2019-11-14T22:45:52 | 221,798,002 | 0 | 0 | null | 2023-03-04T00:59:39 | 2019-11-14T22:29:04 | C# | UTF-8 | Scilab | false | false | 1,966 | tst | Template.tst | ${
// Enable extension methods by adding using Typewriter.Extensions.*
using Typewriter.Extensions.Types;
using System.Text.RegularExpressions;
using System.Diagnostics;
Template(Settings settings)
{
settings.IncludeProject("Reroll.Models");
}
// Custom extension methods can be... |
fde3ac901cb9eed8a5ef08d5dc4f4a2088d932c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1538/CH2/EX2.10/Ex2_10.sce | 75b45ea828e71b548dd89a802b82d73486ace6a9 | [] | 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 | 222 | sce | Ex2_10.sce | //example-2.10
//page no- 57
//given
//ionization potential of hydrogen
E1=13.6 //eV
//when
n=3
E3=-E1/n^2 //eV
//when
n=5
E5=-E1/n^2 //eV
printf ("energy of 3rd and 5th orbits are %f eV and %f eV",E3,E5)
|
8c4c6ced28426dd7fde3a1b8fc521c04f207d9f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH7/EX7.1/Ch07Ex1.sce | 94fd1d57ba111fefad713b0e05d73ec9563a11ea | [] | 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 | 585 | sce | Ch07Ex1.sce | // Scilab Code Ex 7.1: Page-411 (2011)
clc;clear;
e = 1.6e-019;....// Charge on an electron, eV
h = 6.62e-034;....// Planck's constant, J-s
c = 3e+008;....// Speed of light in vacuum, m/s
n = 2.8e+019;....// Number of photons in laser pulse
lambda = 7e-007;....// Wavelength of the radiation emited by the laser, ... |
48b69ba2f066b0a3f69681212e64eb60e8b3ece8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH12/EX12.3/12_3.sce | c08607c7e400ad79b207818d346230d0f36be659 | [] | 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 | 509 | sce | 12_3.sce | clc
//Initialization of variables
P=100 //psia
//calculations
disp("From mollier diagram,")
h1=1357 //500 psia, 700F
h2=1194 //100 psia
h3=935//2 psia
h4=93.99 //sat liq at 2 psia
vf=0.01613
vf2=0.01774
P5=100 //psia
P4=2 //psia
dh4=vf*(P5-P4)*144/778
h5=h4+dh4
h6=298.4
P7=500 //psia
P6=100 //psia
dh... |
ad6f39f8245fc8853a5c7176a399e60ba7168527 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH7/EX7.9/Ex7_9.sce | a4b40d2e59a239ee5e3bc21d6ab9ccae4972d770 | [] | 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 | Ex7_9.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 7 Field Effect Transistors Pg no. 237
clear;
clc;
//Given Data
gm=5D-3;//transconductance in Siemens
RD=1D3;//drain resistance in ohms
rd=7D3;//AC drain resistance in ohms
//Solution
GV=gm*RD*rd/(RD+rd);//voltage gain
printf("GV = %.3f",GV);
|
0a9c9e4426838acfde5c4d7e36da27ab5e5ed272 | 59b742e36fbe9d77cb51ec949c6625f665133d2b | /Resultados/results_LocGlo_13/results/13/gvar-2/result2s0.tst | 5f97cbe8ecc86b65bdea09924fb54d9a51fac62a | [] | no_license | Tiburtzio/TFG | 3132fd045de3a0e911e2c9e23e9c46e1075a3274 | 864ce4dd00b7f8fe90eafa65b11d799c5907177e | refs/heads/master | 2023-01-03T12:44:56.269655 | 2020-10-24T18:37:02 | 2020-10-24T18:37:02 | 275,638,403 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,574 | tst | result2s0.tst | @relation phoneme
@attribute Aa real[-1.7,4.107]
@attribute Ao real[-1.327,4.378]
@attribute Dcl real[-1.823,3.199]
@attribute Iy real[-1.581,2.826]
@attribute Sh real[-1.284,2.719]
@attribute Class{0,1}
@inputs Aa,Ao,Dcl,Iy,Sh
@outputs Class
@data
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
1 1
1 0
0 0
1 0
1 0
0 0
0 0
0 0
0 ... |
936a20995adde061de2d7de0eec481859dfc49ce | 0764595c2d11c42afddd3351da341f9e9c4db651 | /codigos_aula/baskara.sci | 7d43c852e76b8aad4492be7e41d25650459f9478 | [] | no_license | ThiagosLima/metodos-numericos | e3933c43362c6f047714980841f7c64f1a345bb0 | df21508b72b94e64a424e6b50564e948019a9eab | refs/heads/main | 2022-12-30T10:06:57.560852 | 2020-10-05T00:41:52 | 2020-10-05T00:41:52 | 301,257,290 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 194 | sci | baskara.sci | function [r1,r2]=baskara(ps);
a = coeff(ps); //a(1)+a(2)*x+a(3)*x^2= 0
delta=a(2)^2-4*a(3)*a(1);
r1=(-a(2) + sqrt(delta))/(2*a(3))
r2=(-a(2) - sqrt(delta))/(2*a(3))
endfunction
|
d373dedf7119ce25ae4636a52d6fba5fd15c156f | 9ad712cefe61d85b01d2448a5b74c34296ee7e5f | /LAB.sce | a89a7b22cc7df31dbd9b9628ea008408613ddccf | [] | no_license | CoE-Warintorn/Control | a50f7cf26d0e80e3b90ea9dc3cac097b67f94d49 | 9572040e0e41d8d355f51032cd2ac98b1d04db64 | refs/heads/master | 2020-03-16T06:56:11.148006 | 2018-05-08T07:02:35 | 2018-05-08T07:02:35 | 132,565,771 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | LAB.sce | s = poly(0, 's');
t = 0:0.01:10;
Gs = 20/(s * (s+3) * (s+5));
Gs1 = syslin('c', Gs);
K = 0.7;
Ts = (K * Gs1)/(1 + K * Gs1);
theta = -log(0.05)/sqrt((%pi)^2 + (log(0.05))^2)
evans(Gs)
sgrid(theta,1)
//plot(t, csim('step',t,Ts))
xgrid()
|
2d8f5cc89ba0d7ba8ff6b00922c7bdcbcca9c125 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH2/EX2.8/Ex2_8.sce | 93e116e84f1ba4a4cebdab00c8f9ec4d6d434bf0 | [] | 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 | 228 | sce | Ex2_8.sce | //pagenumber 104 example 8
clear
p=2;//watts
voltaf=900*10^-3;//volt
i1=p/voltaf;
r1=voltaf/i1;
disp("maximum forward current = "+string(i1)+"ampere");
disp("forward diode resistance = "+string(r1)+"ohm");
|
5e9498bd4e2e5ac66522121802b1e4b58031348f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3866/CH5/EX5.6/Ex5_6.sce | b9e0bd559bcd944a02e24b498040fd239ef54ea7 | [] | 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 | 148 | sce | Ex5_6.sce | clc; clear; close;
C=50*(10^(-15));//in farad
Vdd=1.8;//in volts
f=250*10^(6);//in hertz
P=C*Vdd*Vdd*f;
disp(P,'dynamic power(in watts)=');
|
4f5a0a9a406e61539f2bfdc5ea1ef6afaeddc1fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH3/EX3.16/Ex3_16.sce | 0528e67e9d51038daff7f612362eae3db2c97c5f | [] | 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 | 202 | sce | Ex3_16.sce | //Example 3.16:
clc;
clear;
close;
//given data :
Ib=68*10^-6;// in A
Ie=30*10^-3;// in A
Beta=440;// constant
alfa=Beta/(1+Beta);
Ic=alfa*Ie*10^3;
format('v',6)
disp(Ic,"Collector current,Ic(mA) = ")
|
b6d41390ac3d0de2e02ae1101de31e1d4dd777df | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH1/EX1.22/Ex1_22.sce | f2641f52604ce6c149001f799f7aadf2d892475e | [] | 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 | 216 | sce | Ex1_22.sce | //Chapter 1,Example1.26,Pg1.22
clc;
disp("Refer to the figure shown in the question")
I1=2/5
I2=4/8
printf("\n I1= %.1f A \n",I1)
printf("\n I2=%.1f A \n",I2)
Vxy=3*I2-3*I1-4
printf("\n Vxy=%.1f V",Vxy)
|
2a683cbccd071d9578bfcc651e4e8c347cfa0722 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH2/EX2.3/EX2_3.sce | 0d63b3c3bf53828a035377f33dbc31ccbae57038 | [] | 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 | 666 | sce | EX2_3.sce | //Chapter 2,Ex 2.3,Pg 2.7
function [resistance_1] = startodelta(R)
resistance_1= (R1*R + R2*R + R1*R2)/R
endfunction
clc;
disp("Refer to the diagram shown in the figure")
R1=6 //One of the Resistances of the star network to be converted into delta
R2=4 //One of the Resistances of the star network to be conve... |
ff19e0cf75ed1732884fbbde7dc6e35297833972 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH2/EX2.28/ex2_28.sci | c4a9bb2e0512eb6263125c64fdcee12c19ad35bd | [] | 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 | 306 | sci | ex2_28.sci | //Chapter 2,Example 2.28,Pg 2.33
clc;
disp("Refer to diagram shown in the diagram")
A=[6 -5 0;-10 17 -5;0 0 1]
B=[-20;0;20]
V=A\B
printf("\n Va=%.2f V \n",V(1))
printf("\n Vb=%.2f V \n",V(2))
printf("\n Vc=%.0f V \n",V(3))
printf("\n V1=%.2f V \n",V(1)-V(2))
printf("\n V2=%.2f V \n",V(2)-V(3))
|
b42a0f486e40e32cff80109c4544068b3d0edcc9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH1/EX1.7/Ex1_7.sce | 99e2413bfdc1a94febd3e1071b39aa77e3def0f0 | [] | 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 | 286 | sce | Ex1_7.sce | clc
//to calculate velocity of the circular lamina
c=3*10^8 //light speed (m/s)
//R'=R/2 (radius)
//R'=R sqrt(1-(v/c)^2)
v=(sqrt(3)/2)*c
disp("velocity of the circular lamina relative to frame s is v="+string(v)+"m/s")
//answer is given in terms of c in the textbook
|
34072292b3399838e85eb212a409bd32f69e2f55 | 676204b77e38141425e6b08c3fad4858ef2da05b | /Daub4.sce | f26fea822a4194714338d8df92d04706703f3a09 | [] | no_license | ratuchenei/WaveletDaubechies | 81b90c3a77fb11ccbd028d96f9d1cb41bb975bcb | 40173c599e9fee257b35942b642f92e021983ec5 | refs/heads/master | 2023-02-14T18:21:00.504557 | 2021-01-07T18:30:43 | 2021-01-07T18:30:43 | 327,692,319 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,286 | sce | Daub4.sce | //-- Transformada Wavelet de Daubechies de 4o. nível
clear
clc
//-- Setup do sinal original ---------------------------------------------------
f = [4 6 10 12 8 6 5 5];
//-- Inicialização de variáveis ------------------------------------------------
N = length(f);
V1 = zeros(N,1);
W1 = zeros(N,1);
a = zeros(1... |
42fd23b7f3364e54c8fa8c20e376a0066b118535 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3701/CH7/EX7.9/Ex7_9.sce | af9eb0ca63ee82c86008387c65d0cd673f94e99e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | Ex7_9.sce | ////Given
a=10.0**-14 //m
m=1.6*10**-27 //mass of a nucleon in kg
h=1.054*10**-34 //Js
//Calculation
//
Emin=((3*(%pi**2)*(h**2))/(2.0*m*(a**2)))/(1.6*10**-19)
//Result
printf("\n minimum energy of a nucleon is %0.1f Mev",Emin*10**-6... |
ba2f41be32b4797fc1077721dfcfbb3a4562b41e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH5/EX5.6.10/Ex5_10.sce | 003adc9cce7c5a1108067bbd4521ff9f912eab0f | [] | 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 | 954 | sce | Ex5_10.sce | //Example 10// Ch 5
clc;
clear;
close;
// given data
m1=0.92;//smoothness coefficient
m2=0.95;//weather coefficient
Deq=600;//mean geometric distance b/w conductors in cm
V = 275;//line operating at voltage V in kV
p=75;//pressure in cm Hg
t = 35;//in degree C
r=1;//radius of conductors in cm
delta=3.92*p/(... |
86202a5897309119155e54110ec99124bbfa0601 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH7/EX7.9.a/data7_9.sci | 2820dafc48e77013d9a4f304a30aaccd2969ff6e | [] | 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 | 343 | sci | data7_9.sci |
//(Threaded Joints)Example 7.9
//Refer Fig.7.24 on page 240
//Number of bolts N
N = 4
//Load supported by the bracket P (kN)
P = 25
//Distance of bolt1 from C l1 (mm)
l1 = 50
//Distance of bolt2 from C l2 (mm)
l2 = 200
//Eccentricity value l (mm)
l = 400
//Permissible tensile stress in the bolt sigmaMax (... |
efa41b6e9288f86d7489bc6ce52746bd3235da45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH9/EX9.1.e/E9_1.sce | c5aaec11e3987e4f6b753687d4e55b679e0de1c1 | [] | 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 | E9_1.sce | clc
//Initialization of variables
lw=34.96 //mS m^2 /mol
la=4.09 //mS m^2 /mol
C=0.010 //M
K=1.65 //mS m^2 /mol
//calculations
lmd=lw+la
alpha=K/lmd
Ka=C*alpha^2
pKa=-log10(Ka)
//results
printf("Acidity constant of the acid = %.2f ",pKa)
|
a581a1438a69c6b6894e21f52dabd41c8c43c438 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH5/EX5.5/5_5.sce | dedeac2b1d303f2b1812a8b25ec10197900d26df | [] | 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 | 5_5.sce | clc,clear
printf('Example 5.5\n\n')
V_OC_line=230,I_asc=12.5 // when I_f=0.38
V_OC_ph=V_OC_line/sqrt(3)
Z_s=V_OC_ph/I_asc
R_a=1.8/2 //1.8 is between terminals..0.9 is per phase
X_s=sqrt(Z_s^2-R_a^2)
I_a=10// when regulation is needed
V_L=230
V_ph=V_L/sqrt(3)
//Part(i)
phi1=acos(0.8) //and lagging
... |
7a26a79805066454228a595ea650dff590ce1650 | 9948e5af5e885117135b1a9ef1e6988dba9a8643 | /test/line1.prev.tst | 5a1471d6d396647acff1a7b225ace041774dbe29 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/xtrans | eabfbdeee4d0024dee72174566c5c9de003d94d8 | 95dce33e3241ca46ad95df7b86afe2297106f80d | refs/heads/master | 2022-02-11T06:09:40.393075 | 2022-01-28T14:37:52 | 2022-01-28T14:37:52 | 16,539,509 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 190 | tst | line1.prev.tst | <?xml version="1.0" encoding="UTF-8"?>
<line><table group="1">
<tr><td>build.name=xtrans</td></tr>
<tr><td>build.number=106</td></tr>
<tr><td>build.jdk=for JDK 1.6</td></tr>
</table></line>
|
5d030cfb1ba2e3c68662379f4c8cd5c9eabd7a58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH1/EX1.1/Example1_1.sce | 1e04514695a9f345ea808d871d7d153eda856848 | [] | 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 | 238 | sce | Example1_1.sce | //Example 1.1
clc
format(5)
disp("Assume the drop across the LED as 2 V.")
disp("Therefore, VD = 2 V")
disp("From fig.1.11, RS = 2.2 k-ohm and VS = 15 V")
is=(15-2)/(2.2) // in mA
disp(is,"Therefore, IS(mA) = VS-VD / RS =") |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.